A quick post to show how to create and view routes on a ESXI Host:
The following cmd shows the list of options:
esxcfg-route -h
To set the VMkernel default gateway:
esxcfg-route -a default <IP address>
or
esxcfg-route <IP Address>
To view the arp table:
esxcfg-route -n
To add a route:
esxcfg-route -a 192.168.100.0 255.255.255.0 192.168.0.1
or
esxcfg-route -a 192.168.100.0/24 192.168.0.1
To delete a route:
esxcfg-route -d 192.168.100.0/24 192.168.0.1
Leave a Reply