[Click] etherswitch

sendoa vaz sendoav at gmail.com
Tue Jul 22 07:34:06 EDT 2008


Hello everybody,

I am using the etherswitch element to build a switch and I've read that it
can work alone. I've built a small configuration script but something's
working bad because when I use wireshark to detect if  any packet has passed
through the tap device any packet is detected. Anyone has any suggestion?

Here is the small code:

tap1 :: KernelTap(2.0.0.1/8, ETHER 1:1:1:1:1:1);
switch  :: EtherSwitch();

FromDevice(cubert-e0) -> [0]switch[0]
->tap1->q::Queue->ToDevice(fry-e0)->Print(tap-ok)->Discard;


Where cubert-e0 and fry-e0 are another devices formed by vnuml.

Thanks in advance

Sendoa


More information about the click mailing list