From owner-freebsd-net@freebsd.org Thu Oct 12 02:11:45 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3EDB9E3EE38 for ; Thu, 12 Oct 2017 02:11:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from gw.catspoiler.org (unknown [IPv6:2602:304:b010:ef20::f2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gw.catspoiler.org", Issuer "gw.catspoiler.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 1E2911C07; Thu, 12 Oct 2017 02:11:45 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.15.2/8.15.2) with ESMTP id v9C2Ba0Y084870; Wed, 11 Oct 2017 19:11:40 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <201710120211.v9C2Ba0Y084870@gw.catspoiler.org> Date: Wed, 11 Oct 2017 19:11:36 -0700 (PDT) From: Don Lewis Subject: Re: 6rd: when in Base FreeBSD? To: ler@lerctr.org cc: freebsd-net@FreeBSD.org, hrs@FreeBSD.org In-Reply-To: <20171012015734.qnj2a3w4qnpbb4bc@lrosenman.local> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2017 02:11:45 -0000 On 11 Oct, Larry Rosenman wrote: > On Thu, Oct 12, 2017 at 01:54:10AM +0000, Don Lewis wrote: >> On 11 Oct, Larry Rosenman wrote: >> > Hi, >> > I'm currently using pfSense, and it has a working 6rd implementation, and I need 6rd >> > as that's how ATT Fiber delivers IPv6. >> > >> > Apparently for whatever reason, the pfSense guys can't/won't upstream or release their 6rd >> > patch. (see https://forum.pfsense.org/index.php?topic=137636.0) >> > >> > I note on the IPV6todo wiki page (https://wiki.freebsd.org/IPv6TODO) that 6rd is >> > still a desired feature. >> > >> > Is there anything I or the project can do to help here? (I'm willing to guinea pig it >> > or have the OpnSense guys test it). >> >> >> I'd like to see the patch mentioned go in, but in the meantime I'm using >> a gif interface to do this. >> > I wasn't able to convince Opnsense or bare FreeBSD to do 6rd with a gif interface. > > Is there a good doc on how to do 6rd with gif? > > ATT's 6rd parameters: > 6rd prefix: 2602:300::/28 > 6rd border relay: 12.83.49.81 > 6rd ipv4 prefix length: 0 > > The WAN address is DHCP. The DHCP WAN address could be problematic. I've got a static IPv4. ifconfig_gif0="tunnel 12.83.49.81" ifconfig_gif0_ipv6="inet6 2602:300:c533:1510:: prefixlen 128 mtu 1472" ipv6_defaultrouter="2602:300:c533:1510::" where is: AT&T 6rd prefix of 2602:300::/28 + our public IP4 in hex * 16 (i.e. add hex '0') See: https://forums.att.com/t5/AT-T-Internet-Features/Advanced-HOWTO-AT-amp-T-quot-native-quot-IP6-with-full-60-subnet/td-p/4050282