VMware Cloud Community
rhummels
Contributor
Contributor
Jump to solution

SC IP changed, but console is showing old IP

Hi!

I've changed the IP of my ESX host using the esxcfg-vswif command. The change was sucessfully, but after a reboot, the old IP is showing on the "Welcome-screen"... Where does ESX get this IP from? I've checked both esxcfg-vswif -l & ifcfg-vswif0, both reporting the new IP...

Regards,

Rune

Reply
0 Kudos
1 Solution

Accepted Solutions
demz
Expert
Expert
Jump to solution

and a look to the /etc/sysconfig/network-scripts/ifcfg-vswif0 file too no ?

View solution in original post

Reply
0 Kudos
5 Replies
Dave_Mishchenko
Immortal
Immortal
Jump to solution

See if /etc/hosts has the old IP address and if so update it and reboot.

Reply
0 Kudos
demz
Expert
Expert
Jump to solution

and what the ifconfig command says ?

Reply
0 Kudos
Santhosh_vmware
Jump to solution

Hi,

You probably have to check following files

#/etc/hosts

#/etc/esx.conf

For more info refer to following link

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=430949...

regards

santhosh

Reply
0 Kudos
demz
Expert
Expert
Jump to solution

and a look to the /etc/sysconfig/network-scripts/ifcfg-vswif0 file too no ?

Reply
0 Kudos
rhummels
Contributor
Contributor
Jump to solution

Updating the hostfile resolved my problem :smileygrin: Thx

Regards,

Rune

Reply
0 Kudos