You are on page 1of 1

How to configure Service console IP on ESX SERVER

1) List virtual network switches by


esxcfg-vswitch –l
2) It is better to remove existing configuration and add new by following steps
3) To remove virtual network switch use
esxcfg-vswitch –d vSwitch0
4) Add virtual network switch by
esxcfg-vswitch -a vSwitch0
5) Then Add port group by
esxcfg-vswitch -A "Service Console1" vSwitch0
6) Configure virtual interface by
esxcfg-vswif -a -i 10.217.60.24 -n 255.255.252.0 -p "Service Console1" vswif1
7) Add
GATEWAYDEV=vswif1 entry in /etc/sysconfig/network file
8) Disable interface by
esxcfg-vswif -s vswif1
9) Enable interface by
esxcfg-vswif -e vswif1
10) List out physical nics on machine by
esxcfg-nics –l (eg: vmnic0, vmnic1, vmnic2 etc..)
11) Link one of physical link to your virtual switch by
esxcfg-vswitch --link=vmnic2 vSwitch0

You might also like