Removing point-to-point tunnels

Linux IPv6 HOWTO (en)
Prev | Chapter 10. Configuring IPv4-in-IPv6 tunnels | Next

# 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

Prev | Home | Next
Setup of point-to-point tunnel | Up | Kernel settings in /proc-filesystem