这条隧道不会拆除。
root@solaris10:~# ifconfig ip.6to4tun0 down
ifconfig: setifflags: SIOCGLIFFLAGS: ip.6to4tun0: no such interface
root@solaris10:~# ifconfig ip.6to4tun0 unplumb
ifconfig: unplumb: SIOCGLIFFLAGS: ip.6to4tun0: no such interface
简短的回答是“它不存在!”但是......
root@solaris10:~# ifconfig -a|ggrep -A 11 6to4
ip.6to4tun0: flags=2200041<UP,RUNNING,NONUD,IPv6> mtu 65515 index 9
inet tunnel src 192.168.0.1
tunnel hop limit 60
inet6 fe80::203:baff:fe50:cbe6/128
界面工作
ping 192.168.0.1
192.168.0.1 is alive
ping -A inet6 fe80::203:baff:fe50:cbe6
fe80::203:baff:fe50:cbe6 is alive
找到解决方案
这些命令
适用于 ipv4
对于 ipv6,我们必须使用这个