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

Re: [Xen-users] Slackware 12 DomU NIC increments on each start


  • To: Florian Heigl <florian.heigl@xxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Sun, 18 Nov 2007 08:32:45 +0000
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 18 Nov 2007 00:31:43 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=UsHJ/ufaeJOchUIXz61Razz/vmzue6peoFC4ajq1aYL3IzES801jjESUnKNARIQ/y34QG2tkuwd41oxUy/ITPg6/0Xaso32tWkzJWm4ULEYB/5fjntV+5DOrLE5XUBgn4ayqO/VIDkc3OjYnsNim62rSUtSQl5xFj4Fv+GMFKT8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Florian Heigl wrote:
Hi all,

just a little proposal ;)

2007/11/16, Tom Brown <xensource.com@xxxxxxxxxxxxxxxxxxx>:
On Fri, 16 Nov 2007, Steve Kemp wrote:

On Fri Nov 16, 2007 at 13:21:58 -0000, Russell Packer wrote:

The problem is that networking doesn't work properly. Each time I
shutdown and restart, the NIC increments... eth0, eth1, eth2... I'm on
eth12 right now! Once the system starts I can use ifconfig & route to
assign an IP and a default gateway, and I get a network connection.
Weird stuff.

Does anyone have any ideas what is going on / what I need to do? I just
want my nice eth0...
 This is almost certainly udev being "helpful".
I suspect it's kudzu ... which IMHO is not really appropriate on domUs and
should be disabled, but I don't like/trust automagic... With kudzu turned
off (chkconfig kudzu off) and making sure there is no MAC= line in your
/etc/sysconfig/network-scripts/ifcfg-eth0 file, you should be ok even if
the mac address is changing.... at least this is true for my old and new
redhat based systems. -Tom

I posted about this like half a year ago, and still think it would be
the best if there was
some xen magic to save back the GUID and MAC autogenerated on first
startup into the
domU config.
It's possible to run "xm list --long [DOMAIN]" to extract them. It's better to preset them, if possible, to avoid conflicts among a large cluster of guest domains. Some tools, like virt-install from RedHat, can prescribe MAC addresses. But I wanted the vifname too, to make MRTG network monitoring report the same interface consistently the last time I did this, and wound up writing a little wrapper to hardcode those.


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