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
2,062 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
  • 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 500 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
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:

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now