
http://bugzilla.novell.com/show_bug.cgi?id=587129 http://bugzilla.novell.com/show_bug.cgi?id=587129#c5 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |mt@novell.com Info Provider|mt@novell.com | --- Comment #5 from Marius Tomaschewski <mt@novell.com> 2010-03-16 08:05:13 UTC --- (In reply to comment #4)
Is it duplicate of bnc#569970?
Well, it's another way around there: eth0->br0->vlan0 | +-->vif's In this scenario, you add vlan on top of the bridge, what allows the host/dom0 to communicate with a vlanX [vlan id 0 is a special case] and with non-tagged interfaces directly via br0. Every virtual machine has to use own vlan interface to send vlan tagged frames.
I'm a bit confusing from eth0->vlan2->br2 order
eth0->vlan2->br0 | +-->vif's A vlan interface is basically a filter, that filters out all incomming traffic that is not marked with the VLAN id and marks all traffic it sends to the physical interface. This scenario causes that any frame send out by the bridge via vlan2(->eth0) is tagged with vlan ID 2 and the bridge receives only vlan 2 tagged traffic via its (eth0->)vlan2 port. That is, all VM's / vif's can communicate with dom0 without any vlan tag using the normal br0 interface. Because the vlan interface tags all traffic going out via eth0, all dom0 _and_ vif's traffic going to the e.g. switch behind eth0 is tagged. The domU'd don't even know that this happens and don't need any vlan interface themself. Michal, please consider also the scenario with multiple vlan id 2 interfaces (note, the ethX.Y scheme is already _used_ by the initrd on SLE-11-SP1 !!): * eth0 -> eth0.2 == vlan id 2 on eth0 ifcfg-eth0.2 ETHERDEVICE='eth0' * eth1 -> eth1.2 == vlan id 2 on eth1 ifcfg-eth1.2 ETHERDEVICE='eth1' Identify vlan interfaces as follows: if test -d /sys/class/net/$IF ; then # interface exists test -f /proc/net/vlan/$IF && \ TYPE=vlan else # config only grep -qs ETHERDEVICE= /etc/sysconfig/network/ifcfg-$IF && \ TYPE=vlan fi See also "man ifcfg-vlan". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.