Closed cangyin closed 9 months ago
Hi @cangyin , thanks for reaching out.
A. Regarding [1] seems that ping resolved out network interface for destIP=240.74.124.52 to some interface with MTU of size 1400. can you share the routing table ?
Also you can try adding '-I
B. Can you share the output of
subctl verify --only connectivity --context <kubeContext1> --tocontext <kubeContext2>
and
subctl verify --only connectivity --packet-size 500 --context <kubeContext1> --tocontext <kubeContext2>
?
[1]
ping -M do -s 1420 240.74.124.52 PING 240.74.124.52 (240.74.124.52) 1420(1448) bytes of data. ping: local error: message too long, mtu=1400 ping: local error: message too long, mtu=1400
I changed the NIC for the VM from RealTek to Intel, and it works. The MTU size becomes all the same as 1450 for each hosts.
@yboaron Thanks!
What happened: Non-gateways nodes cannot ping gateway nodes via
vx-submariner
interface. Tcpdump printsneed to frag (mtu 1450)
but the MTU reported byping
command is 1400.I setup 2 clusters each with 3 hosts and installed submariner with libreswan cable driver. Broker is deployed in the first cluster.
submariner in the second cluster functions normally, and I can ping gateway nodes from non-gateways via
vx-submariner
interface, i.e. ping 240.x.x.x.But in the first cluster, it does not. There is some error from tcpdump complaining about MTU size:
When I do MTU probing with ping command on non gateway node:
It says MTU be 1400 ?
While in the second cluster the reported MTU is 1450, which is correct:
These are the MTU sizes for all interfaces in the first cluster
On non gateway node:
On gateway node:
The
need to frag
error also occurs in the second cluster, but less frequently.What you expected to happen: No
need to frag
error from tcpdumpHow to reproduce it (as minimally and precisely as possible): I don't know how to reproduce it, please help me diagnose the problem, it's really appreciated. I have been struggling on it for about a month.
Anything else we need to know?:
Environment:
subctl diagnose all
): All green ! Yes, all green ! 'subctl diagnose all | cni | connections | deployment | firewall | k8s-version | kube-proxy-mode | service-discovery 'subctl gather
):version: 0.16.2