Vmware ESXI 5.x 添加静态路由

Configuring additional gateways for vmkernel ports on an ESXi host
This article provides a command to configure routes to additional gateways for vmkernel ports on an ESXi host.
Unlike ESX, ESXi does not have a service console. The management network is on a vmkernel port and therefore uses the default vmkernel gateway.

You can only add one gateway for the vmkernal interface through vSphere Client. However, you can configure additional gateways from the command line.

To configure a second gateway for the management network:

Open a console to the ESX or ESXi host. For more information, see Unable to connect to an ESX host using Secure Shell (SSH) (1003807) or Using Tech Support Mode in ESXi 4.1 (1017910).
Run this command:

esxcfg-route -a

For example, to add a route to network through, run one of these command:
esxcfg-route -a
esxcfg-route -a

Note: The changes are not seen or copied when using host profiles.
Additional Information

The command esxcfg-route -l lists the current routing table.