VMware Cloud Community
jhouser
Contributor
Contributor
Jump to solution

What are the command line utilities that will allow me to change an IP address at the server?

I have an ESX 3.5 Update 2 installed and I need to change the IP address for the Service Console at the server. I do not have the server in the VIC yet, the server is on a secure subnet and I need to change the IP address to the secure subnet IP. Can someone let me know where I can find the commands to do that?

Thank you,

John

0 Kudos
1 Solution

Accepted Solutions
5 Replies
mikepodoherty
Expert
Expert
Jump to solution

Are you trying to change the server's IP address - esxcfg-vswif works - use esxcfg-vswif -h to see the format (it is very similar to the ifconfig format).

0 Kudos
jhouser
Contributor
Contributor
Jump to solution

Yes, I am trying to change the IP address, NetMask and the Gateway of the server. Is the command:

esxcfg-vswif -i --ip x.x.x.x -n --netmask x.x.x.x ?

Please let me know.

Thanks

0 Kudos
Lightbulb
Virtuoso
Virtuoso
Jump to solution

Here check out this link for a rundown of the esxcfg commands (with examples)

http://www.b2v.co.uk/b2vguide2vmware3.htm

0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

0 Kudos
jhouser
Contributor
Contributor
Jump to solution

Thank you. It worked great.

John

0 Kudos