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,057 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
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.
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 install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

760 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

27 Experts available now in Live!

Get 1:1 Help Now