Ubuntu static ip not stick after reboot

Asked by Saiful Amri

We encounter this issue with several vm (ubuntu, centos) that we have migrate using VMWare converter.

The IP are mostly in this format 86.128.xxx.xx

Full ip address located in /etc/network/interface

auto eth0
iface eht0 inet static

auto eth1
iface eht1 inet static

I have run sudo command to change the ip address and able to view the correct ip after restart the network but everytime we reboot the OS it will return back to 86.xxx.xxx.xxx.

This issue happen after we migrate the OS to VCenter.

Workaround done:
remove the existing vNIC on Vcenter and readding back but the issue still happen.

Converter - VMware vCenter Converter Standlone v6.2.0 (build 8466193)
Vcenter - vSphere Client version
OS affected - Ubuntu 12.04..14.04 & 16.04, Centos 6.10

As a noted, I have around 40vm migrated only some of the server encounter this issue. It was not because of the OS version since some of the ubuntu 12.04, 14.04 & 16.04 is able to migrated.

Anyone encounter this problem before?

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :

Ubuntu 12.04, 14.04 and 16.04 are end of life and no longer supported by anyone.

I suggest you upgrade to a supported release. Ubuntu 22.04 is out and is LTS

Can you help with this problem?

Provide an answer of your own, or ask Saiful Amri for more information if necessary.

To post a message you must log in.