frankbustos
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?
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?
ASKER
ESX 2.0, ok I'll try that soon and give you an update. Thanks!
ASKER
Andrew,
when I enter the first command I get the error below?
bash: /etc/sysconfig/network-scr ipts/ifcfg -eth
no such file or directory
when I enter the first command I get the error below?
bash: /etc/sysconfig/network-scr
no such file or directory
what did you enter ?
e.g. what exactly did you type ?
e.g. what exactly did you type ?
ASKER
this
/etc/sysconfig/network-scr ipts/ifcfg -eth and I also tried this /etc/sysconfig/network-scr ipts/ifcfg -eth0
/etc/sysconfig/network-scr
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No that's why I'm asking for detail instructions
Do you know how to use vi to edit files ?
Unix/Linux editor ?
Unix/Linux editor ?
ASKER
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.
ASKER
Ok got it thanks I'll give you an update soon
ASKER
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.
ASKER
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!
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-scr
/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)