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

Bug#416659: forcedeth doesnot work in combination with vlan and brigde



Package: linux-image-2.6.18-4-xen-amd64
Version: 2.6.18.dfsg.1-11

For a xen installation on a sun fire 4200m2 I tried to bridge a vlan on eth0 (forcedeth-driver) with a vifx.x of one of the domUs. The network of the domU does not work at all.

I use the following custom script (peth0 is the renamed eth0)

# vlan 1103
               if ! `lsmod | grep -q 8021q` ; then modprobe 8021q ; fi
               vconfig add peth0 1103

               brctl addbr xenbr103
               brctl stp xenbr103 off
               brctl setfd xenbr103 0
               ip link set xenbr103 arp off
               ip link set xenbr103 multicast off
               ip link set peth0.1103 up
               brctl addif xenbr103 peth0.1103
               ip link set xenbr103 up

the xen script add the vif interface when I start the domU.

# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif0.0
                                                       peth2
xenbr103                8000.feffffffffff       no              peth0.1103
                                                       vif2.0


if I look at the macs I cannot see the router
# brctl showmacs xenbr103
port no mac addr                is local?       ageing timer
 2     00:16:3e:25:05:bc       no                24.74
 1     fe:ff:ff:ff:ff:ff       yes                0.00

On eth2 (an interface with e1000 driver) the same configuration works. A bridge without a vlan works and a vlan without bridge works too.

I am using:

Linux xen-7 2.6.18-4-xen-amd64 #1 SMP Wed Feb 21 16:02:59 UTC 2007 x86_64 GNU/Linux
Package: libc6
Version: 2.3.6.ds1-13

bridge-utils              1.2-1
xen-hypervisor-3.0.3-1-am 3.0.3-0-2 The Xen Hypervisor on AMD64
xen-utils-3.0.3-1         3.0.3-0-2
xen-utils-common 3.0.3-0-2 vlan 1.9-2

andreas noback



Reply to: