Can ping public but not private ip between Droplets

Posted July 27, 2020 845 views

I have 2 droplets, one NodeJS and one MongoDB. I can SSH into both of them and run “ping <other-droplet-public-ip>” and get a response, but when I try to ping the private VPC ip of either - it doesn’t work (Destination Host Unreachable).

I have enabled “Private Network” on both droplets, and I have rebooted both as well. Still doesn’t work.

Am I missing something?

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.

Submit an Answer
2 answers

I have the same problem. Also the the auto ip of the droplets in the OS had another ip. It is not just ping but all the traffic. The droplets cannot communicate.

Hi, I solved it. I do not know why but my droplets had and strange network device called eth0.1. I disabled that device and created eth1, and put there the configs of the Private Network and now everything is working.