Take a look at these configs and the brctl command...(XXXX = vlan tag)
[root@pnode006 /]# cat /etc/sysconfig/network-scripts/ifcfg-eth0.XXXX
[root@pnode006 /]# cat /etc/sysconfig/network-scripts/ifcfg-brXXXX
[root@pnode006 /]# brctl show
bridge name bridge id STP enabled interfaces
brXXXX 8000.001ec9fd2360 no vif3.0
eth0.XXXX vif = [
Create a sub interface off your bond, configure it to do the tagging, create a
bridge for the tagged traffic, add the interface onto a "port" on the bridge.
Add the guest onto the bridge using a vif.
Subint <---- brctl bridge ----> guest vif
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Adam Wead
Sent: Tuesday, August 04, 2009 5:22 PM
Subject: [Xen-users] Bonding...again
I know this topic has been discussed a lot on this list, and I've been
going over some posts from months past trying to get things to work on
my end, but I need another appeal for help. I'm setting up a dom0
under Red Hat EL5, with 2 NICs. From looking over the old posts, it
looks like the best way to do this is to create bonds, vlans and
bridges under Red Hat and bypass Xen's initial network-bridge script.
I looked at what Fajar had said:
And I tried duplicating this, mind you, without the patched ifup
script and setup something like this:
- (eth1 + eth2) = bond0 with mode 2
- create VLAN bond0.2 to bond0
- attach bridge xenbr0 to bond0.2
- modified xend-config file: (vif-script 'vif-bridge bridge=xenbr0')
This appears to work, but when I create guests and attach them to the
xenbr0, no dice. My question is, is the above correct and where to
the IPs go? Dom0 has it's own IP address, but what interface/bond/
VLAN does that go under? Should the other items have IPs as well?
My network kung fu is limited, so I apologize in advance if these are
Xen-users mailing list