Solved

Change IP address on ESX 2.0 server via command line interface

Posted on 2015-01-15
14
290 Views
Last Modified: 2015-01-16
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?
0
Comment
Question by:frankbustos
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 8
  • 6
14 Comments
 
LVL 121
ID: 40552349
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
 

Author Comment

by:frankbustos
ID: 40552364
ESX 2.0, ok I'll try that soon and give you an update. Thanks!
0
 

Author Comment

by:frankbustos
ID: 40552405
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
Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

 
LVL 121
ID: 40552414
what did you enter ?

e.g. what exactly did you type ?
0
 

Author Comment

by:frankbustos
ID: 40552422
this
/etc/sysconfig/network-scripts/ifcfg-eth and I also tried this /etc/sysconfig/network-scripts/ifcfg-eth0
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40552431
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
 

Author Comment

by:frankbustos
ID: 40552527
No that's why I'm asking for detail instructions
0
 
LVL 121
ID: 40552536
Do you know how to use vi  to edit files ?

Unix/Linux editor ?
0
 

Author Comment

by:frankbustos
ID: 40552543
Yes I do
0
 
LVL 121
ID: 40552549
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
 

Author Comment

by:frankbustos
ID: 40552551
Ok got it thanks I'll give you an update soon
0
 

Author Comment

by:frankbustos
ID: 40552646
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
 

Author Closing Comment

by:frankbustos
ID: 40554599
thanks Andrew for being patient. it's up and running now.
0
 
LVL 121
ID: 40554618
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

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question