when I type ifconfig -a, there is a sit0, why it is here, and how to delete it?
sit0 Link encap:IPv6-in-IPv4 NOARP MTU:1480 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) 3 Answers
sit stands for simple internet transition. sit0 is the Linux name for 6to4. 6to4 is a tunneling protocol for using IPv6 over an existing IPv4 connection.
Source:
To disable sit0 interface
open /etc/modprobe.d/aliases file using the command sudo gedit /etc/modprobe.d/aliasessearch for "alias net-pf-10 ipv6" and replace that with "alias net-pf-10 off"
Reboot the machine.
Source:
Hope this helps.
1The sit0 interface appears if the sit kernel module is loaded. To remove it without reboot, unload the sit module:
sudo modprobe -r sitYou may need to make sure all sit tunnels are down and removed before you unload the sit module using
ip link set dev <SIT TUNNEL NAME> down
ip tunnel del <SIT TUNNEL NAME>If the module is loaded on startup it will re-appear after a reboot. To remove it permanently see Michael Hampton's answer.
Blacklist the sit module, so that it doesn't load.
Edit /etc/modprobe.d/blacklist:
sudo nano -w /etc/modprobe.d/blacklistAdd an entry to blacklist sit:
blacklist sit