Administering TCP/IP Networks, IPMP, and IP Tunnels in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Delete an IP Tunnel

  1. Unplumb the IP interface that is configured over the tunnel depending on the type of interface.
    # ipadm delete-ip tunnel-link

    Note -  To successfully delete a tunnel, no existing IP interface can be plumbed on the tunnel.
  2. Delete the IP tunnel.
    # dladm delete-iptun tunnel-link

    The only option for this command is –t, which causes the tunnel to be deleted temporarily. When you reboot the system, the tunnel is restored.

Example 5-10  Deleting an IPv6 Tunnel That is Configured With an IPv6 Interface

In the following example, a persistent tunnel is permanently deleted.

# ipadm delete-ip ip6.tun0
# dladm delete-iptun ip6.tun0