Changing Service Console IP Address in ESX 3.5

0 Comments ESX 3.5 Tips, ESXi 3.5 Tips, Networking, VMware

Actually this is not that difficult, but remember you will require console access to the server. Be sure to put the machine in Maintenance Mode then Disconnect it from Virtual Center. Then connect to the console of the ESX host;

  1. First we need to remove the old IP, the easiest way is to delete the vswif interface
    • esxcfg-vswif -d vswif0
      • replace vswif0 with the interface you’d like to remove
  2. Then we need to create a new vswif interface with our new IP address
    • esxcfg-vswif -a vswif0 -p Service\ Console -i -n -b
      • replace vswif0 with the interface you’d like to use
      • replace Service\ Console with the name of your Service Console portgroup (this is the default)
      • -i reflects your new IP
      • -n reflects your subnet
      • -b reflects your broadcast
  3. Now we need to update our default gateway
    • This is a simple change to the /etc/sysconfig/network file
  4. One last thing you’ll want to do after changing your gateway is reset the vswif interface, this will ensure it is connected as well as generate the new default gateway.
    • esxcfg-vswif -s vswif0 (this will disable the vswif0 interface)
    • esxcfg-vswif -e vswif0 (this will enable the vswif0 interface)

That’s it…. Now do NOT forget to update DNS and your HOSTS files, then I would suggest doing a ipconfig /flushdns on your VirtualCenter server before you attempt to re-connect the Host in VirtualCenter.

Interesting news… If you change your Service Console IP and your a host managed by VirtualCenter, SVMotion could stop working. The resolution I found was to put your host(s) into maintenance mode, disconnect, remove and re-add them. This will re-install the VC Agent and reconnect verifying the new IP, and SVMotion will work again.  Duncan Epping over at has also seen this and has a similar resolution listed on his website (, it also includes a change to the VC database, but we both did not need this step for it to work.