Skip to content

Commit 658ac34

Browse files
authored
docs: clarify ipv6 details in networking page (#8368)
**Motivation** After resolving issues with the ipv6 dual stack port bug in v1.34.1, it was noted that we should make it clear our default p2p port for both IPv4 and IPv6 is now the same at port `9000`. **Description** When we introduced IPv6 support in #5758 , we used to default the port of `9090`. When supporting dual stack option on the same port via #8190 , we should make it clear in documentation this is now by default also on port `9000`.
1 parent 8644a83 commit 658ac34

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

docs/pages/run/beacon-management/networking.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,18 @@ The primary purpose of ENRs is to facilitate node discovery and connectivity in
4141

4242
Note that bootnodes are announced via ENR.
4343

44-
Lodestar prints out its own ENR on startup, the logs will show something similar to the following
44+
Lodestar prints out its own ENR on startup, the logs will show something similar to the following for IPv4 nodes:
4545

4646
```txt
4747
info: discv5 worker started peerId=16Uiu...t9LQ3, initialENR=enr:-Iu4QGE...WRwgiMo, bindAddr4=/ip4/0.0.0.0/udp/9000
4848
```
4949

50+
Or similar to the following for IPv6 dual-stack nodes (when enabled):
51+
52+
```txt
53+
info: discv5 worker started peerId=16Uiu...t9LQ3, initialENR=enr:-Iu4QGE...WRwgiMo, bindAddr4=/ip4/0.0.0.0/udp/9000, bindAddr6=/ip6/::/udp/9000
54+
```
55+
5056
Alternatively, the ENR can also be retrieved from the beacon node API by querying the [getNetworkIdentity](https://ethereum.github.io/beacon-APIs/#/Node/getNetworkIdentity) endpoint.
5157

5258
[ENR Viewer](https://enr-viewer.com/) provides a simple and convenient option to decode and inspect ENRs.
@@ -80,8 +86,7 @@ If your setup is behind a firewall there are a few ports that will need to be op
8086
Ports that must be opened:
8187

8288
- 30303/TCP+UDP - Execution layer P2P communication port
83-
- 9000/TCP+UDP - Beacon node IPv4 P2P communication port
84-
- 9090/TCP+UDP - Beacon node IPv6 P2P communication port
89+
- 9000/TCP+UDP - Beacon node IPv4 and IPv6 P2P communication port
8590

8691
Ports that must be protected:
8792

0 commit comments

Comments
 (0)