pktcap-uw --uplink vmnicX --dir 0 --ethtype 0x88ccpktcap-uw --uplink vmnicX --dir 1 --ethtype 0x88ccVMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
This issue occurs because the Mellanox Network Interface Card (NIC) has a built-in hardware LLDP engine/agent in its firmware. When this hardware agent is enabled, it may 'trap' or drop outgoing LLDP packets generated by the ESXi before they reach the physical network wire, even though packet captures show the ESXi successfully forwarding them to the driver layer.
To resolve this issue, the hardware-level LLDP agent on the Mellanox NIC must be disabled to allow the ESXi to manage discovery protocol propagation.
Receiving from switch:
# pktcap-uw --uplink vmnic0 --dir 0 --ethtype 0x88cc -c 2 -o - | tcpdump-uw -ner -<Timestamp> <Source Mac> > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 703: LLDP, length 689: <Physical Switch FQDN>
Sending to physical switch:
# pktcap-uw --uplink vmnic0 --dir 1 --ethtype 0x88cc -c 2 -o - | tcpdump-uw -ner -<Timestamp> <Source Mac> > 01:80:c2:00:00:0e, ethertype LLDP (0x88cc), length 218: LLDP, length 204: <ESXi FQDN>