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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

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…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

813 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

12 Experts available now in Live!

Get 1:1 Help Now