I made an attempt bonding two interfaces into one, created bond0, and found it unsatisfactory. I then reverted all changes made to /etc/network/interfaces and ran systemctl restart networking.service, but the bond interface still existed (shows up in ifconfig and ip link commands) and I had to run ip link set bond0 down or ifconfig bond0 down to force kick it out. How do I completely remove this interface without rebooting the server?
I'm on Debian Buster. The file was originally like this:
auto eno1
iface eno1 inet static
# regular network settings like address, netmask, gateway etc.
auto eno2
iface eno2 inet static
# regular network settings like address, netmask, gateway etc.
I turned both interfaces into one bond by changing it into this:
auto eno1
iface eno1 inet manual
bond-master bond0
auto eno2
iface eno2 inet manual
bond-master bond0
auto bond0
iface bond0 inet static
# regular network settings like address, netmask, gateway etc.