Solved

Change IP address on ESX 2.0 server via command line interface

Posted on 2015-01-15
14
288 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 120
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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

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

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 120
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 120
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 120
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Horizon View Custom Scaling on VM 2 39
time esx vm's to reboot 4 61
What are the purpose of ESXi local storage usage ? 5 82
Migrating hosts to new vCenter server 5 62
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
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:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

733 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