How to disable Private IP addresses from the droplet?

Posted August 12, 2021 350 views
NetworkingProduct Documentation

I noticed that there is another IP address on the primary public IP interface eth0 in my case. Can someone please let me know what is the purpose of this IP address?

IPv4 address for eth0:
IPv4 address for eth0:
IPv4 address for eth1:

I would like to delete the IP as well as disable the private IP interface eth1. Is there a safe way to do this?

It is just for learning purposes, and there is no production workload running on these droplets.

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
1 answer

OP Here => Just to clarify what I am trying to accomplish:
I have tried manually turning it off using ip CLI, but the interfaces pop right back after each reboot. To actually turn it off I have to reconfigure netplan yaml files (or /etc/network/interfaces file on Debian 10) but I am wondering if there is a more automated way of doing the same using either cloud-init, ansible or even a simple bash script.

I can’t find a way to disable VPC, or private networking through the dashboard.