[root@esxiss:~] esxcli network ip route ipv4 listNetwork Netmask Gateway Interface Source---------- --------------- ---------- --------- ------default 0.0.0.0 172.16.0.1 vmk0 MANUAL10.55.0.0 255.255.0.0 0.0.0.0 vmk1 MANUAL172.16.0.0 255.255.255.0 0.0.0.0 vmk0 MANUAL172.16.4.0 255.255.255.192 0.0.0.0 vmk2 MANUAL
esxcli network ip route ipv4 add --gateway 172.16.0.1 --network 172.16.4.0/26
[root@esxiss:~] esxcli network ip route ipv4 listNetwork Netmask Gateway Interface Source---------- --------------- ---------- --------- ------default 0.0.0.0 172.16.0.1 vmk0 MANUAL10.55.0.0 255.255.0.0 0.0.0.0 vmk1 MANUAL172.16.0.0 255.255.255.0 0.0.0.0 vmk0 MANUAL172.16.4.0 255.255.255.192 172.16.0.1 vmk0 MANUAL