This guide was my email to my collegeue way back in 10 Apr 2008, i put it here for my reference later on..
=======
Dear server-admin
below are guide on how to enable the second nic to the VM,
A. Network setup.
1. put a new switch for network 34.x, then connect the second NIC of the servers to the new switch.
2. configure the 2nd nic with 34.x network ip, exp, (helios1: eth0: 192.168.33.60, eth1: 192.168.34.60)
B. bridging setup
1. in /etc/xen/scripts, create a new scripts (named it as multiplebridge.sh) with content as below"
---------[multiplebridge.sh]---------------
#!/bin/sh
# start bridges on both eth0 and eth1
XENDIR="/etc/xen/scripts"
$XENDIR/network-bridge "$@" netdev=eth0 bridge=xenbr0 vifnum=0
$XENDIR/network-bridge "$@" netdev=eth1 bridge=xenbr1 vifnum=1
---------------------[end ]-----------------------
make sure to chmod this file to 755 (executable).
# chmod 755 multiplebridge.sh