Private Networking does not work.
I created two droplet. A and B. All from scratch and Private IP enabled.
When I ssh into A, ping to Private IP of B fails. When I ssh into B, ping to Private IP of A fails.
I’ve followed the tutorial provided: How To Set Up And Use DigitalOcean Private Networking and it still fails. I have removed all the rules from firewall and it still fails.
Here is what I get when I ping:
$ ping PRIVATE_IP
PING PRIVATE_IP (PRIVATE_IP) 56(84) bytes of data.
From PRIVATE_IP icmp_seq=1 Destination Host Unreachable
From PRIVATE_IP icmp_seq=2 Destination Host Unreachable
From PRIVATE_IP icmp_seq=3 Destination Host Unreachable
Note that pinging the public ip works. But I am setting up a private network in NYC1 datacenter and it doesn’t help.
This is on a Ubuntu 16.04 LTS droplet. Also all the droplets are created from the same Digitalocean account.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
Interestingly, when I ran arp -an it showed this:
? (OTHER_PRIVATE_IP) at <incomplete> on eth1
I talked with support and the told me to manually add the private ip and hwadress of the other droplet. So I ran the following:
arp -s <OTHER_PRIVATE_IP> HWAddr
I ran it on each of the droplets with the other machines ip and hwaddr (found using ifconfig). Now pinging the machines works!!!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.