From the service console:
“esxcfg-vswif -d vswif0″ – This command deletes the existing vswif0.
Then;
“esxcfg-vswif -a vswif0 -p Service\ Console -i 10.1.1.1 -n 255.255.255.0 -b 10.1.1.255″
In this command the -a switch is to add a vswif, the \ in the Service\ Console is deliberate, the -i is the ip address, the -n is the netmask and the -b is the broadcast address.
You now need to change your default gateway, you can do this by editing the network file located at /etc/sysconfig/network
snipped from: http://vmblog.com/archive/2006/12/20/changing-the-ip-address-of-service-console-in-esx-3-x.aspx
