Xen with Bonding / Bridge
Hello,
I'm read and re-read all the information out there on setting this up but I must be missing something. Here's my setup: Server with 3 NIC's - I want eth0 and eth1 to be in a bond for redundancy and eth2 is stand alone used for private server-to-server communication.
I've taken all the following steps:
1. Added the following lines to modprobe.conf
alias bond0 bonding
options bond0 miimon=80 mode=5
2. Configured ifcfg-bond0
DEVICE=bond0
IPADDR=x.x.x.x
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
3. Configured ifcfg-eth0 and ifcfg-eth1
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
MASTER=bond0
SLAVE=yes
If I reboot at this point, everything works exactly as expected. Then I go into xend-config.sxp and add the following:
(network-script 'network-bridge netdev='bond0')
If I restart again, everything seems to be fine at this point. Then I go about adding some virtual machines and everything is great. However, when I reboot again, that's when everything goes down hill. I get error messages during startup saying Device eth0 has different MAC address than expected and/or networking just fails and I can't get to or from the box.
I really have no idea what I'm doing wrong and would be so grateful for any guidance! Thank you!
Jason
|