6rd: when in Base FreeBSD?

Don Lewis truckman at FreeBSD.org
Thu Oct 12 02:11:45 UTC 2017


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 <your-IPv4-here> 12.83.49.81"
ifconfig_gif0_ipv6="inet6 <magic stuff>  2602:300:c533:1510:: prefixlen
 128 mtu 1472"
ipv6_defaultrouter="2602:300:c533:1510::"

where <magic stuff> 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





More information about the freebsd-net mailing list