我尝试使用ip tunnel add命令创建了一个IPIP隧道。现在我想删除它,但是它无法消失!
tunl0 Link encap:IPIP Tunnel HWaddr
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)
$ sudo ifdown tunl0
ifdown: interface tunl0 not configured
$ sudo ifconfig tunl0 down
$ /sbin/ip tunnel del tunl0
delete tunnel tunl0 failed: Operation not permitted
我该怎么办?
$
而不是#
?为什么操作没有被允许?再检查一遍或者三遍。 :) - undefinedgre0
设备问题。与tunl0
设备一样,当内核模块被删除时,这些回退接口也会消失 - 在这种情况下是ipip
。 - undefined