Question

How to can I have a private network between two droplets

I have two droplets under one project. For both I activated the Private IP option.

When via terminal I use droplet-a$ ping <droplet-b> I am not receiving packets. What am I missing here?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

That is correct, if you enable private networking on both droplets you should be able to ping directly between them.

However, both droplets need to be in the same region to be on the same private network. If they are in different regions then it won’t be able to ping between them.

You can also find a lot of information here in our product documentation for private-networking: https://www.digitalocean.com/docs/networking/private-networking/