VMware Cloud Community
mikelane
Expert
Expert

VMWare converter - Ubuntu Networking, eth1 changes to eth2 after conversion from and to ESXi

Whenever I convert a Ubuntu Virtual Machine from ESXi to a regular virtual machine and then convert the machine back to ESXi something odd happens with the networking on the virtual machine.

If my ethernet connection was previously eth1 before conversion then after conversion back to ESXi it has become eth2.

This is not too big of a deal as I can edit /etc/networking/interfaces to change eth1 refernces to eth2 - but does anyone know why this happens, or if there is anything that can be done about it? Is there a way, for example for me to change eth2 to back to eth1?

Reply
0 Kudos
2 Replies
continuum
Immortal
Immortal

This is expected behaviour - in Ubuntu numbering of nics depends on the mac-entries - if the mac for the nic changes you'll get a new nic number because Ubuntu thinks the original nic is just out to lunch and may come back later in the evening.

To get back to normal edit the mac-related entries in your network configuration






___________________________________

description of vmx-parameters: http://sanbarrow.com/vmx.html

VMware-liveCD: http://sanbarrow.com/moa.html


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

mikelane
Expert
Expert

Thanks very much continuum, that makes perfect sense! :smileygrin:

Edit - this also helped me out:

Particularly this:

sudo rm /etc/udev/rules.d/70-persistent-net.rules

Reboot guest.

Reply
0 Kudos