[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] eth0 disabled when xend starts up


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Davidson Rodrigues Paulo" <davidsonpaulo@xxxxxxxxx>
  • Date: Sat, 19 Jan 2008 09:34:21 -0200
  • Delivery-date: Sat, 19 Jan 2008 03:34:53 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=csXEq8UdttpQ4GcBke2puamZpJNsUlxLASCvK38EYj7fm1swjekM8ml0DfMg+0TTEcPIu+5m2h9RUDEpA/JCzkYlFCH/G3GsHjka1OWZF2MmlxX8ndZtCtY5Cb79jXsvuAKXA49qOnXxvlrzIWdVZQ09O0fLh1Xv5uvqTizTz/0=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I was using xend 3.0.3 on CentOS 5 so I decided upgrade it to 3.1.2.
Before the update, I was using the following network configuration:

 (network-script 'network-bridge')
 (vif-script 'vif-bridge')

Where bridge's name was 'xenbr0' and netdev was 'eth0'.

After I upgraded xen, eth0 was disabled when xend was started. Running
'service network restart' enabled it up again. So, I changed my
xend-config.sxp as follows:

 (network-script 'network-bridge netdev=eth0'

So my pain started. When xend starts, eth0 was totally removed from
system, which can't detect it anymore, even stopping xend and running
'service network restart'. Moreover, xend created a tmpbridge which
assumed the IP address previosly used by eth0, but the network can't
be reached.

Analising /etc/xen/scripts/network-bridge I've found the correct way
to configure a bridge to use with Xen:

 # /etc/xen/scripts/network-bridge start netdev=eth0 bridge=eth0

Running that command creates a peth0 interface and a eth0 bridge, the
IP previously used by eth0 is preserved and the network can be
reached. Changing 'start' by 'stop' the network configuration is
restored for it's defaults, all fine. So I've changed xend-config.sxp:

 (network-script 'network-bridge netdev=eth0 bridge=eth0')
 (vif-script 'vif-bridge bridge=eth0')

So, I've started xend and for my surprise I got the same result, that
is, a xenbr0 and a tmpbridge bridges, a disabled eth0 and a network
out of reach.

It's the second time I face this type of problem. On the first time I
was using Fedora 8, I was with no patience so I have just reinstalled
the system, but I hated to do that, I want to know how to fix this
problem.

If you can help me in any form, I thank you.

Regards,

--
Davidson Paulo
http://fedoraproject.org/wiki/DavidsonPaulo

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.