How to convert your dhcp ip address in to static address in your ESX host.

First off take notes of your current DHCP ip details, by passing the command below.

esxcfg-vswif -l

Then remove vswif0 by issuing the below command

esxcfg-vswif -d vswif0

Then type the below command by specifying correct ip details captured in the first step. Remember this is case sensitive ( i = Ip address, n = Subnet mask, b = broadcast )

esxcfg-vswif -a vswif0 -p Service\ Console -i -n -b

5170 Total Views 2 Views Today

Leave a Reply