Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8042

Networking and servers • Not able to delete an ip tunnel I created.

$
0
0
I was trying out some IPv4 to IPv6 translation with tunnel broker.
As part of that I ran below commands,

Code:

sudo ip tunnel add he-ipv6 mode sit remote 216.218.221.42 local 117.193.38.241 ttl 255sudo ip addr add 2001:470:35:134::2/64 dev he-ipv6sudo ip link set he-ipv6 up
And ever since, apt update is failing (it tries to connect to IPv6 address and my network do not support IPv6 yet)

Code:

pi@pitcr:~ $ sudo apt update0% [Connecting to raspbian.raspberrypi.com (2a00:1098:0:80:1000:75:0:3)] [Connecting to archive.raspberrypi.com (2a00:1098:a3::6)]
I think this issue is due to a tunnel I created,

Code:

pi@pitcr:~ $ sudo ip tunnel showsit0: ipv6/ip remote any local any ttl 64 nopmtudisc 6rd-prefix 2002::/16pi@pitcr:~ $

Code:

pi@pitcr:~ $ sudo ip addr show | grep sit4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000    link/sit 0.0.0.0 brd 0.0.0.0pi@pitcr:~ $
I am not able to delete that tunnel, I tried

Code:

pi@pitcr:~ $ sudo ip tunnel del sit0delete tunnel "sit0" failed: Operation not permittedpi@pitcr:~ $
Any thoughts on resolving this issue.

Statistics: Posted by sim_tcr — Thu Jan 23, 2025 7:27 am



Viewing all articles
Browse latest Browse all 8042

Trending Articles