A dual-stack Nimbus with confirmed IPv6 connectivity from inside its container, running on Linux and Docker 27.3.1. Connectivity to the P2P port on the public ipv6 from outside has been tested and is working; tested with https://port.tools/port-checker-ipv6/
Its identity shows the ip6 ULA but not its own public ip6 in p2p_addresses. Should it be learning its ip6 from peers, like it might on ip4?
The public ip4 is visible in discovery_addresses. Example of curl http://localhost:5052/eth/v1/node/identity with actual public ip4 and enr censored:
Note this second example shows the state connected - I am unsure whether this is an actual issue or just cosmetic. Or whether it connects and then goes to disconnected because it can't see the public ip6.
To Reproduce
Run a Nimbus v24.9.0-f54a03-stateofus on an IPv6-capable host, so it uses dual-stack.
It'd be interesting to see behavior in systemd. I will only be testing this inside Docker containers, with Docker >= 27.3.1. Docker uses ULA addresses and then has ip6tables do a NAT66 for outgoing and host-mapped incoming ports.
Describe the bug
A dual-stack Nimbus with confirmed IPv6 connectivity from inside its container, running on Linux and Docker 27.3.1. Connectivity to the P2P port on the public ipv6 from outside has been tested and is working; tested with https://port.tools/port-checker-ipv6/
Its identity shows the ip6 ULA but not its own public ip6 in
p2p_addresses
. Should it be learning its ip6 from peers, like it might on ip4?The public ip4 is visible in
discovery_addresses
. Example ofcurl http://localhost:5052/eth/v1/node/identity
with actual public ip4 and enr censored:Likewise, in the peer list, Nimbus peers show up without their public ip6, examples of
curl http://localhost:5052/eth/v1/node/peers | jq .
:Note this second example shows the state
connected
- I am unsure whether this is an actual issue or just cosmetic. Or whether it connects and then goes to disconnected because it can't see the public ip6.To Reproduce Run a Nimbus
v24.9.0-f54a03-stateofus
on an IPv6-capable host, so it uses dual-stack.It'd be interesting to see behavior in systemd. I will only be testing this inside Docker containers, with Docker >= 27.3.1. Docker uses ULA addresses and then has ip6tables do a NAT66 for outgoing and host-mapped incoming ports.