Private network disable
Hey so i wanted to enable IPV6 and for some reason my brain went on to click on private network…
I’ve been looking for a way to access this file /etc/network/interfaces so that I can follow the instructions i found on how to delete eth1. The problem here is that nano /etc/network/interfaces doesnt work.. I have no idea how to get to the file i need.
This is what i’m trying to follow
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 188.8.131.52 netmask 255.255.255.0 gateway 184.108.40.206 dns-nameservers 220.127.116.11 18.104.22.168 <^>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
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.