This sounds like it could be the same issue I had with Ubuntu (Gutsy
in particular) domUs. The issue was for me that the hotplugging
through udev would assign it a different interface each time as the
MAC address is random. The fix was to add a persistent udev mapping
in /etc/udev/rules.d with:
SUBSYSTEM=="net", DRIVERS=="vif",
ATTRS{nodename}=="device/vif/0", NAME="eth0"
Then after reboot, udev should always be putting the first virtual
interface as eth0 regardless of the MAC address.
I don''t know how this will map to the distribution you are using in
the domU, but that''s the basics of how to fix it for me.
Of course, none of this is related to OpenSolaris XEN, but I''m sure
people will have this issue with some Linux domU under OpenSolaris
dom0 eventually anyways.
On Mon, Jun 16, 2008 at 1:06 PM, Maciej Jan Broniarz <gausus@gausus.net>
wrote:> I am running xen-3.2.1 on centos 5.1
>
> Each time i reboot my domU the iface numer changes. For eg. it is eth0
> , and after rebooting domU it is eth1.
> Is there a way to fix it?
>
> Regards,
> mjb
>
> --
> [ -----< Maciej Jan Broniarz || gausus@gausus.net >------ ]
> | Siamo qui \ sotto la stessa luce \ sotto la sua croce \ |
> | cantando ad una voce \ E l''Emmanuel Emmanuel, Emmanuel, |
> [ ---------------< E l''Emmanuel, Emmanuel >-------------- ]
> _______________________________________________
> xen-discuss mailing list
> xen-discuss@opensolaris.org
>