中文网站
  Advanced Search
Read the latest Blogs from IT professionals in the field. Read and write community created documents. Need IT help? Ask our staff. Connect with your peers. Check our Tech Shop for posters, books and software tools. Home

5.5.1.8 Configure a tunnel interface on a Solaris 8 workstation

The steps to manually configure a tunnel interface on a Solaris 8 workstation are the following:

1. Create the file /etc/named/hostname6.ip.tun0, which is executed every time the workstation boots. Each line of the file is used as input by the ifconfig command, and thus, the appropriate command syntax is required.

2. The first line in the /etc/named/hostname6.ip.tun0 file contains the IPv4 source and the destination addresses of the tunnel. For example, if the source and destination addresses are 150.140.21.45 and 194.177.63.238, respectively, the first line should be:

tsrc 150.140.21.45 tdst 194.177.63.238

3. The second line in the /etc/named/hostname6.ip.tun0 file configures the IPv6 addresses of the tunnel endpoints. The first IPv6 address belongs to the local host and the second to the peer host. For example:

addif 2001:db8:2D00:1::1 2001:db8:3D00:1::2 up

4. Restart the script /etc/init.d/inetinit

5. Set the IPv6 default route to the remote tunnel endpoint (if the tunnel is the only IPv6 connection of the host:

# add –inet6 default 2001:db8:3D00:1::2