Go to main content

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

Exit Print View

Updated: March 2019
 
 

About Deploying IP Tunnels

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 are the requirements for creating tunnels and their corresponding IP interfaces.

Requirements for Creating IP Tunnels

    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 on the Network in Planning for Network Deployment in Oracle Solaris 11.3.

Requirements for IP Tunnels and IP Interfaces

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.

Table 2  Tunnels and IP Interface Requirements
Tunnel Type
IP Interface Allowed Over Tunnel
IP Interface Requirement
IPv4 tunnel
IPv4 interface
Local and remote addresses are manually specified.
IPv4 tunnel
IPv6 interface
Local and remote link-local addresses are automatically set when you issue the ipadm create-addr -T addrconf command. See the ipadm(1M) man page.
IPv6 tunnel
IPv4 interface
Local and remote addresses are manually specified.
IPv6 tunnel
IPv6 interface
Local and remote link-local addresses are automatically set when you issue the ipadm create-addr -T addrconf command. See the ipadm(1M) man page.
6to4 tunnel
IPv6 interface only
Default IPv6 address is automatically selected when you issue the ipadm create-ip command. See the ipadm(1M) man page.

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.