Link to home
Start Free TrialLog in
Avatar of frankbustos
frankbustosFlag for United States of America

asked on

Change IP address on ESX 2.0 server via command line interface

Hi experts,
 I have an ESX 2.0 server and I'm at the root. How can I change the IP address, subnet mask and default gateway?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Is this ESX 2.0 or VMware Server 2.0 ?

if this is ESX 2.0, you will need to change the IP Address of the Service Console, and this is done by editing the following files, like with an early version of Red Hat Linux, which ESX 2.0 is based on!

/etc/sysconfig/network-scripts/ifcfg-eth
/etc/hosts
/etc/sysconfig/network

then restart networking, or reboot the host.

see here for further details

Changing the IP Address Used by the Service Console of the ESX Server System (1919)
Avatar of frankbustos

ASKER

ESX 2.0, ok I'll try that soon and give you an update. Thanks!
Andrew,
when I enter the first command I get the error below?
bash: /etc/sysconfig/network-scripts/ifcfg-eth
no such file or directory
what did you enter ?

e.g. what exactly did you type ?
this
/etc/sysconfig/network-scripts/ifcfg-eth and I also tried this /etc/sysconfig/network-scripts/ifcfg-eth0
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No that's why I'm asking for detail instructions
Do you know how to use vi  to edit files ?

Unix/Linux editor ?
Yes I do
okay, so edit the files with vi , when you have the files open, you'll see the old IP Address, change to new IP Address, and save the files, and restart the server.
Ok got it thanks I'll give you an update soon
ok, I've made the changes restart network services but can't ping gateway or system. I have confirmed and the ip address have taken place. I'm rebooting now to see if that makes a difference.
thanks Andrew for being patient. it's up and running now.
That's no problem, there aren't too many VMware Specialists, that remember or have used ESX 1.0 - 2.0, we still have a ESX 2.54 in production!