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] Xend breaks Networking on Dom0

To: Alex Brett <alex.brett@xxxxxxxxxx>
Subject: Re: [Xen-users] Xend breaks Networking on Dom0
From: Anoop Rajendra <anoop.rajendra@xxxxxxxxx>
Date: Fri, 5 May 2006 19:00:53 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 05 May 2006 19:01:31 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=XaeGZa/F+szI07rPEnun9t9+oeI0UkW3FJnn7zsR4so7hDu7+lzoYTvBJIRgECMHNLs5joXKMAUzBxuTrG4k25AAJa9BOQMZfQxNm1s2uhNx3hk9CBVvFNCkIt7NveOeyPYirPXKhiqYqk8UssMR1ia3QPm3bl9HLf4Ng/a7JGU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <445BFDF9.3070209@xxxxxxxxxx>
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>
References: <D045478C-C95B-4980-818B-43F0820819FF@xxxxxxxxx> <445BFBBA.60404@xxxxxxxxxx> <BF12C9B4-DED2-4273-9F7C-6A49E329D724@xxxxxxxxx> <445BFDF9.3070209@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks. I did solve it by changing the boot priority of the xend startup script from 98 to 09. This way it would start before eth0 would come up.

Wow! I didn't know xend had to be up before network interfaces were brought up. Could you or someone tell me why? Or point to a place which explains this?

Thanks
-Anoop

On May 5, 2006, at 6:38 PM, Alex Brett wrote:

Anoop Rajendra wrote:
And that exactly the problem.
xend starts from a startup script and shuts down eth0.
I have to physically login to the machine and restart xend using / etc/init.d/xend restart, and only then eth0 comes up again along with all the other virtual interfaces.

Networking is breaking because eth0 is *already* up when xend starts. You need to tell your distro not to start eth0 automatically (in centos I believe you need to edit the /etc/ sysconfig/network-scripts/ifcfg-eth0 file), and simply let xend do it. It should then start it up in the correct state.

Alex



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