Deleting tunnel interface

Posted on Posted in IT

If you want to remove an ip address simply use del instead of `add.

So ip addr del dev tun2 to remove an IP. But since you want to remove the interface that doesn’t really matter.

To remove an tun* interface simply use ip link del name or in your case ip link delete tun2.



Leave a Reply