[Bridge] linux brigde query

ratheesh kannoth ratheesh.ksz at gmail.com
Mon May 4 10:04:17 UTC 2015


             br0
              |
--------------------------------------------
 |                   |                   |
eth0              eth1             eth2
 |                                        |
Machine A                       machine B

suppose there is a UDP bidirectional traffic between machine A and B.
Then there will be bridge port
info in "brctl showmacs br0"  command output. After some time, UDP
traffic becomes only uni directional( say
only from machine A to B , there is no traffic from B to A ). Then
before bridge ages out , B got removed ; but link eth2
is not going down ( no link down message at eth2, it can be achieved
if  eth2 to a harware switch , and machine
was connected to one port of that switch ). Then traffic will flood or
will black hole till ageing timer expire.


As from code , i can see that br_handle_frame_finish() will call
br_forward() as there is an fdb entry. right ?  so traffic will black
hole ?!!

Thanks,
Ratheesh


More information about the Bridge mailing list