Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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)
share|improve this question

3 Answers 3

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: http://www.tldp.org/HOWTO/Linux+IPv6-HOWTO/

To disable sit0 interface

open /etc/modprobe.d/aliases file using the command sudo gedit /etc/modprobe.d/aliases search for "alias net-pf-10 ipv6" and replace that with "alias net-pf-10 off"

Reboot the machine.

Source: https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4

Hope this helps.

share|improve this answer
1  
This disables IPv6 entirely, not just the sit interface. –  Michael Hampton Jan 6 '13 at 16:54

Blacklist the sit module, so that it doesn't load.

Edit /etc/modprobe.d/blacklist:

sudo nano -w /etc/modprobe.d/blacklist

Add an entry to blacklist sit:

blacklist sit
share|improve this answer

The sit0 interface appears if the sit kernel module is loaded. To remove it without reboot, unload the sit module:

sudo modprobe -r sit

You 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.