From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 18:39:16 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCBFB106566C; Sun, 17 Oct 2010 18:39:16 +0000 (UTC) (envelope-from yr.retarded@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 42FC78FC12; Sun, 17 Oct 2010 18:39:15 +0000 (UTC) Received: by ewy21 with SMTP id 21so129369ewy.13 for ; Sun, 17 Oct 2010 11:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Faius4nN4lmsSdS4QEUJAFcbXJklzQuU4SmYBev3Gsk=; b=r+yJnU63m7YMTYma450HpkmPFlNjvOf7UXLh7Bsd1Z8SJdVyo9Vr7Erkry5fS5mekr BTr/A2yeMeXJKXw5eoK89WnoivUpThjMFtFvR7HrTfXujP4k+PCijAmUKUyG6j/mH5y9 g08qnW/xBhGS/HlMsVxeiygxVGyhoUWWjNZEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YVshsf0y8xkQ2e7U1fdLcdtj+mnrOL0AZztFlBdCLjLW/hLXe2FMAxf7T8axxRBv6A az9UytqMeU0hv2KVPwyuShf1fmEKebNkoSJ98nFqEotF3aa1KcvocLV+nst1fHd8jANA 1gnDakErUahnT3gquOyODq+MMb99OC9TjTlOg= MIME-Version: 1.0 Received: by 10.216.231.227 with SMTP id l77mr4194165weq.104.1287339089124; Sun, 17 Oct 2010 11:11:29 -0700 (PDT) Received: by 10.216.50.65 with HTTP; Sun, 17 Oct 2010 11:11:29 -0700 (PDT) In-Reply-To: References: <20101015191802.GA55182@wep4035.physik.uni-wuerzburg.de> <20101015204947.N10185@maildrop.int.zabbadoz.net> Date: Sun, 17 Oct 2010 13:11:29 -0500 Message-ID: From: Chris Ruiz To: Mark Murray Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD current mailing list 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: Sun, 17 Oct 2010 18:39:16 -0000 On Sat, Oct 16, 2010 at 3:15 AM, Mark Murray wrote: > "Bjoern A. Zeeb" writes: >> On Fri, 15 Oct 2010, Mark Murray wrote: >> >> > Alexey Shuvaev writes: >> >>> gifconfig_gif0_ipv6=3D"2001:1111:2222:3333::2 2001:1111:2222:3333::1= prefixlen 128" >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ^^^^ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0^^^^ >> >> I suppose you should prefix it with "inet6" keyword. >> >> There are 2 examples in rc.conf (search for "Sample IPv6"). >> > >> > Aaaaah! >> > >> > It didn't occur to me that I might need TWO inet6's! I'll give that a = go when >> > I play with this again tomorrow. >> >> It's just one inet6; put there what you would pass to ifconfig on the >> command line. =A0The fact that ifconfig defaults to "inet" is the >> problem leading to more confusion. > > In which case, I'm back to square one. What should work doesn't. > > I have the necessary commands in /etc/rc.local to bring up IPv6. > >> I think the samples in defaults/rc.conf will be more clear soon. > > Cool! Thanks. You have a few syntax errors in your rc.conf, try these adjustments and everything "should" work (as it works for me on a recent CURRENT.) gif_interfaces=3D"gif0" gifconfig_gif0=3D"192.168.0.2 11.22.33.44" ifconfig_gif0_ipv6=3D"inet6 2001:1111:2222:3333::2 2001:1111:2222:3333::1 prefixlen 128" ipv6_defaultrouter=3D"2001:1111:2222:3333::1" -- Chris ----------------------------------------- http://twitter.com/chrisattack http://chrisattack.com