[Bridge] linux bridge problem

Mark Smith lk-netdev at lk-netdev.nosense.org
Sat Jan 23 14:53:33 PST 2010

On Sat, 23 Jan 2010 16:41:40 +0200
Metuki Sabhe <sabhe.metuki at gmail.com> wrote:

> CC'ing netdev too:
>  Hello,
>  When I add interfaces to the bridge *after* I have "tcpdump -n -i br0"
>  running on the bridge,
>  my tcpdump don't see any communication. If I kill tcpdump and
>  re-execute it *after* I added
>  the interface to the bridge, it works just fine.

How long are you waiting? Make sure you're not encountering the default
forwarding delay of 20 seconds You can change that value to zero using

brctl setfd br0 0

which brings new interfaces into forwarding state immediately, rather
than going through the listening and/or learning states.

>  The same behavior happens with my DHCP server (which listens only on
>  my bridge interface);
>  I need to re-execute (reset) it after I add the interface to the bridge.
>  Is that normal ?
>  Why does it happen ?
>  What should I do ?
>  It's a little awkward to reset my DHCP server every time I add a new
>  interface to the bridge..
>  Thanks,
>  Sabhe
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

More information about the Bridge mailing list