|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-devel] bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards [SO
To: |
xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx |
Subject: |
[Xen-devel] bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards [SOLVED] |
From: |
Tomasz Chmielewski <mangoo@xxxxxxxx> |
Date: |
Thu, 24 May 2007 15:23:44 +0200 |
Cc: |
"Angel L. Mateo" <amateo@xxxxx>, Sébastien CRAMATTE <s.cramatte@xxxxxxxxxx>, Timo Benk <timo.benk@xxxxxx>, amartins@xxxxxxxxxxx, Javier Guerra <javier@xxxxxxxxxxx>, Eli Criffield <elicriffield@xxxxxxxxx>, kfh.xen@xxxxxx, Daniele Palumbo <daniele@xxxxxxxxxxxx> |
Delivery-date: |
Thu, 24 May 2007 06:22:11 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxx |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061110 Mandriva/1.5.0.8-1mdv2007.1 (2007.1) Thunderbird/1.5.0.8 Mnenhy/0.7.4.666 |
As the issue concerns both the -user (configuration) and -devel (OOPS),
I'm sending this message to both lists.
Some time ago I complained about two problems:
- VLANs are not working on machines with 100 Mbit cards
- I get a kernel Oops (sometimes panic) when I try to use bonding and
VLANs with Xen
The root of the issue is the same in both cases: VLAN interfaces must
*not* be brought up before we start our Xen network scripts.
So have four cases with Xen:
1. Bonding + VLAN leads to an Oops
2. Bonding + VLAN works
3. VLANs don't work with 100 Mbit cards
4. VLANs work with 100 Mbit cards
I use network-bridge script shipped with Xen 3.1.
1. Bonding + VLAN leads to an Oops:
ifup bond0
ifup bond0.100
ifup bond0.200
./network-bridge start vifnum=0 netdev=bond0 bridge=xenbr0
./network-bridge start vifnum=1 netdev=bond0.100 bridge=xenbr100
# Ooops (and/or panic) here!
./network-bridge start vifnum=2 netdev=bond0.200 bridge=xenbr200
2. Bonding + VLAN works - note the "enslave":
ifup bond0
./network-bridge start vifnum=0 netdev=bond0 bridge=xenbr0
ifenslave pbond0 eth0 eth1
ifup bond0.100
ifup bond0.200
./network-bridge start vifnum=1 netdev=bond0.100 bridge=xenbr100
./network-bridge start vifnum=2 netdev=bond0.200 bridge=xenbr200
3. VLANs don't work with 100 Mbit cards (with 1 Gbit will work):
ifup eth0
ifup eth0.100
ifup eth0.200
./network-bridge start vifnum=0 netdev=eth0 bridge=xenbr0
./network-bridge start vifnum=1 netdev=eth0.100 bridge=xenbr100
./network-bridge start vifnum=2 netdev=eth0.200 bridge=xenbr200
4. VLANs work with 100 Mbit cards
ifup eth0
./network-bridge start vifnum=0 netdev=eth0 bridge=xenbr0
ifup eth0.100
ifup eth0.200
./network-bridge start vifnum=1 netdev=eth0.100 bridge=xenbr100
./network-bridge start vifnum=2 netdev=eth0.200 bridge=xenbr200
One more note: to use it in startup scripts, I had to put a couple of
"sleep" commands between each line - otherwise, some peth/pbond
interfaces were missing sometimes.
--
Tomasz Chmielewski
http://wpkg.org
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] bonding + VLANs -> Oops/panic, no VLAN on 100 Mbit cards [SOLVED],
Tomasz Chmielewski <=
|
|
|
|
|