-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipv6 neighbor proxy does not work #14407
Comments
I run a tcpdump on the target host. When I ping the IP of the external interface from my PC
I see echos and echo replies on the target host. On the other hand when I do this:
I don't see anything incoming on the target host (even when the firewall is off). So maybe this is some issue with my hoster. |
Could you try assigning your host a different ip? Maybe there's a whitelist? |
My webhoster is netcup.de. As it turned out you can only use IPv6 fully (which includes proxy ndp) if you buy an additioinal IPv6 net. The net which they deliver does not work for such a scenario. I bought an additional /64 net an this worked instantly. |
odd, my netcup rootserver works fine with the kernel's proxy_ndp. I'm pretty sure this should work from the support's last post and linked post, the additional subnet you can buy is routed, the default one is on-link (as is typical). I'd like to see this built in to netavark too (containers/netavark#270) |
So is this actually an issue Podman can solve? |
I think this has nothing to do with podman. Seems to be something the user has to care about. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I use netavark as network backend.
I don't want to use IPv6 NAT.
Instead I proxy an IPv6 adresss but cannot reach it from external. Neither the container IPs are reachable nor is the IPv6 address of the podman interface.
Steps to reproduce the issue:
Make sure you have:
Create a podman1 interface with an IPv6 network (e.g. as /96 if you only have one /64 from your ISP).
/etc/containers/networks/podman1.json
Proxy the IP of this network to your interface which is connected to the Internet.
Check the result:
Try to ping this IP from internal. Works? Then next:
Try to ping this IP from external.
Create one container and assign to it an IPv6 address of our /96 range. Then proxy the IP as explained above.
Try to ping an external IP (e.g. Google DNS) from within such a container.
Describe the results you received:
Ping from external does not answer.
Containers are not able to ping external IPv6 addresses.
Describe the results you expected:
Ping from external should answer.
Containers should be able to reach the Internet with IPv6 without NAT.
Additional information you deem important (e.g. issue happens only occasionally):
I also tried this with stopped firewall (nftables) and this also did not work.
Also I tried the same thing with containers themselves (assiging IPv6 addresses to them and testing).
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/main/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
This was the same issue I had with the old network stack (CNI).
#11999
I am not really sure whether podman is the issue. On my PC I have a similar scenario (Fedora 36, podman 4.1.0) and there the containers can reach the Internet without NAT.
The described issue occurs on a KVM VM of my hoster. So maybe this occurs only in certain scenarios but I have no idea what the reason might be.
The text was updated successfully, but these errors were encountered: