In order to disable private networking from the command line, you need to edit the file
/etc/network/interfaces It will look something like this:
# This file describes the network interfaces available on your # system and how to activate them. For more information, see # interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth1 eth0 iface eth0 inet static address 18.104.22.168 netmask 255.255.255.0 gateway 22.214.171.124 dns-nameservers 126.96.36.199 188.8.131.52 iface eth1 inet static address 10.129.176.173 netmask 255.255.0.0
eth0 is the public interface, while
eth1 is the private interface. Remove the sections about
eth1 (highlighted above), and restart your droplet:
sudo shutdown -r now
I have the same issue too.... There is no button to disable the private networking??
How to change the IP to the private network. I want to "ping" between droplets.
I known this is a long procedure, but if you are in a hurry, maybe create a snapshot image of this droplet, delete this droplet, then create a new droplet from the image. This new droplet is by default without private network. This is what I have done.