Go to main content

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

Exit Print View

Updated: March 2019
 
 

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 39  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