Hi,
I ran the command, I'm not getting an error. Can you check again?
[root@esxi01:~] vmware -vl
VMware ESXi 6.7.0 build-8169922
VMware ESXi 6.7.0 GA
[root@esxi01:~] esxcli network ip route ipv4 add --gateway 192.168.1.254 --network 172.23.100.0/24
[root@esxi01:~] esxcli network ip route ipv4 list
Network Netmask Gateway Interface Source
------------ ------------- ------------- --------- ------
172.23.100.0 255.255.255.0 192.168.1.254 vmk0 MANUAL
192.168.1.0 255.255.255.0 0.0.0.0 vmk0 MANUAL
[root@esxi01:~]