[Click] This config was working on 1.8 but now ...

Hamid Farhadi qq119512 at iii.u-tokyo.ac.jp
Thu Aug 4 02:31:37 EDT 2011


Dear all,

this config is working on click 1.8, but now on click 2.0 I can not 
receive packet from (tap0 ->):
this is the summary: eth0 -> tap0 -> switch -> tap1 -> eth0.


AddressInfo(tap0_MAC 10:10:10:10:10:10, tap1_MAC 20:20:20:20:20:20, eth0 
00:0c:29:35:e0:cb, redirector_eth1 00:0c:29:b7:88:88);

tap0 :: KernelTap(10.0.0.1/8, ETHER tap0_MAC);
tap1 :: KernelTap(2.0.0.1/8, ETHER tap1_MAC);

tap0_q:: Queue;
tap1_q:: Queue -> ToDevice(tap1);

FromDevice(eth0) -> cl ::  Classifier(14/44,-);

cl[0]
     -> Strip(15)
     -> EtherEncap(0x0800, eth0 , tap0_MAC )
     -> tap0_q
     -> ToDevice(tap0);

cl[1] -> Discard;

   switch :: EtherSwitch(TIMEOUT 0);

   tap0 -> t :: Tee -> [0] switch [0] -> tap1_q;
   t[1] -> [1] switch [1] -> Discard;

tap1  ->  Queue -> Strip(13)
         -> StoreData(0,3)
         -> EtherEncap(0x0800, eth0 , redirector_eth1 )
         ->ToDevice(eth0);


am I mistaking somewhere else please?
Thank you in advance
hamid




More information about the click mailing list