How to add a static route to VMWare ESXi server


Posted by shroman

ESX console "unsupported" trick to add static route to a ESXi host.

How to add a static route to ESXi machine:

  1. Login to local console
  1. Hit Alt+F1
  1. Type (there is no feedback):
    unsupported
  1. Console will show Password prompt
  1. Enter root password
  1. Use esxcfg-route command to manipulate routing talbe entries
  2. e.g. #> esxcfg-route -a 192.168.1.0/24 192.168.2.2