The IP address of gateway by "esxcli network ip interface ipv4 get" command showed "0.0.0.0" after upgrading to ESXi 8.0.
search cancel

The IP address of gateway by "esxcli network ip interface ipv4 get" command showed "0.0.0.0" after upgrading to ESXi 8.0.

book

Article ID: 412519

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

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

Environment

VMware vSphere ESXi 8.0

Resolution

The command output has changed in ESXi 8.0 U1a.
The gateway setting has not changed and there is no impact.