This procedure describes how to set up a tunnel from an IPv6 node to a remote IPv6 node over an IPv4 network.
Log in to the local 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.
Create the /etc/hostname6.ip.tunn file.
where n represents the tunnel number, beginning at zero for the first tunnel. Then, add entries by following these substeps:
Add the tunnel source address and the tunnel destination address.
tsrc IPv4-source-address tdst IPv4-destination-address up
addif IPv6-source-address IPv6-destination-address
Omit this substep if you want the address autoconfigured for this interface. You do not need to configure link-local addresses for your tunnel.
Reboot the system.
Repeat this task on the opposite endpoint of the tunnel.
This sample /etc/hostname6.ip.tun file shows a tunnel for which global source addresses and global destination addresses are manually configured.
tsrc 192.168.8.20 tdst 192.168.7.19 up addif 2001:db8:3c4d:8::fe12:528 2001:db8:3c4d:7:a00:20ff:fe12:1234 up