Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
private networking between two droplets not working Ubuntu 16LTS
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…
So following the guide for Ubuntu and Debian…
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…
iface lo inet loopback
iface eth1 inet static
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. :(
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.×