Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 1998 11:56:33 +0200
From:      pb@fasterix.frmug.org (Pierre Beyssac)
To:        danx@cts.com (Dan Anderson)
Cc:        freebsd-net@FreeBSD.ORG (FreeBSD-net List)
Subject:   Re: Help w/IPv6 config for FreeBSD
Message-ID:  <19980504115633.YX23090@mars.hsc.fr>
In-Reply-To: <Pine.BSI.3.94.980503171955.19253A-100000@king.cts.com>; from Dan Anderson on May 3, 1998 17:28:23 -0700
References:  <Pine.BSI.3.94.980503171955.19253A-100000@king.cts.com>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Dan Anderson:
> The INRIA instructions are very sketchy, so . . . if you tunneled successfully
> to IPv6 with sit tunnel devices, please e-mail me your /etc/rc.ipv6 startup

The sit device is for automated host to host tunnels.
For configured tunnels, what you want is the cti device.

Try this (I don't have my config handy and I generally need to
tweak it by hand because my outgoing tunnel interface is on
a dialup link, and cticonfig doesn't like that at boot time).

This should be placed after autoconf6.

Here's the idea. You might need to tweak it because I'm not sure
there's nothing missing (I have no way to test this right now).

In the following, just replace REMOTE_IPV4_ADDRESS/LOCAL_IPV4_ADDRESS
with your tunnel endpoints, and LOCAL_IPV6_ADDRESS with the IPv6 address
of your machine (your global scope address, i.e. 3ffe:something).

The cticonfig sets the IPv4 tunnel endpoint addresses.

The ifconfig firstalias is needed to ensure that your machine puts
a correct source address when it emits tunneled packets.

Then you add a default route pointing to the IPv4-compatible address
of the other endpoint.

cticonfig -v -4 -s LOCAL_IPV4_ADDRESS cti0 REMOTE_IPV4_ADDRESS > /tmp/cticonfig 2>&1
ifconfig cti0 inet6 firstalias LOCAL_IPV6_ADDRESS/128 ::REMOTE_IPV4_ADDRESS
route -n add -inet6 ::/0 ::REMOTE_IPV4_ADDRESS
-- 
Pierre Beyssac	      pb@fasterix.frmug.org pb@fasterix.freenix.org
{Free,Net,Open}BSD, Linux : il y a moins bien, mais c'est plus cher
    Free domains: http://www.eu.org/ or mail dns-manager@EU.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980504115633.YX23090>