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 10.1.1.1 -n 255.255.255.0 -b 10.1.1.255

2201 Total Views 2 Views Today

Leave a Reply