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] Using bonding-device bond0 for Xen

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Using bonding-device bond0 for Xen
From: "Richard Mayer" <shiny.mayer@xxxxxxxxxxx>
Date: Mon, 12 Sep 2005 16:41:30 +0200 (CEST)
Cc: andreas.bach.aaen@xxxxxxxxxxxx
Delivery-date: Mon, 12 Sep 2005 14:39:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.5
Hello,

I'm still running into problems with bonding.
When I boot the server, everything seems to be fine and I have no problems
with network connectivity. I can reach XenU und also reach the outside
world from XenU. However, after a while of doing nothing with the virtual
Machines (about 10-15 minutes) the network connection is gone.
I can't reach XenU anymore and when logging in through xm console I can't
reach any other IP Address from within the XenU.
Do you have any idea, what the reason for this behavour might be?

This is the network config of my Xen0:

auto br-bond0
iface br-bond0 inet static
        address 193.168.142.120
        gateway 193.168.142.1
        network 193.168.142.0
        netmask 255.255.255.0
        pre-up /sbin/ifconfig eth0 up
        pre-up /sbin/ifconfig eth1 up
        pre-up /sbin/ifconfig bond0 up
        pre-up /sbin/ifenslave bond0 eth0
        pre-up /sbin/ifenslave bond0 eth1
        pre-up /usr/sbin/brctl addbr br-bond0
        pre-up /usr/sbin/brctl addif br-bond0 bond0
        pre-up /usr/sbin/brctl stp br-bond0 off
        pre-up /usr/sbin/brctl setfd br-bond0 0


and this is the XenU-Config:

auto eth0
iface eth0 inet static
        address 193.168.142.122
        netmask 255.255.255.0
        gateway 193.168.142.1
        network 193.168.142.0

I disabled the /etc/xen/scripts/network script (with exit 0 in the
beginning).
Is there anything else I have to add manually?

Regards
Richard Mayer

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