[Users] Nic names : always start by eth0

Sven M. Geschke ovirt at nebulaone.com
Tue Jul 30 14:07:59 UTC 2013


Hi

AFAIK This is more a CentOS- than an oVirt-issue. CentOS behaves identically on vSphere.

If I remember correctly, this is due to the fact that the MAC-address of the virtual NIC has to change, when you create a VM from a template.
CentOS however keeps the MAC address of the template and just adds the new MAC, which then of course becomes eth1.

--SMG

----- Original Message -----
> From: "gregoire leroy" <gregoire.leroy at retenodus.net>
> To: users at ovirt.org
> Sent: Tuesday, July 30, 2013 7:59:35 AM
> Subject: [Users] Nic names : always start by eth0
> 
> Hello,
> 
> I have an ovirt cluster which runs CentOS VM. I have a template to
> create VM. On this template, there are two interfaces, eth0 and eth1.
> When I create a VM using this template, the new interfaces are named
> eth2 and eth3. It can be pretty annoying and I would like to know if it
> would be possible to always start by eth0 ?
> 
> If I remember the discussion on IRC, it would be necessary to clean old
> udev rules (in centos it seems to be
> /etc/udev/rules.d/70-persistent-net.rules)
> 
> Thanks,
> Regards,
> Grégoire
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 



More information about the Users mailing list