ia64/xen-unstable

changeset 6198:ff3460690004

Tweaks to network-bridge script.
Signed-off-by: ian@xensource.com
author iap10@firebug.cl.cam.ac.uk
date Mon Aug 15 21:47:44 2005 +0000 (2005-08-15)
parents 35f3f9424c93
children 8523b124c8f8
files tools/examples/network-bridge
line diff
     1.1 --- a/tools/examples/network-bridge	Mon Aug 15 14:52:59 2005 +0000
     1.2 +++ b/tools/examples/network-bridge	Mon Aug 15 21:47:44 2005 +0000
     1.3 @@ -188,12 +188,13 @@ op_start () {
     1.4  		fi
     1.5  	fi
     1.6  	ip link set ${netdev} name p${netdev}
     1.7 -	ip link set veth0 name eth0
     1.8 +	ip link set veth0 name ${netdev}
     1.9  	ifconfig p${netdev} -arp down
    1.10  	ifconfig p${netdev} hw ether fe:ff:ff:ff:ff:ff
    1.11  	ifconfig ${netdev} hw ether ${mac}
    1.12  	add_to_bridge ${bridge} vif0.0
    1.13  	add_to_bridge ${bridge} p${netdev}
    1.14 +	ip link set ${bridge} up
    1.15  	ip link set vif0.0 up
    1.16  	ip link set p${netdev} up
    1.17  	if ! ifup ${netdev} ; then