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] Debian domU interface naming strangeness

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Debian domU interface naming strangeness
From: Stephan Seitz <s.seitz@xxxxxxxxxxxx>
Date: Fri, 01 Aug 2008 00:29:35 +0200
Delivery-date: Thu, 31 Jul 2008 15:24:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <489238A4.4030105@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: netz-haut e.K.
References: <afa5bb590807311452t605aac4ekfd2429bae5d5656a@xxxxxxxxxxxxxx> <489238A4.4030105@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.16 (X11/20080724)
Additionally, add a fixed mac adress to your vif line in your domU config, like

vif = [ 'mac=nn:nn:nn:nn:nn:nn,brigde=xxxxx' ]

otherwise domU's udev will start counting again on every boot (say, mac address 
change)



Alexander Hoßdorf schrieb:
Hi,

Have you got persistent mac adress configured for domU?
You have a file called /etc/udev/rules.d/z25-persistent-net.rules in debian DomU.
empty it and reboot DomU.

Hope this helps.

Cheers,
Alex


Ray Barnes schrieb:
Hi all.  I've got a Debian domU I created from scratch a few weeks
ago.  Every time I rolled it out previously in testing, it worked
fine.  But now it seems to make the ethernet device eth1 rather than
eth0 in the domU:

localhost:~# ifconfig -a
eth1      Link encap:Ethernet  HWaddr 00:16:3E:3D:A0:30
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

localhost:~# dmesg|grep -i eth
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has flipping receive path.
localhost:~#

Note that as eth1, it routes traffic just fine.  I can ifconfig it up
and set an IP address, then get good routed connectivity.  I'm seeing
this eth1 naming issue on dom0s running CentOS 5.0 with the stock Xen
3.0.3 (yes that means literally 5.0, not a higher minor number), as
well as Cent 5.1 with Xen 3.2.0 compiled from source.  But obviously
it presents a problem since I can't count on consistent naming.

Thoughts?

-Ray

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

__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3316 (20080731) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com





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


--
Stephan Seitz
Senior System Administrator

*netz-haut* e.K.
multimediale kommunikation

zweierweg 22
97074 würzburg

fon: +49 931 2876247
fax: +49 931 2876248

web: www.netz-haut.de <http://www.netz-haut.de/>

registriergericht: amtsgericht würzburg, hra 5054

Attachment: s_seitz.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>