WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Customising network setup stops all networking

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Customising network setup stops all networking
From: Gordon Ross <gr306@xxxxxxxxxxxxx>
Date: Tue, 2 Dec 2008 08:52:02 +0000
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Tue, 02 Dec 2008 00:53:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclUWz5Bz4NjrMHTEU6MwleNsdeIVg==
Thread-topic: 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>