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" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] xen 3.0.3, domUs all use eth1 for first network interface
From: "Ulrich Windl" <ulrich.windl@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 05 Mar 2007 16:27:00 +0100
Delivery-date: Mon, 05 Mar 2007 07:26:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070305151604.GQ2737@xxxxxxxxxxx>
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>
Organization: Universitaet Regensburg, Klinikum
Priority: normal
References: <6d06ce20703040933w3d348ebcq256e767cd244cc2f@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 5 Mar 2007 at 15:16, Andy Smith wrote:

> 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.

Just a note: Did you have a look before removing the file? I just removed the 
LINE 
with "eth0", or I even replaced the hardware address with the correct one. OK, 
my 
machine has multiple NICs...

Ulrich


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