Hurricane Electric's IPv6 Tunnel Broker Forums
May 24, 2013, 10:31:50 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Hurricane Electric's Tunnelbroker.net forums!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: OpenBSD and DHCPv6 PD  (Read 2447 times)
neilehodges
Newbie
*
Posts: 4


View Profile
« on: May 05, 2011, 05:46:35 am »

Someday Comcast will support native IPv6 where I'll be living, and I'd love to take advantage of it.  I can't seem to figure out how I would set rtadvd and a DHCPv6 PD client up, though.  I've posted on a few BSD forums, but they don't seem to have any information either.

My router currently is using DHCPv6 for some hosts, but has SLAAC configured (again, with rtadvd) for most.  How would I go about getting DHCPv6 PD working in the future on OpenBSD?
Logged
neilehodges
Newbie
*
Posts: 4


View Profile
« Reply #1 on: May 26, 2011, 07:43:09 am »

Will Comcast be using DHCPv6 PD or be handing out static prefixes?  Does anybody know the long-term path?
Logged
jimb
Hero Member
*****
Posts: 804


^^^ Warped picture


View Profile
« Reply #2 on: May 27, 2011, 12:16:32 am »

I believe they will be using DHCPv6 PD. 

As for setting it up, you'd have to read the man pages and maybe the RFCs.  Tongue
Logged

kriteknetworks
Full Member
***
Posts: 216


View Profile WWW
« Reply #3 on: May 27, 2011, 08:42:28 am »

I believe they will be using DHCPv6 PD. 

Hey jimb...what leads you to believe this?
Logged
jimb
Hero Member
*****
Posts: 804


^^^ Warped picture


View Profile
« Reply #4 on: May 27, 2011, 04:48:38 pm »

I believe they will be using DHCPv6 PD.  

Hey jimb...what leads you to believe this?
Mostly skuttlebutt on the Comcast IPv6 trial forum site.
Logged

Midnight
Newbie
*
Posts: 9


View Profile
« Reply #5 on: June 12, 2012, 10:16:09 am »

Someday Comcast will support native IPv6 where I'll be living, and I'd love to take advantage of it.  I can't seem to figure out how I would set rtadvd and a DHCPv6 PD client up, though.  I've posted on a few BSD forums, but they don't seem to have any information either.

My router currently is using DHCPv6 for some hosts, but has SLAAC configured (again, with rtadvd) for most.  How would I go about getting DHCPv6 PD working in the future on OpenBSD?

Hi.

I know this thread is over a year old now...but I too am wondering about essentially the same exact thing.  I want to know if anyone has any information about how Comcast is implementing native dual stack on consumer cable connections.  I know when you turn on IPv6 forwarding, that automatically disables ra_accept so that cannot be used on the WAN interface.  But I hear like you mentioned that they plan to use DHCPv6 to give the customer the IPv6 address and some other info for a delegated subnet.  Does OpenBSD 5.1 have a working DHCPv6 client/server?
Logged
Midnight
Newbie
*
Posts: 9


View Profile
« Reply #6 on: August 11, 2012, 06:14:26 pm »

Hi everyone...

I just managed to get a delegated prefix working on my OpenBSD router using the isc-dhclient software package I installed (the default included dhclient does NOT support IPv6 at all it appears).

There are a couple of things:

1)  The isc-dhclient package does NOT include a dhclient-script of it's own so I was forced to work off the already included one in OpenBSD 5.1.  Ironically this version has subroutines in it specifically for IPv6.  However they clearly do not work, especially when attempting to work in Prefix Delegation mode.  I tweaked the script to figure out how it worked and eventually found it was getting it's information via temporary environment variables and depending on what's set when it's called, it attempts to configure the system accordingly.  So I watched the behavior of #sudo /usr/local/sbin/dhclient -d -6 -P -D LL -N vr0 -sf /root/dhclient-script until I found the information that was necessary to provision an IPv6 address on the WAN interface and then modified the script some to provision the delegated prefix obtained via dhclient -6 -P mode.

Here's where the deficiencies remain to be solved.

2)  There was never any mention of DNS server IPs...ok fine I can continue to work off the IPv4 ones for now, no biggie.

3)  But worse than that was the IPv6 default route was never configured, and I quickly realized it was because such information is simply NOT supplied via DHCPv6 because if you read the RFCs it's meant to be obtained via a standard IPv6 Router Advertisement, which....

4)  ...can't be done!!! because my router is configured for forwarding which if you also read the RFCs means net.inet6.ip6.accept_rtadv=0 has to be disabled!!!  So wait, how is this supposed to work?  If you take the link local IPv6 address of the DHCPv6 server and manually configure it as your default route, then magically your delegated subnet suddenly works.

So my question is...does anyone know how to force net.inet6.ip6.accept_rtadv=1 to enabled and still be able to enable forwarding of IPv6 in the kernel?  Or is there a way to leave forwarding enabled and still somehow extract the information that would otherwise be obtained automatically via the kernel and manually configure it via a script of some kind?

I am willing to post my modifications to the dhclient-script from OpenBSD 5.1 in case anyone is interested in seeing how I got it to sort of work, and maybe refine what I started.

Midnight
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!