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?
frankbustosAsked:
Who is Participating?
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
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

do you not know how to edit files on Linux/Unix ?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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)
0
 
frankbustosAuthor Commented:
ESX 2.0, ok I'll try that soon and give you an update. Thanks!
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
frankbustosAuthor Commented:
Andrew,
when I enter the first command I get the error below?
bash: /etc/sysconfig/network-scripts/ifcfg-eth
no such file or directory
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
what did you enter ?

e.g. what exactly did you type ?
0
 
frankbustosAuthor Commented:
this
/etc/sysconfig/network-scripts/ifcfg-eth and I also tried this /etc/sysconfig/network-scripts/ifcfg-eth0
0
 
frankbustosAuthor Commented:
No that's why I'm asking for detail instructions
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Do you know how to use vi  to edit files ?

Unix/Linux editor ?
0
 
frankbustosAuthor Commented:
Yes I do
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
frankbustosAuthor Commented:
Ok got it thanks I'll give you an update soon
0
 
frankbustosAuthor Commented:
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.
0
 
frankbustosAuthor Commented:
thanks Andrew for being patient. it's up and running now.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.