Wondering why any vmkernel interface can ping any IP address, even if its on a different subnet?
Example, vmk4 is on 10.250.10.4 255.255.255.0 and vmk0 on 10.1.1.56 255.255.0.0.
But the following works:
~ # vmkping -I vmk0 10.250.10.10
PING 10.250.10.10 (10.250.10.10): 56 data bytes
64 bytes from 10.250.10.10: icmp_seq=0 ttl=255 time=0.122 ms
64 bytes from 10.250.10.10: icmp_seq=1 ttl=255 time=0.109 ms
64 bytes from 10.250.10.10: icmp_seq=2 ttl=255 time=0.113 ms
--- 10.250.10.10 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.109/0.115/0.122 ms
How is that possible because 10.250.10.* should not be reachable from 10.1.*.* from vmk0
Here's the routing table
~ # esxcfg-route -l
VMkernel Routes:
Network Netmask Gateway Interface
1.1.1.0 255.255.255.0 Local Subnet vmk1
10.250.10.0 255.255.255.0 Local Subnet vmk4
10.1.0.0 255.255.0.0 Local Subnet vmk0
10.10.0.0 255.255.0.0 Local Subnet vmk2
default 0.0.0.0 10.1.0.254 vmk0
The gateway 10.1.0.254 has no physical connectivity to 10.250.10.* subnet at all. 10.250.10.* is separate physical switches for storage nfs traffic.
vmk0 - management
vmk1 - vmotion
vmk2 - 1gbe existing storage
vmk4 - 10gbe new storage