System Administration Guide: IP Services

ProcedureHow to Configure IPv4 Over IPv6 Tunnels

This procedure explains how to configure a tunnel between two IPv4 hosts over an IPv6 network. You would use this procedure if your corporate network is heterogeneous, with IPv6 subnets that separate IPv4 subnets.

  1. Log in to the local IPv4 tunnel endpoint as Primary Administrator or as superuser.

    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.

  2. Create the /etc/hostname.ip6.tunn file.

    Use the values 0, 1, 2, and so on, for n. Then, add entries by following these steps:

    1. Add the tunnel source address and the tunnel destination address.


      tsrc IPv6-source-address tdst IPv6-destination-address
      
    2. (Optional) Add a logical interface for the source IPv6 address and destination IPv6 address.


      addif IPv6-source-address  IPv6-destination-address up
  3. Reboot the local host.

  4. Repeat this procedure at the opposite endpoint of the tunnel.


Example 6–9 Entry in the /etc/hostname6.ip6.tun for an IPv4 Over IPv6 Tunnel

This example shows the entry for an IPv4 over IPv6 tunnel.


tsrc 2001:db8:3c4d:114:a00:20ff:fe72:668c tdst 2001:db8:3c4d:103:a00:20ff:fe9b:a1c3
10.0.0.4 10.0.0.61 up