Yes, I could try this. But this wouldn't explain why some packets are getting relayed and others aren't. Anyway, I'll try this a bit later today and update.
Thanks, Sunjeet On 10-12-08 11:19 AM, Roman Chertov wrote: > On Tue, 07 Dec 2010 19:23:34 -0800 Sunjeet Singh<[email protected]> wrote > >> Great! That worked. >> >> Now, I stumbled upon another problem- although I am forwarding all >> packets to this other MAC address, only some of them are reaching there >> (I am observing using tcpdump). I wonder why this might be. Initially, I >> was firing packets at full speed using tcpreplay so I thought that this >> software load balancer might be getting overwhelmed, but even after >> decreasing speed to 10 packets per second I observed the same behavior. >> Please advise on how to diagnose. > You can try to make sure that the Ethernet header has the MAC srd/dst for the > link you are using. If you send a packet from eth0, to your other processing > node, make sure that the frame has the src addr of eth0, and the dst addr of > the > destination node. > > Roman > > > >> As you can see, I really don't know much about Click. I am using this >> load balancer as a part of a bigger project described at >> http://mailman.icsi.berkeley.edu/pipermail/bro/2010-December/004715.html >> and am really hoping to speed through this part. So far, I am very >> impressed with the support I have received here. >> >> Thank you, >> Sunjeet Singh >> >> >> On 10-12-07 7:03 PM, Roman Chertov wrote: >>> On 12/07/2010 06:11 PM, Sunjeet Singh wrote: >>>> FromDevice(eth4, PROMISC true) -> Print -> >>>> StoreEtherAddress(is:an:on:ym:iz:ed, OFFSET dst) -> ToDevice(eth0, BURST >>>> 8); >>> You need a Queue in there. >>> >>> FromDevice(eth4, PROMISC true) -> >>> Print -> >>> StoreEtherAddress(is:an:on:ym:iz:ed, OFFSET dst) -> >>> Queue -> >>> ToDevice(eth0, BURST 8); >>> >>> >>>> - Should accept packet from eth4, print on terminal, modify MAC address >>>> of destination, send out through eth0? >>>> - Gives me: >>>> â push output 0 connected to â pull input 0 >>>> Router could not be initialized! >>>> Where am I wrong? >>>> >>>> Thanks, >>>> Sunjeet > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
