Jump to content


0

VMware - Change vShphere service console ip-address


No replies to this topic

#1 t-zwck

t-zwck

    .::GhostInTheShell::.

  • Super Moderators
  • 759 posts
  • 9772 thanks

Posted 16 December 2009 - 02:42 PM

Change the ip address from the ESX 4.0 server it’s possible but not without danger. Make sure you’ve got ILO configured or can access directly to the server console.

Follow the next steps to change the ip address from mij vSphere hosts:

1. Put your ESX host in Maintenance Mode and disconect it from Virtual Center.

2. Give the following command:

esxcfg-vswif -a vswif0 -p Service Console -i 172.16.254.203 -n 255.255.255.0 -b 172.16.254.253

-i is the new IP adresse
-n is your new subnet
-b is your broadcast


Attached File  1.png   4.32K   28 downloads

3. Update your gateway: (not needed in my case, host must have the same gateway) by typing:

“nano /etc/sysconfig/network” (With CTRL+ X you can exit and save your changes)


Attached File  2.png   4.36K   25 downloads

4. Then you need to restart the interfac. Do a “esxcfg-vswif -s vswif0? (this will disable the vswif0 interface) and “esxcfg-vswif -e vswif0? (this will enable the vswif0 interface

Attached File  3.png   3.13K   26 downloads

5. Try to connect your vShphere host by the new ipaddress:

Attached File  4.png   13K   28 downloads

Great! It’s working  



Note: If you have changed your ipaddress to an other segment (other IP/Gateway/DNS) you need to change DNS servers, you can do this by vShphere Host > Configuration > DNS and Routing (not needed in my case)


Attached File  5.png   14.51K   27 downloads

Also don’t forgot reconnect your host in vCenter.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Organization

Community

Downloads

Test Providers

Site Info


Go to top