]> scripts.mit.edu Git - xen.git/commitdiff
Make an eth1 bridge in addition to an eth0 bridge
authorroot <root@not-forward.mit.edu>
Sat, 4 Apr 2009 01:10:04 +0000 (21:10 -0400)
committerroot <root@not-forward.mit.edu>
Sat, 4 Apr 2009 01:16:21 +0000 (21:16 -0400)
By default, Xen only sets up the eth0 bridge. Scripts needs both eth0
and eth1, as eth0 connects to smr network, and eth1 connects to the scripts
backend net.

scripts/scripts-network-bridge [new file with mode: 0755]
xend-config.sxp

diff --git a/scripts/scripts-network-bridge b/scripts/scripts-network-bridge
new file mode 100755 (executable)
index 0000000..dbe70c1
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+./network-bridge netdev=eth0 "$@"
+./network-bridge netdev=eth1 "$@"
index 89f9fcae96205a15ed615c9ba6590d749438bbe6..151f2dc62723b81fc5eabb611c4ff3efa94b014b 100644 (file)
 # two fake interfaces per guest domain.  To do things like this, write
 # yourself a wrapper script, and call network-bridge from it, as appropriate.
 #
-(network-script network-bridge)
+(network-script scripts-network-bridge)
 
 # The script used to control virtual interfaces.  This can be overridden on a
 # per-vif basis when creating a domain or a configuring a new vif.  The