Ubuntu static ip not stick after reboot
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/
auto eth0
iface eht0 inet static
address 86.128.134.145
network 86.128.130.0
netmask 255.255.255.0
gateway 86.128.134.1
auto eth1
iface eht1 inet static
address 86.128.224.81
network 86.128.224.0
netmask 255.255.254.0
gateway 86.128.224.1
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.
Details
Converter - VMware vCenter Converter Standlone v6.2.0 (build 8466193)
Vcenter - vSphere Client version 7.0.3.00300
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
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Saiful Amri for more information if necessary.