Gordon Ross
2008-Dec-02 08:52 UTC
[Xen-users] Customising network setup stops all networking
Running Xen on SLES10 SP2. Using the defaults, I''ve got a VM talking to a network fine (Basically, just bridged networking to Dom0''s eth0) I now want to use both of the Dom0s ethernet interfaces in separate bridges for VMs. A quick bit of reading told me to write my own bridge wrapper script. So I wrote the following: #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1 I modified xend-config.sxp by changing/adding: #(network-script network-bridge) (network-script my-network-bridge) I saved the files, rebooted and waited with baited breath. After the Dom0 came back up, networking appeared to be up, but I couldn''t ping the Dom0. The "brctl show" showed the two bridges with the correct physical interfaces in them. Can someone help me out ? Thanks, GTG _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Bastian Blank
2008-Dec-02 12:41 UTC
Re: [Xen-users] Customising network setup stops all networking
On Tue, Dec 02, 2008 at 08:52:02AM +0000, Gordon Ross wrote:> Can someone help me out ?Use the mechanisms shiped with your _distribution_ to setup the bridges. Bastian -- Power is danger. -- The Centurion, "Balance of Terror", stardate 1709.2 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Gordon Ross
2008-Dec-03 08:41 UTC
[Xen-users] SOLVED: Customising network setup stops all networking
On 02/12/2008 08:52, "Gordon Ross" <gr306@ucs.cam.ac.uk> wrote:> #!/bin/sh > dir=$(dirname "$0") > "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0 > "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1On SLES, you name the bridges the same as the Dom0''s physical interface. So the script should be: #!/bin/sh dir=$(dirname "$0") "$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=eth0 "$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=eth1 There''s a posting on the Novell forums about this: http://forums.novell.com/novell-product-support-forums/suse-linux-enterprise -server-sles/sles-virtualization/330337-suse-10-sp2-xen-network-bridge.html GTG _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users