On Mon, Mar 12, 2007 at 09:36:43AM +0000, Bruce M. Simpson wrote: > Hi, > > Eygene Ryabinkin wrote: > > > >Speaking about vlan problems: the original problem is to do something > >with VLAN interfaces only because they are sharing the MAC of their > >physical parent. The problem itself is not VLAN-specific -- if there > >will be two physical interfaces with the same MACs and they will be > >bridged, the problem will still be here. > > > I see this also. > > What would be good is if there was a way to record additional MAC > addresses for each ifnet, in addition to the if_lladdr member. This > would cut down the cruft in ether_input(), if_bridge(4) and possibly > also carp(4). > > For network cards with more than one perfect hash filter entry in the > hardware, programming these into the card would *perhaps* be more > efficient when trying to achieve line rate with gigabit and beyond. > > This would most likely require an ABI change. The VLAN handling problem > doesn't go away; we will still need to check if a bridge member is a > VLAN interface because we can't uniquely key off the MAC as you point out.
Guys, excuse me, but I still fail to see how the case of VLANs' sharing a single MAC differs from the case of several physical interfaces with the same MAC from the POV of a bridge. A bridge can have no own MAC addresses at all, it plays with foreign MAC addresses only. Therefore I can't see why our bridge code needs to know local MAC addresses, let alone why it fails when they're the same. Could you give me a hint? Thanks! -- Yar _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"