documentation
documentation copied to clipboard
Improve FAQ With Networking Related Questions
Would be great to improve our FAQ with important networking related questions that pop-up in our discord such as:
- To run a beacon node, do I need a static IP?
- If yes, does a static IPv6 also work? How can I use IPv6 with beacon nodes?
- Is it possible run multiple beacon nodes on same server if we link to different port and static IPs?
What're the answers to the 2nd and 3rd questions? :sweat_smile:
@nisdas I believe did some work regarding ipv6, he can shed more light on it as I am no.t too sure. I believe 3 should definitely be possible, you also have to use:
- different datadirs
- different rpc ports (default is 4000)
- different p2p-udp-port and p2p-tcp-port
- different --monitoring-port for your different beacon nodes
-
Not needed although it might make peering more complicated. You could register a domain name to your IP if it is dynamic, and use
--p2p-host-dnsif you desire to advertise your peer. -
Yes we do support ipv6 in Prysm, you could provide a valid ipv6 host address and we will advertise that in libp2p and discoveryV5.
-
Yes, it is definitely possible to run multiple beacon nodes as long as they have distinct network identities. Ex: Different ip + udp port + tcp port for each node. They could also be of the same IP address but have different ports.
Thanks guys :slightly_smiling_face:
Can a single node run with dual-stack, both IPv4 and IPv6, addresses? Would that require multiple --p2p-host-ip args?