Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Change IP address on ESX 2.0 server via command line interface

Posted on 2015-01-15
14
Medium Priority
?
292 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
  • 8
  • 6
14 Comments
 
LVL 124
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
Cyber Threats to Small Businesses (Part 1)

This past May, Webroot surveyed more than 600 IT decision-makers at medium-sized companies to see how these small businesses perceived new threats facing their organizations.  Read what Webroot CISO, Gary Hayslip, has to say about the survey in part 1 of this 2-part blog series.

 
LVL 124
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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 124
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 124
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 124
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

963 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