Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-users

Re: [Xen-users] xen 3.0.3, domUs all use eth1 for first network interfac

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen 3.0.3, domUs all use eth1 for first network interface
From: Andy Smith <andy@xxxxxxxxxxxxxx>
Date: Mon, 5 Mar 2007 15:16:04 +0000
Delivery-date: Mon, 05 Mar 2007 07:15:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <6d06ce20703040933w3d348ebcq256e767cd244cc2f@xxxxxxxxxxxxxx>
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>
Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc
References: <20070304164647.GK2737@xxxxxxxxxxx> <6d06ce20703040933w3d348ebcq256e767cd244cc2f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Sun, Mar 04, 2007 at 11:33:31AM -0600, Jerry Amundson wrote:
> On 3/4/07, Andy Smith <andy@xxxxxxxxxxxxxx> wrote:
> >I've just finished installing Xen 3.0.3 on a server and now find
> >that every domU I create starts with an eth1 instead of eth0.  There
> >is no eth0 at all, according to "ifconfig" and "ip link".
> 
> No eth0 will show if it isn't active.
> This seems to have more to do with distro of the domU's, and how they
> were created. And the xen config file of a dmoU would also help...

It seems that somehow the file:

/etc/udev/rules.d/z25_persistent-net.rules

already had an entry for eth0, so udev was starting from eth1.  As
this was in the same image I was using for all domUs on that
machine, it appeared to be a system-wide issue.  Removing the file
and letting udev create it again made the issue go away.

Doh. :)

Cheers,
Andy

Attachment: signature.asc
Description: Digital signature

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