[Click] network load-balancer troubleshooting

Sunjeet Singh sstattla at gmail.com
Tue Dec 7 22:23:34 EST 2010


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.

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



More information about the click mailing list