Specifications

network-script network-xen-multi-bridge
Make sure to uncomment the line that states:
network-script network-bridge
If you want to create multiple Xen bridges, you must create a custom script. This example below
creates two Xen bridges (called xenbr0 and xenbr1 ) and attaches them to eth1 and eth0 ,
respectively:
# !/bin/sh
# network-xen-multi-bridge
# Exit if anything goes wrong
set -e
# First arg is operation.
OP=$1
shift
script=/etc/xen/scripts/network-bridge.xen
case ${OP} in
start)
$script start vifnum=1 bridge=xenbr1 netdev=eth1
$script start vifnum=0 bridge=xenbr0 netdev=eth0
;;
stop)
$script stop vifnum=1 bridge=xenbr1 netdev=eth1
$script stop vifnum=0 bridge=xenbr0 netdev=eth0
;;
status)
$script status vifnum=1 bridge=xenbr1 netdev=eth1
$script status vifnum=0 bridge=xenbr0 netdev=eth0
;;
*)
echo 'Unknown command: ' ${OP}
echo 'Valid commands are: start, stop, status'
exit 1
esac
If you want to create additional bridges, just use the example script and copy/paste the file
accordingly.
17. Laptop Configurations
The task of configuring your RHEL 5.1 loaded laptop for use on a network environment,
presents a number of potential challenges. Most WiFi and wired connections switch constantly
during any given day, and Red Hat Virtualization assumes it has access to the same interface
consistently. This results in the system performing ifup/ifdown calls to the network interface in
Chapter 18. Red Hat Virtualization Troubleshooting
92