1- log by ssh to the ESXi
2- add the route to the interfaces file
http://www.ubuntugeek.com/howto-add-permanent-static-routes-in-ubuntu.html
/etc/network/interfaces
and the static routes in the following format:
up route add [-net|-host] <host/net>/<mask> gw <host/IP> dev <Interface>