Report this

What is the reason for this report?

private networking between two droplets not working Ubuntu 16LTS

Posted on September 2, 2017

I had an existing instance of ubuntu (WordPress app ubuntu 16) running and I setup another droplet to move the DB.

On existing droplet I powered down and installed the private Networking option and powered back up.

On new droplet setup with private networking.

I was unable to connect to the mysql server so I disabled uff and checked to ensure it was down. Same on existing server.

eth0 public facing eth1 private network

Pinging on eth0 works pinging on eth1 fails (this is on both machines)

Found this guide…

https://www.digitalocean.com/community/tutorials/how-to-enable-digitalocean-private-networking-on-existing-droplets

So following the guide for Ubuntu and Debian…

vim /etc/network/interfaces

As stated in post…

"You will see two main sections, each used to define the two active network interfaces. We will create another section at the bottom to describe the eth1 interface that will be used for private networking.”

The only thing I see is…

auto lo iface lo inet loopback

And adding

iface eth1 inet static address 10.132.84.55 netmask 255.255.0.0

And of course reboot

Results in nothing

The provided article to enable Private Networking is from 2013 so I am thinking that the default interface config file is loading from somewhere else? Something has changed?

If there is anyone that could help me wrap my head around this I would greatly appreciate it!!!

IN addition the guide How To Set Up a Remote Database to Optimize Site Performance with MySQL is dated a bit using ubuntu 12.04 so i am not sure how relevant that is considering that i cannot get the servers to talk to one another on the private network. :(

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.