Closed alexandremahdhaoui closed 1 month ago
icmp and icmpv6 are .... complicated, hence we didn't implemented (yet) ... @siwiutki had some branch with a prototype
Can you test with tcp or udp? do curl -v www.github.com
per example
syncing iptables is every 5 mins by default, so it may not be the problem, let's validate TCP and UDP NAT64 works
Thanks for the suggestion, I tried it out and you'll find the results displayed below.
Additionally, I'd be happy to help develop a solution and contribute to the project if possible.
bash-5.0# curl -v github.com
* Trying 64:ff9b::8c52:7904:80...
* connect to 64:ff9b::8c52:7904 port 80 failed: Operation timed out
* Failed to connect to 64:ff9b::8c52:7904 port 80 after 135490 ms: Operation timed out
* Closing connection 0
curl: (28) Failed to connect to 64:ff9b::8c52:7904 port 80 after 135490 ms: Operation timed out
Or
bash-5.0# ssh github.com
Yields the same output
22:37:01.058148 IP6 test.42760 > lb-140-82-121-4-fra.github.com.80: Flags [S], seq 2428981892, win 64800, options [mss 1440,sackOK,TS val 2022456602 ecr 0,nop,wscale 7], length 0
22:37:02.081953 IP6 test.42760 > lb-140-82-121-4-fra.github.com.80: Flags [S], seq 2428981892, win 64800, options [mss 1440,sackOK,TS val 2022457626 ecr 0,nop,wscale 7], length 0
22:37:04.130980 IP6 test.42760 > lb-140-82-121-4-fra.github.com.80: Flags [S], seq 2428981892, win 64800, options [mss 1440,sackOK,TS val 2022459675 ecr 0,nop,wscale 7], length 0
22:37:08.161973 IP6 test.42760 > lb-140-82-121-4-fra.github.com.80: Flags [S], seq 2428981892, win 64800, options [mss 1440,sackOK,TS val 2022463706 ecr 0,nop,wscale 7], length 0
xx@host:~$ argocd repo add git@github.com:OWNER/REPO.git --ssh-private-key-path [...]
127.0.0.1:43459ERRO[0133] finished unary call with code Unknown error="rpc error: code = Unknown desc = error testing repository connectivity: dial tcp [64:ff9b::8c52:7904]:22: connect: connection timed out" grpc.code=Unknown grpc.method=ValidateAccess grpc.service=repository.RepositoryService grpc.start_time="2024-09-05T22:23:40Z" grpc.time_ms=133537.72 span.kind=server system=grpc
FATA[0133] rpc error: code = Unknown desc = error testing repository connectivity: dial tcp [64:ff9b::8c52:7904]:22: connect: connection timed out
(please use the -n
flag in tcpdump to get the IP address on the traces)
Ok, let's do a sanity check first, execute from the node directly: curl -v -k https://140.82.121.4
any progress @alexandremahdhaoui
Hi @aojea thanks a lot for your help, but I decided to change my setup and rebuild my cluster with dual stack instead.
I will try again to set up ipv6 only with the nat64 DS in the future.
Until then, I will close this issue.
Thanks a lot for your support.
my pleasure, thanks
Hi again 👋🏼
The
nat64
pod is stuck syncing iptables rules and I was wondering if this had something to do with my set up. Also I'm unsure how to proceed from there, and how to debug it. Could the issue be related to the CNI I use? I.e. Cilium in native router mode.Thoughts
Spec
What I tried?
Run a pod and execute the following commands:
DNS64 resolution works as expected but the connection cannot be made.
Tcpdump while pinging github.com from the pod
Pinging from the host
Well pinging github.com (
64:ff9b::8c52:7903
) from the host is also stuck. By running tcpdump on the main interface and on the nat64 one, I can see that all packets goes through the nat64 interface64:ff9b::8c52:7903
and are then stucked.Logs