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

Re: [Xen-users] Xen Networking and bonded interfaces on Debia Lenny

To: Joshua Boniface <joshua.boniface@xxxxxxxx>
Subject: Re: [Xen-users] Xen Networking and bonded interfaces on Debia Lenny
From: Tim Post <echo@xxxxxxxxxxxx>
Date: Mon, 06 Jul 2009 11:31:21 +0800
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 05 Jul 2009 20:32:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <SNT102-DS11B7645A3203DB653DB2C88C2A0@xxxxxxx>
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>
References: <SNT102-DS11B7645A3203DB653DB2C88C2A0@xxxxxxx>
Reply-to: echo@xxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

On Sun, 2009-07-05 at 19:36 +0000, Joshua Boniface wrote:
> Greetings all. This has been an ongoing issue for me for a few months,
> and I've been trying to get an answer.
> 
> My server has two NICs, and I want to set up the following:
> 
> NICs (x2) -> bond (mode 5) -> Xen Bridge -> Doms

A little background for you, the purpose of network-bridge is to start
bridged networking when xend starts and take it down when xend stops.
Its a creature comfort that allows you to use Xen on your desktop
without going though the hassle of modifying / restoring your system
network configuration every time you want to use Xen.

In a production (server) environment, its much much better to just allow
your operating system to control networking. network-bridge is not smart
enough to deal with complex configurations.

To take network-bridge out of the picture, try this:

cat << EOF > /etc/xen/scripts/network-dummy
#!/bin/sh

exit 0
EOF

chmod +x /etc/xen/network-dummy

Check to be sure that the file is not already there prior to creating
it.

Then, edit /etc/xend-config.sxp , look for:

(network-script network-bridge)

Change it to:

(network-script network-dummy)

At this point, xend will not try to do anything to networking when it
starts. You can then configure the bond / bridge via whatever means is
sensible for your OS.

If you let us know what OS you are using, someone can help you with that
part too.

Cheers,
--Tim



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