Symptoms:
ip -6 neigh show dev antrea-gw0 | grep <destination POD ipv6 address>
ip -6 addr show dev antrea-gw0
VMware Container Networking with Antrea
Link-Local address (fe80::/64) is missing for Antrea Gateway interface antrea-gw0 in destination worker node.
As per RFC 4861 section 2.3, all interfaces on routers must have a link-local address. Here the absence of the link local address of Antrea Gateway interface antrea-gw0 may affect the ipv6 neighbor discovery function.
When user check the setting for address generation for antrea-gw0 in destination worker node, its value is 1 which blocks the link local address generation.
Command "sysctl net.ipv6.conf.antrea-gw0.addr_gen_mode" has output 1:
net.ipv6.conf.antrea-gw0.addr_gen_mode=1
Permit auto generation of link local address for Antrea Gateway interface antrea-gw0:
sysctl -w net.ipv6.conf.antrea-gw0.addr_gen_mode=0sysctl -w net.ipv6.conf.antrea-gw0.disable_ipv6=1sysctl -w net.ipv6.conf.antrea-gw0.disable_ipv6=0
ip -6 addr show dev antrea-gw0
sysctl net.ipv6.conf.antrea-gw0.addr_gen_mode
cat <<EOF | sudo tee /etc/sysctl.d/99-antrea-ipv6.conf# Ensure dynamically created interfaces generate IPv6 Link-Local addressesnet.ipv6.conf.all.addr_gen_mode=0net.ipv6.conf.default.addr_gen_mode=0EOF
sudo sysctl --system