[Bridge] 4 ports bridge problem
srinivas.aji at gmail.com
Mon Sep 22 10:52:44 PDT 2008
>> Every one is connected to a PC.
>> eth0 =>192.168.1.11
>> eth1 => 192.168.1.22
>> eth2 => 192.168.1.33
>> eth3 => 192.168.1.44
> You have layer 2 and 3 confused. Are you sure you don't intend
> to route (layer 3) rather than bridging.
The IP addresses above seem to be the addresses of the connected PCs,
not what is assigned to the interfaces. The commands mentioned later
to set up the bridge seem okay.
>> but my problem is that when I used the PC(which IP is 192.168.1.11/24) to ping other PCs,
>> the ping reply time from 192.168.1.22 was about 1000ms;
>> the ping reply time from 192.168.1.33 was about 0.2ms;
>> the ping reply time form 192.168.1.44 was about 300ms;
>> Why? and how to configure the 4 ethernet-ports glacier board to be a bridge or switch correctly? thanks a lot.
The bridge seems configured okay. (You have not mentioned "ifconfig
br0 up", but you must have done that if the bridge is working at all.)
The delay could be due to many factors. Could be in the interfaces or
their drivers, or could even be delay on the part of the host
responding to ping. You could diagnose this further by taking packet
captures (with tcpdump or wireshark) while you do the pings, both on
the bridge and on the source and destination of the ping, and looking
at the packet times in these.
More information about the Bridge