[root@esxi1:~] vmkping -I vmk2 -d -s 8972 10.##.##.10;PING 10.##.##.10 (10.##.##.10): 8972 data bytes
--- 10.##.##.10 ping statistics ---3 packets transmitted, 0 packets received, 100% packet loss
In above example the vSAN node is configured with MTU 9000 hence we are using MTU value of 8972 for vmkping to test network connectivity with another vSAN node.
Refer KB # vSAN skyline health reports errors:vSAN: MTU check (ping with large packet size)
esxcli vsan cluster get' Output where the member count is in reduced value when compared to actual member count value of the vSAN Cluster. esxi1# esxcli vsan cluster getCluster Information Enabled: true Current Local Time: 2019-09-03T07:02:40Z Local Node UUID: ########-####-####-####-########7c0e Local Node Type: NORMAL Local Node State: MASTER Local Node Health State: HEALTHY Sub-Cluster Master UUID: ########-####-####-####-########7c0e Sub-Cluster Backup UUID: Sub-Cluster UUID: ########-####-####-####-########2f67 Sub-Cluster Membership Entry Revision: 0 Sub-Cluster Member Count: 1 Sub-Cluster Member UUIDs: ########-####-####-####-########7c0e Sub-Cluster Member HostNames: NODE2 Sub-Cluster Membership UUID: ########-####-####-####-########7c0e Unicast Mode Enabled: true Maintenance Mode State: OFF Config Generation: ########-####-####-####-########9e01 12 2019-08-19T09:12:12.1vmkernel: cpu77:2099751)CMMDS: LeaderBuildHeartbeatMessage:2430: ##########-####-####-####-#########: [40131563]:Current membership uuid ##########-####-####-####-######### has 1 members vmkernel: cpu77:2099751)CMMDS: CMMDSUtil_PrintArenaEntry:98: ##########-####-####-####-#########: [40131569]:Adding a new Membership entry (##########-####-####-####-#########) with 1 members:
VMware vSAN (All Versions)
Step 1: Verify Network HealthIf the underlying network issue affecting vSAN nodes is resolved, both the vSAN cluster partition and MTU-related issues should automatically clear without further intervention.
Step 2: Verify there is manual changes at ESXi level firewall rules for vSAN Traffic and ensure the firewall rules to allow all IP Address for "vSAN Transport" and "vSAN Clustering services".
Note :As per Broadcom Techdocs : vSAN Network Port Requirements document : "When you enable vSAN on a cluster, all required ports are added to ESXi firewall rules and configured automatically. There is no need for an administrator to open any firewall ports or enable any firewall services manually."Step 3: Proceed with Additional Checks (if issue persists)If the network problem is not yet resolved, continue with the following checks:1: vmkping test to check vSAN network connectivity issue.Packets get dropped upon ping to VSAN vmkernel.NODE2# vmkping -I vmk2 192.##.##.### -c 1000PING 192.168.x.xxx (192.168.x.xxx): 56 data bytes64 bytes from 192.##.##.###: icmp_seq=2 ttl=64 time=0.133 ms64 bytes from 192.##.##.###: icmp_seq=3 ttl=64 time=0.111 ms64 bytes from 192.##.##.###: icmp_seq=4 ttl=64 time=0.129 ms64 bytes from 192.##.##.###: icmp_seq=5 ttl=64 time=0.133 ms64 bytes from 192.##.##.###: icmp_seq=6 ttl=64 time=0.137 ms64 bytes from 192.##.##.###: icmp_seq=7 ttl=64 time=0.140 ms64 bytes from 192.##.##.###: icmp_seq=8 ttl=64 time=0.141 ms64 bytes from 192.##.##.###: icmp_seq=9 ttl=64 time=0.127 ms64 bytes from 192.##.##.###: icmp_seq=10 ttl=64 time=0.139 ms64 bytes from 192.##.##.###: icmp_seq=11 ttl=64 time=0.087 ms<======= Sequence missed64 bytes from 192.##.##.###: icmp_seq=37 ttl=64 time=0.137 ms<======= Sequence missed64 bytes from 192.##.##.###: icmp_seq=38 ttl=64 time=0.151 ms2: Packet Capture Analysis to validate if there is any underlying network issue.Packet capture shows UDP traffic is working but We have seen the "sequence 11 is followed by sequence 37"# pktcap-uw --uplink vmnic4 --dir 0 --stage 1 --proto 0x11 -o -| tcpdump-uw -r - -nne >> Run this command on one of the data node where uplink 4 is used for vSAN vmkernel.
----- Output of the above command is as below -----The Stage is Post.The session filter IP protocol is 0x11.pktcap: The output file is -.pktcap: No server port specifed, select 21248 as the port.pktcap: Local CID 2.pktcap: Listen on port 21248.reading from file -, link-type EN10MB (Ethernet)pktcap: Accept...pktcap: Vsock connection from port 1029 cid 2.07:39:15.068063 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 178: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 13607:39:16.068090 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 178: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 13607:39:17.068136 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 258: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 21607:39:17.068162 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 186: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 14407:39:18.068157 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 258: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 21607:39:18.068186 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 186: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 14407:39:19.068208 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:20.068203 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:21.068238 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:22.068288 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:23.068326 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:24.068347 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:25.068365 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:26.068417 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 242: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 20007:39:27.068432 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 466: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 42407:39:28.068511 ##:##:##:##:##:90 > ##:##:##:##:##:93, ethertype IPv4 (0x0800), length 466: 192.##.##.###.12321 > 192.##.##.###.12321: UDP, length 424The same packet capture with ICMP filter shows more drops:# pktcap-uw --uplink vmnic5 --dir 0 --stage 0 --proto 0x01 -o -|tcpdump-uw -r - -nneThe name of the uplink is vmnic5.The Stage is Pre.The session filter IP protocol is 0x01.pktcap: The output file is -.pktcap: No server port specifed, select 42606 as the port.pktcap: Local CID 2.pktcap: Listen on port 42606.reading from file -, link-type EN10MB (Ethernet)pktcap: Accept...pktcap: Vsock connection from port 1026 cid 2.
07:45:06.559790 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 98, length 6407:45:07.561992 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 99, length 6407:45:08.562521 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 100, length 6407:45:09.564725 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 101, length 6407:45:10.566928 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 102, length 6407:45:11.569107 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 103, length 6407:45:27.598571 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 119, length 64 <======== show sequence missed again.07:45:28.600526 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 120, length 6407:45:29.602738 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 121, length 6407:45:30.604959 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 122, length 6407:45:31.607195 ##:##:##:##:##:93 > ##:##:##:##:##:90, ethertype IPv4 (0x0800), length 98: 192.##.##.### > 192.##.##.###: ICMP echo request, id 36438, seq 123, length 64NODE2# esxcli network ip interface ipv4 getName IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS---- ------------- --------------- -------------- ------------ ------------- --------vmk0 10.12.##.## 255.###.###.### 10.12.###.255 STATIC 10.12.##.## falsevmk2 192.168.##.## 255.###.###.# 192.168.###.255 STATIC 0.0.0.0 falsevmk3 192.168.##.## 255.###.###.0 192.168.###.255 STATIC 0.0.0.0 falseNODE1# esxcli network ip interface ipv4 getName IPv4 Address IPv4 Netmask IPv4 Broadcast Address Type Gateway DHCP DNS---- ------------- --------------- -------------- ------------ ------------- --------vmk0 10.12.###.### 255.255.###.### 10.##.###.255 STATIC 10.12.###.### falsevmk2 192.168.#.### 255.255.###.### 192.168.#.### STATIC 0.0.0.0 falsevmk3 192.168.#.## 255.255.###.### 192.168.#.### STATIC 0.0.0.0 falseIsolating 1 NIC shows 100 % packet loss:NODE2# esxcli network nic listName PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description------ ------------ ------- ------------ ----------- ----- ------ ----------------- ---- -----------------------------------------------------------------vmnic0 0000:18:##.## ntg3 Up Up 1000 Full ##:##:##:##:##:0c 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic1 0000:18:##.## ntg3 Up Down 0 Half ##:##:##:##:##:0d 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic2 0000:19:##.## ntg3 Up Up 1000 Full ##:##:##:##:##:0e 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic3 0000:19:##.## ntg3 Up Down 0 Half ##:##:##:##:##:0f 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic4 0000:87:##.## qedentv Down Down 0 Half ##:##:##:##:##:2c 1500 QLogic Corp. QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet Adaptervmnic5 0000:87:##.## qedentv Up Up 10000 Full ##:##:##:##:##:2d 1500 QLogic Corp. QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet AdapterNODE2#vmkping -I vmk2 192.168.#.### -c 100 -i 0.005PING 192.168.#.### (192.168.#.###): 56 data bytes--- 192.168.x.xxx ping statistics ---100 packets transmitted, 0 packets received, 100% packet lossBringing up other NIC and making faulty down show packet is not lost by verifying it on esxtop command and selecting option "n" to see association between NIC and vmkernel port.NODE2# esxcli network nic up -n vmnic4NODE2#esxcli network nic listName PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description------ ------------ ------- ------------ ----------- ----- ------ ----------------- ---- -----------------------------------------------------------------vmnic0 0000:18:##.# ntg3 Up Up 1000 Full ##:##:##:##:##:0c 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic1 0000:18:##.# ntg3 Up Down 0 Half ##:##:##:##:##:0d 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic2 0000:19:##.# ntg3 Up Up 1000 Full ##:##:##:##:##:0e 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic3 0000:19:##.# ntg3 Up Down 0 Half ##:##:##:##:##:0f 1500 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernetvmnic4 0000:87:##.# qedentv Up Up 10000 Full ##:##:##:##:##:2c 1500 QLogic Corp. QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet Adaptervmnic5 0000:87:##.# qedentv Up Up 10000 Full ##:##:##:##:##:2d 1500 QLogic Corp. QLogic FastLinQ QL41xxx 1/10/25 GbE Ethernet AdapterNODE2#esxcli network nic down -n vmnic5NODE02# vmkping -I vmk2 192.xxx.x.xxx-c 100 -i 0.005PING 192.168.x.xxx (192.xxx.x.xxx): 56 data bytes64 bytes from 192.168.#.###: icmp_seq=0 ttl=64 time=0.148 ms64 bytes from 192.168.#.###: icmp_seq=1 ttl=64 time=0.069 ms64 bytes from 192.168.#.###: icmp_seq=2 ttl=64 time=0.066 ms64 bytes from 192.168.#.###: icmp_seq=3 ttl=64 time=0.072 ms64 bytes from 192.168.#.###: icmp_seq=4 ttl=64 time=0.068 ms64 bytes from 192.168.#.###: icmp_seq=5 ttl=64 time=0.061 msNIC was using latest driver.NODE2#vmkload_mod -s qedentvvmkload_mod module informationinput file: /usr/lib/vmware/vmkmod/qedentvVersion: 3.9.31.2-1OEM.670.0.0.8169922Build Type: releaseLicense: QLogic_ProprietaryRequired name-spaces:com.vmware.vmkapi#v2_5_0_0Parameters:Refer KB: Determining Network/Storage firmware and driver version in ESXiIf the vSAN network IP addresses are in different subnets, configure manual static routes in the routing table using the below kb article:Configuring static routes for vmkernel ports on an ESXi hostWorkaround:1. Isolated the faulty NIC in the standard switch with the working NIC. Select "load balancing" setting to "Route based on originating port ID"2. Moving the faulty NIC to standby.Please refer below KB foRefer Techdocs # Configure NIC Teaming, Failover, and Load Balancing on a vSphere Standard Switch or Standard Port GroupRefer KB # Understanding IP Hash load balancingRefer KB # Network adapter (vmnic) is down or fails with a Failed Criteria Code