I reckon there's a similar question on this site ( How to permanently disable a network interface? ), but the answers were mainly for Ubuntu and the methods described in there didn't help.
I'm trying to bring down a enp1s0f2 interface, but it keeps coming back on reboot.
I've tried the commands "ifconfig (interface) down", "ifdown (interface)", and editing /etc/network/interfaces to add the following lines:
"iface (interface) inet manual" and "iface (interface) inet6 manual"
Supposedly so that NetworkManager or whatever else is managing it, doesn't load it on startup, but to no avail.
How can I permanently disable this interface on Debian?
Is there a clean method that doesn't involve disabling all device systemctl services one by one? It would be a shame if at any point I needed the interface again that I had to remember all services involved and re-enable them again, plus, there must be a simpler straight method, right?