ESX 3.5 – Change the default gateway
From the command prompt enter
Netstat –nr — this Command will help you to id the actual gateway address
You now need to change your default gateway, you can do this by editing the network file located at /etc/sysconfig/network. To do this at the command prompt, follow the steps below.
“cd /etc/sysconfig”
“vi network”
Then while in vi, go to the location of the default gateway using the arrow keys.
Hit “i” which will perform an insert and change the default gateway to your liking.
Hit the escape key twice to exit insert mode.
type “:wq” to write (i.e save) and quit.