Linuxdoc Linux Questions
Click here to ask our community of linux experts!
Custom Search

10.3. Removing point-to-point tunnels

Usage for removing a tunnel device:

# /sbin/ip -6 tunnel del <device>

Usage (generic example for three tunnels):

# /sbin/ip -6 route del <prefixtoroute1> dev ip6tnl1
# /sbin/ip link set ip6tnl1 down
# /sbin/ip -6 tunnel del ip6tnl1

# /sbin/ip -6 route del <prefixtoroute2> dev ip6tnl2
# /sbin/ip link set ip6tnl2 down
# /sbin/ip -6 tunnel del ip6tnl2

# /sbin/ip -6 route del <prefixtoroute3> dev ip6tnl3
# /sbin/ip link set ip6tnl3 down
# /sbin/ip -6 tunnel del ip6tnl3