Skip to content
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

Improve FAQ With Networking Related Questions #121

Open
rauljordan opened this issue May 25, 2020 · 5 comments
Open

Improve FAQ With Networking Related Questions #121

rauljordan opened this issue May 25, 2020 · 5 comments
Labels
good first issue Good for newcomers priority:medium Mid-term priority items, should be done within a few weeks and not disregarded

Comments

@rauljordan
Copy link
Contributor

Would be great to improve our FAQ with important networking related questions that pop-up in our discord such as:

  1. To run a beacon node, do I need a static IP?
  2. If yes, does a static IPv6 also work? How can I use IPv6 with beacon nodes?
  3. Is it possible run multiple beacon nodes on same server if we link to different port and static IPs?
@har00ga
Copy link
Contributor

har00ga commented May 26, 2020

What're the answers to the 2nd and 3rd questions? 😅

@rauljordan
Copy link
Contributor Author

@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

@nisdas
Copy link
Member

nisdas commented May 31, 2020

  1. 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-dns if you desire to advertise your peer.

  2. Yes we do support ipv6 in Prysm, you could provide a valid ipv6 host address and we will advertise that in libp2p and discoveryV5.

  3. 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.

@har00ga har00ga added documentation Improvements or additions to documentation good first issue Good for newcomers labels Jun 1, 2020
@har00ga
Copy link
Contributor

har00ga commented Jun 1, 2020

Thanks guys 🙂

@msnelling
Copy link

Can a single node run with dual-stack, both IPv4 and IPv6, addresses? Would that require multiple --p2p-host-ip args?

@rauljordan rauljordan added priority:medium Mid-term priority items, should be done within a few weeks and not disregarded and removed documentation Improvements or additions to documentation labels Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers priority:medium Mid-term priority items, should be done within a few weeks and not disregarded
Projects
None yet
Development

No branches or pull requests

4 participants