To properly deploy IP tunnels, you need to perform two main tasks. First, create the tunnel link, then configure an IP interface over the tunnel. The following requirements need to be satisfied for creating tunnels and their corresponding IP interfaces.
To successfully create IP tunnels, you must observe the following requirements:
If you use host names instead of literal IP addresses, these names must resolve to valid IP addresses that are compatible with the tunnel type.
The IPv4 or IPv6 tunnel that you create must not share the same tunnel source address and tunnel destination address with another configured tunnel.
The IPv4 or IPv6 tunnel that you create must not share the same tunnel source address with an existing 6to4 tunnel.
If you create a 6to4 tunnel, that tunnel must not share the same tunnel source address with another configured tunnel.
For more information, see Planning for Tunnel Use in the Network in Planning for Network Deployment in Oracle Solaris 11.4.
Each tunnel type has specific IP address requirements for the IP interface that you configure over the tunnel. These requirements are summarized in the following table.
You can override the link-local addresses that are automatically set for IPv6 interfaces over IPv6 or IPv4 tunnels by specifying a local and remote interface-id with the ipadm create-addr -T addrconf command.