Re: bridged vlan interfaces

Jonathan Thibault <[email protected]> Mon, 14 Jan 2008 13:40:38 -0500
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Grant Taylor wrote:
>
> You should see ARP traffic on VLAN 2 on your ""spy box.  I'm not sure 
> why you are not seeing the traffic.  If you switch has the port 
> connected to the hub in "Trunk Mode" then all traffic for all member 
> VLANs (make sure the port is allowed to see said VLANs) should be 
> tagged and going out to the hub.  The traffic should then go from the 
> hub to both the main Linux box and the spy Linux box with out a 
> problem.  If for some reason the traffic is not making it out of the 
> switch correctly, then your spy Linux box will not see the traffic.
>
I'm not too sure what it was either but now it works fine and I can see 
arp requests in vlan2 from the spy box.  I did some preliminary testing 
and it turns out that when I add vlan3 to the bridge, arp replies (from 
the gateway) never make it through the bridge to some specific 
customers.  I'll see it if I tcpdump on br0 or in.2, but I won't see it 
go through the hub which is directly after the 'in' interface.

So far, the culprit is the bridge itself, or maybe the tg3 driver...  
I'd like some input as to exactly what information is needed to figure 
out which part of the bridge code/configuration could be at fault.  I'll 
have to re-check, but so far it looks like the affected customer's mac 
just doesn't get added to the bridge table.  I also noticed that it 
vanished from the bridge table (brctl showmacs br0) very shortly after I 
added vlan3 to the bridge but that might be normal behavior, the number 
of mac addresses in the table went from over 300 to about 200.

Anyway, I hope this helps some of the more knowledgeable people on this 
list figure out what's going on.  Getting this to work would definitely 
make my life a lot easier.

Jonathan

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace