[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Tweaks to network-bridge script.



# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxx
# Node ID ff34606900049e1525cb6ab3768cd4e11a576bdb
# Parent  35f3f9424c93e86cec5b2b3b2d2e9fabc8ab2659
Tweaks to network-bridge script.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r 35f3f9424c93 -r ff3460690004 tools/examples/network-bridge
--- a/tools/examples/network-bridge     Mon Aug 15 14:52:59 2005
+++ b/tools/examples/network-bridge     Mon Aug 15 21:47:44 2005
@@ -188,12 +188,13 @@
                fi
        fi
        ip link set ${netdev} name p${netdev}
-       ip link set veth0 name eth0
+       ip link set veth0 name ${netdev}
        ifconfig p${netdev} -arp down
        ifconfig p${netdev} hw ether fe:ff:ff:ff:ff:ff
        ifconfig ${netdev} hw ether ${mac}
        add_to_bridge ${bridge} vif0.0
        add_to_bridge ${bridge} p${netdev}
+       ip link set ${bridge} up
        ip link set vif0.0 up
        ip link set p${netdev} up
        if ! ifup ${netdev} ; then

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.