From owner-freebsd-net Mon May 4 02:56:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA23476 for freebsd-net-outgoing; Mon, 4 May 1998 02:56:47 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from itesec.hsc.fr (root@itesec.hsc.fr [192.70.106.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA23446 for ; Mon, 4 May 1998 02:56:39 -0700 (PDT) (envelope-from pb@hsc.fr) Received: from mars.hsc.fr (pb@mars.hsc.fr [192.70.106.44]) by itesec.hsc.fr (8.8.8/8.8.5/itesec-1.12-nospam) with ESMTP id LAA27986; Mon, 4 May 1998 11:56:35 +0200 (MET DST) Received: (from pb@localhost) by mars.hsc.fr (8.8.5/8.8.5/pb-19970301) id LAA03947; Mon, 4 May 1998 11:56:33 +0200 (MET DST) Message-ID: <19980504115633.YX23090@mars.hsc.fr> 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 References: X-Mailer: Mutt 0.59.1e Mime-Version: 1.0 In-Reply-To: ; from Dan Anderson on May 3, 1998 17:28:23 -0700 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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