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: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen Networking and bonded interfaces on Debia Lenny
From: Nathan Eisenberg <nathan@xxxxxxxxxxxxxxxx>
Date: Mon, 6 Jul 2009 00:06:48 -0700
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 06 Jul 2009 00:07:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1246863037.5960.21.camel@joshua>
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> <1246863037.5960.21.camel@joshua>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn+Bh6tfZVlpfp8SxCGYUw6uPNqcAAAizdg
Thread-topic: [Xen-users] Xen Networking and bonded interfaces on Debia Lenny
This is great info - thanks!  :)

Nathan


-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Angel L. Mateo
Sent: Sunday, July 05, 2009 11:51 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen Networking and bonded interfaces on Debia Lenny

El dom, 05-07-2009 a las 19:36 +0000, Joshua Boniface escribió:
> 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
> 
> ...however, trying to configure this doesn't seem to work: network-bridge 
> steals eth0 instead of bond0, which breaks the bond AND my networking. The 
> result is a "pbond0" interface with no IP, and occasionally a "peth0", also 
> with no IP. In either case neither eth0 (or 1) or bond0 exist and as such I 
> have no networking at all! If I boot without Xen the bond works fine, so I 
> know that's not the problem.
> 
> If I reconfigure zend-config.sxp to change netdev=bond0, I still have the 
> same issues, though the specific wording of the error (2 pages on a computer 
> I can't connect to, and before logon so I can't | less) is different. I've 
> also tried messing with the network-bridge script to no avail.
> 
> I've read both the manual and the wiki, and while the wiki makes mention of 
> using a bond, it doesn't show specifically what is required. I was wondering 
> if anyone else could shed some light on the issues. I'm willing to (attempt) 
> to write out those 2 pages of errors, if required, though I have a feeling 
> this is just a configuration issue.
> 
Hello,

        Don't use network-bridge to start the bridge. As someone has recommend,
just use network-dummy and configure the bridge in a debian way. This is
my configuration (I'm using bonding, active-backup, and vlan):

auto bond0
iface bond0 inet static
        address <ip>
        netmask <netmask>
        network <network ip>
        broadcast <broadcast ip>
        gateway <gateway>
        # dns-* options are implemented by the resolvconf package, if
installed
        dns-nameservers <dns>
        slaves eth0 eth3

iface vlan212 inet manual
        pre-up /sbin/ifup bond0
        vlan-raw-device bond0

iface xen-br212 inet manual
        pre-up /sbin/ifup vlan212
        bridge_ports vlan212
        bridge_fd 0

...


-- 
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 868887590
Fax: 868888337


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



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