The commands vicfg-route.pl (esxcfg-route.pl) are used to manage the default gateway for the VMkernel IP stack. The command is either run without any option, in which case the current configuration is shown or with the intended gateway for the VMkernel. If no gateway has been configured, then the message "No VMkernel NIC Configured" will be displayed.

Sample Session

vicfg-route.pl --server 192.168.1.33

No VMkernel NIC configured.

vicfg-route.pl --server 192.168.1.33 192.168.1.1

vicfg-route.pl --server 192.168.1.33

VMkernel default gateway is 192.168.1.1

The default gateway for the VMkernel IP stack can also be configured with the VI client.