Solved

Change IP address on ESX 2.0 server via command line interface

Posted on 2015-01-15
14
289 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
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…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

734 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