Apr 23, 2017 at 04:02 AM
Home arrow Blog arrow Virtualization arrow ::XEN and Bonded Interfaces::
::XEN and Bonded Interfaces:: PDF Print E-mail
Stories - Virtualization
Contributed by William R. Welty   
Oct 03, 2007 at 11:31 AM
This is a howto make bonded interfaces available from the hostos to the guest os. Image You will need to create your two bonded device ( as usual ) then create a script in /etc/xen/scripts eg : mynetwork
   dir=$(dirname "$0")
   "$dir/network-bridge" "$@" vifnum=0 netdev=bond0
   "$dir/network-bridge" "$@" vifnum=1 netdev=bond1
Make sure to make the script executable
   chmod +x /etc/xen/scripts/mynetwork
You will also need to modify the /etc/xen/xend-config.sxp, look for the line :
   (network-script network-bridge)
   modify it to be
   (network-script mynetwork)
Restart network / restart xend / restart xen network ( or reboot )
   service network restart
   service xend restart
   /etc/xen/scripts/mynetwork stop
   /etc/xen/scripts/mynetwork start
To check that everything is working
 [root@uscobrmfa-lt-99 scripts]# brctl show
bridge name     bridge id               STP enabled     interfaces
xenbr0          8000.feffffffffff       no              vif1.0
xenbr1          8000.feffffffffff       no              vif1.1
Last Updated ( Oct 03, 2007 at 11:33 AM )