From owner-freebsd-current@FreeBSD.ORG Fri Oct 15 18:14:59 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1191510656A9 for ; Fri, 15 Oct 2010 18:14:59 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9473F8FC16 for ; Fri, 15 Oct 2010 18:14:58 +0000 (UTC) Received: (qmail 19304 invoked by uid 399); 15 Oct 2010 18:14:57 -0000 Received: from localhost (HELO ?192.168.0.145?) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 15 Oct 2010 18:14:57 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4CB89A21.4050509@FreeBSD.org> Date: Fri, 15 Oct 2010 11:14:57 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: freebsd-current@freebsd.org, hrs@FreeBSD.org References: In-Reply-To: X-Enigmail-Version: 1.2a1pre OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Setting up IPv6 in /etc/rc.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2010 18:14:59 -0000 On 10/15/2010 11:04 AM, Mark Murray wrote: > Hi > > IPv6 gurus: what are the CURRENT /etc/rc.conf incantations to do the > following (which works): > > $ ifconfig gif0 create > $ ifconfig gif0 tunnel 192.168.0.2 11.22.33.44 > $ ifconfig gif0 inet6 2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128 > $ route -n add -inet6 default 2001:1111:2222:3333::1 > $ ifconfig gif0 up > > ... when my non-working setup in /etc/rc.conf contains > > gif_interfaces="gif0" > gifconfig_gif0="192.168.0.2 11.22.33.44" > gifconfig_gif0_ipv6="2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128" > ipv6_defaultrouter="-inet6 default 2001:1111:2222:3333::1" > > ... which used to work. The bit that fails is the bit where gif0 gets > its tunnel IPv6 addresses. I've tried both gifconfig_gif0_ipv6="..." > and ifconfig_gif0_ipv6="...". The IPv6 endmpoints never make it onto > gif0. > > This used to work, but setting up IPv6 in CURRENT is a moving > target, and I can't find a working example any more. I've looked in > /etc/defaults/rc.conf, but the gifN examples there are all devoid of any > IPv6 examples. Sorry for your frustration. Hiroki has taken over the IPv6 configuration responsibility, so hopefully he can help get you on the right path. Doug -- Breadth of IT experience, and | Nothin' ever doesn't change, depth of knowledge in the DNS. | but nothin' changes much. Yours for the right price. :) | -- OK Go http://SupersetSolutions.com/