?
Solved

vmware esx 3.5 Need to change host ip from 192.168.0.90 to 192.168.1.90

Posted on 2008-10-30
4
Medium Priority
?
2,097 Views
Last Modified: 2012-05-05
I am moving a test vmware esx server from one subnet to another.  The host as one NIC with an IP address of 192.168.0.190.  I am moving the host to a differetn network and the new ip address for the host esx server will become 192.168.1.190.  There are 6 VMs on the machine and they have been reset to DHCP unitl the host gets onto the new subnet.

I am hoping for  away to change this through the VI client.

Thanks.
0
Comment
Question by:martinmcginley
[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
  • 2
  • 2
4 Comments
 
LVL 1

Expert Comment

by:davebartlett123
ID: 22842573
Hi there

Point Infrastructure Client to 192.168.0.190 and select the host with IP 192.168.0.190. Click on configuration.  Under Hardware, click Networking and select Properties on the right. Select Management Network and click edit. Under the general tab, you can change your address to 192.168.1.190.

Don't forget to update your default gateway.  Also DNS plays a major role in VMotion etc so ensure that is up to date with new A record info.

If you need console commands to achieve this, let me know and I'll paste them into this thread.
0
 

Author Comment

by:martinmcginley
ID: 22843184
when i click on Network and select properties I dont get "Management Network" - I Have 2 tabs: port and network adapters:  Under ports is vswitch - vmnetwork-service console.  am i in the right place ?
0
 

Author Comment

by:martinmcginley
ID: 22844930
can you give me the console command please
0
 
LVL 1

Accepted Solution

by:
davebartlett123 earned 2000 total points
ID: 22848566
Service-console is correct in VI client.  You can set the IP address through here.  If required, use the following console commands:

esxcfg-vswif -d vswif0
(deletes existing virtual switch - ignore nothing to flush statement)

esxcfg-vswif -a vswif0 -p Service\ Console -i 192.168.1.190 -n 255.255.255.0 -b 192.168.1.255
(recreates vswitch0 , assigns the service console, gives it the IP address, netmask and broadcast)

You now need to change your default gateway, you can do this by editing the network file located at /etc/sysconfig/network. To do this at the console prompt, follow the steps below.

cd /etc/sysconfig
vi network
Then while in vi, go to the location of the default gateway using the arrow keys.
Hit "i" which will perform an insert and change the default gateway to your liking.
Hit the escape key twice to exit insert mode.
type ":wq!" to write (i.e save) and quit.

Restart the ESX host and point VI Client to new 192.168.190 address.

Hope this helps.

Dave

0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
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.
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

801 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