troubleshooting arp mac esxi vmkernel storage
The guys were getting some new storage setup and had the IP address set incorrectly. Usually a vmkping would be enough to prove the vmkernel interfaces were setup correctly but the vendor came back with “the firewall is blocking NFS” so I needed a way to see the ARP table to prove the MAC for the NAS was showing up on the correct VMK interface with no gateway in the data path.
This was tested to work on latest ESXi version 5 build 469512.
Here are the results:
~ # vmkping 10.2.150.104
PING 10.42.150.104 (10.2.150.104): 56 data bytes
64 bytes from 10.2.150.104: icmp_seq=0 ttl=64 time=0.201 ms
64 bytes from 10.2.150.104: icmp_seq=1 ttl=64 time=0.187 ms
— 10.42.150.104 ping statistics —
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 0.187/0.194/0.201 ms
~ # esxcfg-vmknic -l
Interface Port Group/DVPort IP Family IP Address Netmask Broadcast MAC Address MTU TSO MSS Enabled Type
vmk0 Management Network IPv4 1.2.5.158 255.255.255.248 1.2.5.159 00:25:90:52:91:21 1500 65535 true STATIC
vmk1 VMkernel-152 IPv4 10.2.152.158 255.255.255.0 10.2.152.255 00:50:56:76:23:45 1500 65535 true STATIC
vmk2 VMkernel-150 IPv4 10.2.150.158 255.255.255.0 10.2.150.255 00:50:56:70:34:56 1500 65535 true STATIC
~ # esxcli network ip neighbor list
Neighbor Mac Address Vmknic Expiry State
————– —————– —— ————– —–
10.2.150.104 00:50:56:2a:12:34 vmk2 993 sec
Reference:
Displaying the ARP and Neighbor Discovery cache for VMkernel network interfaces