[Archive.is] esxi what is my ip – Google Search:
esxcli network Commands
Command Description network ip dns server remove Remove a DNS server from the list of DNS servers to use for this ESXi host. network ip get Get global IP settings network ip interface add Add a new VMkernel network interface. network ip interface ipv4 get Get IPv4 settings for VMkernel network interfaces.
More columns and rows of that table in
[WayBack] vSphere Documentation Center: vSphere 5 Command Line Documentation > vSphere Command-Line Interface Documentation > vSphere Command-Line Interface Reference: esxcli network Commands
Not much has changed since, so this still works:
[root@ESXi-X9SRI-3F:/] esxcli network ip interface ipv4 get Name IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS ---- ------------- ------------- -------------- ------------ ------------ -------- vmk0 192.168.71.94 255.255.255.0 192.168.71.255 DHCP 192.168.71.1 true [root@ESXi-X9SRI-3F:/] network ip interface ipv6 get Name IPv6 Enabled DHCPv6 Enabled Router Adv Enabled DHCP DNS Gateway ---- ------------ -------------- ------------------ -------- ------- vmk0 true false true false ::
If the box has IPv6 configured, the last command would have shown the IPv6 vmdk
information as well.
–jeroen