This is a howto make bonded interfaces available from the hostos to the guest os. You will need to create your two bonded device ( as usual ) then create a script in /etc/xen/scripts eg : mynetwork
#!/bin/sh 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 pbond0 vif0.0 xenbr1 8000.feffffffffff no vif1.1 pbond1 vif0.1 |
|
Last Updated ( Oct 03, 2007 at 11:33 AM ) |