我尝试使用ip tunnel add命令创建IPIP tunel。现在我想删除它,但它不会消失!
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
我该怎么办?
答案 0 :(得分:2)
与编程无关(需要访问serverfault.com)。在这里回答:https://serverfault.com/questions/247767/cannot-delete-gre-tunnel