[VLAN] Issue with Vlans and bridges

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Hi,
> 
> I have been looking at this and on eth3 I see this
> 
> 17:10:25.355276 vlan 40, p 0, IP 135.196.XXX.XX.5000 >
192.168.40.88.5000:
> UDP, length 11
> 17:10:26.014292
> 17:10:26.371019 IP 135.196.XXX.XX.5000 > 192.168.20.30.5000: UDP,
length
> 11
> 17:10:26.371446 IP 192.168.20.30.5000 > 135.196.XXX.XX.5000: UDP,
length
> 10
> 
> I still do not understand why the packets do not go over the correct
vlan
> interfaces and bridge.
> 

(I haven't followed all of this thread so apologies if it's already been
covered)

You do have the correct brouting rules in place don't you? eg:

ebtables -t broute -A BROUTING -p 802_1Q -i eth0 -j DROP

This makes sure that the 802.1q tagged packets coming in on eth0 are not
sent over the bridge as is, but are 'routed' internally to the vlan
code, where they are decapsulated and then maybe routed to bridges.

James




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux