Friday, December 10, 2010

How to administer the service console's ip address

How to repair the ip address of the service console:

1. View the current state of the vswif interface by typing:
# esxcfg-vswif -l ; ifconfig vswif0

2.  Modify the ip address by typing:
# esxcfg-vswif -i 10.1.1.1 -n 255.255.255.0 vswif0

3. Add the vswif interface if needed by typing:
# esxcfg-vswif -a vswif0 -p "Service Console" -i 10.1.1.1 -n 255.255.255.0

4. Verify vswif information by typing:
# cat /etc/sysconfig/network

Note: Esxi uses a vmkernel port so the commands are different.
On esxi, type esxcfg-vmknic and notice the examples at the end
of the output.

No comments:

Post a Comment