After upgrading ESXi from 7.0 or before 8.0 U1 to 8.0 U1a or leter, the default gateway shown by esxcli network ip interface ipv4 get changed to "0.0.0.0" for vmk that did not have a default gateway configured.
Note: Here is the example output. Environmental variables may vary depending on your own.
- ESXi 7.0
[root@esx:~] esxcli network ip interface ipv4 get
Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS
---- -------------- ------------- --------------- ------------ ------------- --------
vmk0 192.168.0.10 255.255.255.0 192.168.0.255 STATIC 192.168.0.1 false
vmk1 192.168.1.10 255.255.255.0 192.168.1.255 STATIC 192.168.0.1 false
- ESXi 8.0
[root@esx:~] esxcli network ip interface ipv4 get
Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS
---- -------------- ------------- --------------- ------------ ------------- --------
vmk0 192.168.0.10 255.255.255.0 192.168.0.255 STATIC 192.168.0.1 false
vmk1 192.168.1.10 255.255.255.0 192.168.1.255 STATIC 0.0.0.0 false
VMware vSphere ESXi 8.0
The command output has changed in ESXi 8.0 U1a.
The gateway setting has not changed and there is no impact.