6rd support added
-
Canada/Videotron seems to be using multiple 6RD prefixes, and needs to be discovered via DHCP option 212.
Example of option 212 output (you need to tell your dhcp client to request option-212):
11:2d:26:7:fa:48:6e:c0:0:0:0:0:0:0:0:0:0:0:18:30:0:1(based on http://tools.ietf.org/html/rfc5969)
Which translates to (simple hex-to-decimal conversion of tokens 1,2,19,20,21,22):
17 45 2607:f148:6ec0 24.48.0.1Consequently, the interpretation would be:
2607:f148:6ec0::/45 -> 24.48.0.1 IPv4 masklength 17, delegated / 60The delegated prefix seems to be calculated like this:
32 - 17(IPv4MaskLen) + 45 (6rdPrefixlen) = 60How to pick-up dhcp option-212?
Create a dhclient.conf in /etc:
echo 'request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name, option-212;' > /etc/dhclient.conf
echo 'script "/etc/dhclient.script";' >> /etc/dhclient.confCreate a dhclient.script in /etc:
echo '#!/bin/sh' > /etc/dhclient.script
echo 'echo $new_option_212 >/tmp/6rd-212.log' >>/etc/dhclient.script
chmod 755 /etc/dhclient.scriptRestart your DHCP client by specifying your dhcp configuration file
/sbin/dhclient -c /etc/dhclient.conf <waninterfacename>(you will have to kill the pid if the process exists already)Consult /tmp/6rd-212.log for your 6RD parameters
cat /tmp/6rd-212.log and decode it based on the above sample.</waninterfacename> -
Which still wouldn't work because our 6rd interface does not yet support prefix lenghts larger then 32 bits.
-
America: CenturyLink 2602:0::/24 -> 205.171.2.64 = delegated /64 Gateway does not respond to ICMP so I'm monitoring 2 hops further away. I'll see if I can get their access-list loosened up a bit.
-
Some of the 6rd relays reply on 6rdrelay::1and not on address 0. Try that.
-
I'm trying to set this up on my UVerse connection… I'm getting this error in the logs:
php: : The interface IPv4 '99.74.122.32' address on interface 'sk0' is not public, not configuring 6RD tunnelIt IS a public address, although the ip address is issued by a 'LAN' dhcp server (192.168.1.254). Other people report success using ipv6 with 6rd on the 2wire modems... But nobody with pfsense apparently. Any tips on how to start digging in and tweaking this so it'll work?
Example: https://supportforums.cisco.com/docs/DOC-25121
-
I'll have to look into that check and why it is triggering the private address check.
Strange.
You are right though, it should just work.
-
Do you need to see any additional log entries to help troubleshoot this? I started working on getting HE setup, but if 6rd 'should' work I'll clear all that config off so I can be ready to try something.
-
no time yet
-
Well, I think I found why it detects my ip as 'private':
function is_private_ip($iptocheck) {
$isprivate = false;
$ip_private_list=array(
"10.0.0.0/8",
"172.16.0.0/12",
"192.168.0.0/16",
"99.0.0.0/8"
);
foreach($ip_private_list as $private) {
if(ip_in_subnet($iptocheck,$private)==true)
$isprivate = true;
}
return $isprivate;This is located in pfsense-utils.inc. Rather odd. I'm going to upgrade to the latest snapshot, and then adjust that ip to see if 6rd works.
-
Removing the ip fixed the private ip issue (and Chris changed MASTER to remove the bad ip range), and the firewall now appears to auto-config the correct ips (as best as I can tell),
however I'm not getting a default route for some reason. I guess I'll fiddle with this some more over the weekend. Almost there.EDIT: typing this in: route add -inet6 default 2602:300:c533:1510::
fixed my default route issue, once I put that in, everything (even PCs on the LAN) can ping ipv6 stuff. Yay!So the major issue is fixed, with the private ip being detected wrongly… the minor issue, 6rd isn't auto-setting the default route properly.
Speed test comes back a bit slow, probably because I'm pulling from Calif, and I'm in the Louisville area.
-
Australia: iiNet 2001:4479::/32 ->203.0.178.66 = delegated /64
Still trying to get this working, just fiddling with my pfSense settings at the moment.
Paste of the forum post below of their example Cisco config:
–---------------------------------------------------------------------------
Hi,
If you have Cisco hardware capable of running a version of IOS that supports 6rd (minimum: 15.1(3)T) you will be able to add the following information to your config to get IPv6 connectivity.
This is provided 'as is' and at your own risk. No support will be offered by iiNet, nor will any responsibility be taken for unsecured networks resulting from adding this to your config.
It is your own responsibility to obtain the appropriate version of IOS and secure it appropriate. This will not be supported by iiNet.
!
ipv6 general-prefix DELEGATED_PREFIX 6rd Tunnel0
ipv6 unicast-routing
ipv6 cef
!
interface Tunnel0
description 6RD Tunnel interface
no ip address
no ip redirects
ipv6 enable
ipv6 mtu 1280
tunnel source Dialer1 (OR DIALER0 etc.. whatever you have configured for WAN interface)
tunnel mode ipv6ip 6rd
tunnel 6rd prefix 2001:4479::/32
tunnel 6rd br 203.0.178.66
!
Int bvi1 (OR VLAN1 etc.. .. you lan interface)
ipv6 address DELEGATED_PREFIX ::/64 eui-64
!
ipv6 route 2001:4479::/32 Tunnel0
ipv6 route ::/0 Tunnel0 2001:4479:CB00:B242::1
!Matt Hutchinson
Project Officer - Operations
iiNet Ltd. -
America: Charter Communications (Cable internet)
i havent tried this YET as i have a Tunnel running at the moment here at home but this is from there
web page.6RD Configuration Settings
As part of Charter's IPv6 Trials we have made available a Public 6rd Border Relay. If you are interested in participating in our early trials and own a device that supports 6RD use this configuration information to begin experiencing the Next Generation Internet:6rd Prefix = 2602:/32
Border Relay Address = 68.114.165.1
6rd prefix length = 32
IPv4 mask length = 0Primary DNS Address = 2607:f428:1::5353:1
Secondary DNS Address = 2607:f428:2::5353:1Best regards
-
@SunCatalyst:
America: Charter Communications (Cable internet)
i havent tried this YET as i have a Tunnel running at the moment here at home but this is from there
web page.6RD Configuration Settings
As part of Charter's IPv6 Trials we have made available a Public 6rd Border Relay. If you are interested in participating in our early trials and own a device that supports 6RD use this configuration information to begin experiencing the Next Generation Internet:6rd Prefix = 2602:/32
Border Relay Address = 68.114.165.1
6rd prefix length = 32
IPv4 mask length = 0Primary DNS Address = 2607:f428:1::5353:1
Secondary DNS Address = 2607:f428:2::5353:1Best regards
I have recent used Charter's 6RD setup and noticed a quirk on my side… My lan is setup as a TRACK for IPv6 and it does get an address and then each client gets an IPv6 address without issues from there. However I've noticed in my setup the IPv6 DNS server isn't coming across in windows. My DHCP server in PFSense (IPv4) is setup to send the IPv4 LAN address which is able to resolve IPv6 DNS servers but how do I allow my DHCP to send a IPv6 DNS server also?
-
how do I allow my DHCP to send a IPv6 DNS server also?
How do you have DNS items configured in pfSense DHCP server page?
-
How do you have DNS items configured in pfSense DHCP server page?
They are blank which would mean they inherit they are setup as the IPv4 LAN address. But in my case is the PFSense DHCPv4 actually issuing DHCP to my IPv6 clients or is Charter's 6RD platform?
-
I haven't tried it myself, but in Canada, Rogers offers this:
Setting Confirmation Required
Provider Prefix 2607:F090
Provider Prefix Sites 32
Mask Bits 0
Relay Address 66.185.95.192 -
I guess i am a little too nooby to get all this,
My isp information is:
Altibox 6RD border relay: 213.167.115.92
15 bits prefix.Can someone explain how this thing works, or is there an article i cant find on the wiki?
-Kristoffer
-
Please note that Swisscom will change the IP of its 6rd Border Relays to 193.5.29.1 at April 9th, 08:00. This change will be reflected in the DNS name 6rd.swisscom.com at the same time (plus some propagation time through DNS).
-
Altibox/Lyse, Norway
6RD IPv6 Prefix: 2a01:79c::/30
6RD Border Relay: 213.167.115.92
6RD IPv4 Prefix length: 0Results in a /62.
They're using dhcp option 212 to distribute the configuration to the devices that support it.
I haven't managed to get it to work myself yet. It adds the correct address to the interface - the one I've been told I'm supposed to get - but I can't actually reach anything from it. Not entirely sure if the problem is on my end or with my ISP. Running Pfsense 2.1-RC0 (amd64) built on Tue Jun 4 20:54:59 EDT 2013.
-
Hi Nulani,
As far as I know 6RD has been broken in 2.1 since mid-January.
You can find some additional details in this post:
http://forum.pfsense.org/index.php/topic,62629.0.html
-Will