LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How to get rid of teq10 tun10@NONE gre0@NONE and cie. (https://www.linuxquestions.org/questions/linux-networking-3/how-to-get-rid-of-teq10-tun10%40none-gre0%40none-and-cie-4175688511/)

esselfe 01-13-2021 04:30 PM

How to get rid of teq10 tun10@NONE gre0@NONE and cie.
 
Hi, I'm trying to get rid of teql0 tun10@NONE gre0@NONE gretap0@NONE erspan0@NONE ip6_vti0@NONE sit0@NONE ip6tn10@NONE ip6gre0@NONE that shows up in 'ip link'. I tried looking into /etc/systemd/network and /usr/lib/systemd/network but nothing.

My bet is I have to change my kernel config or write a script for boot that deletes the devices...

Thanks

berndbausch 01-13-2021 05:41 PM

You can delete them with
Code:

ip link delete dev teq10
and so on, but if they appear after a reboot, they will again appear after a reboot.

These devices are created by some software that you are running on your system. A quick search for erspan0 tells me that this has something to do with viewing traffic on a switch port, very specialized network technology. I would assume that your computer runs a switch port analysis application, and that the removal of these NICs would be detrimental to it.

What distro are you running, and what network management software (apart from systemd-networkd) is installed?

esselfe 01-13-2021 05:50 PM

The distro is Lunar-Linux and systemd-networkd handles the networking. There is dhcpcd that I was using before but it's not running anymore.

berndbausch 01-13-2021 09:53 PM

If they are not configured in systemd-networkd, they might be artifacts of kernel modules. There is, for example, a sit kernel module. I would not know about the others, but searching kernel modules for similar names might help.

esselfe 01-13-2021 10:02 PM

1 Attachment(s)
Ok so I disabled couple stuff in the kernel config, rebooted and they all disappeared.

Here's my config diff if it can help anyone: Attachment 35266


All times are GMT -5. The time now is 09:26 AM.