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 -n vswif0

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

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

Note: Only a member of this blog may post a comment.