To configure a second gateway for the management network:
Open a console to the ESX or ESXi host.
Run this command:
-
esxcfg-route -a target network netmask gateway
For example, to add a route to 192.168.100.0 network through 192.168.0.1
run one of these command:
- esxcfg-route -a 192.168.100.0/24 192.168.0.1
-
esxcfg-route -a 192.168.100.0 255.255.255.0 192.168.0.1
The command esxcfg-route -l lists the current routing table.
VMware KB article
No comments:
Post a Comment