If_bridge behaving as HUB

Shteryana Shopova syrinx at FreeBSD.org
Mon Oct 16 11:25:48 UTC 2006


On 10/16/06, Shteryana Shopova <syrinx at freebsd.org> wrote:
> On 10/16/06, Jon Otterholm <jon.otterholm at ide.resurscentrum.se> wrote:
> > Hi.
> >
> > I have a bridge setup with a number of vlan IF's as members. After a
> > while traffic destined for one member IF are sent to all member IF's.
> >
> >  From man if_bridge:
> >
> >      A bridge works like a hub, forwarding traffic from one interface to
> >      another.  Multicast and broadcast packets are always forwarded to all
> >      interfaces that are part of the bridge.  For unicast traffic, the
> > bridge
> >      learns which MAC addresses are associated with which interfaces and
> > will
> >      forward the traffic selectively.
> >
> > Has anyone else got this problem? How do I debug this?
> >
>
> #ifconfig bridge0 addr
> will show the addresses learnt on the bridge - the destination MACs of
> the packets you're sending should be present in the address table,
> learnt on the interface you want the packets switched to. Are you
> running STP on the bridge? Could it be that the bridge address table
> was not properly flushed on a link up/down?
>

Could be aslo you're exceeding the max number of entries in bridge
table (100 by default)  -
(you can change that with
#ifconfig bridge0 maxaddr N)

Shteryana


More information about the freebsd-net mailing list