How to disable Private IP addresses from the droplet?

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.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.