Re: IA_PD and prefix length _requests_ ??
Roy Marples
Sat Jun 21 11:45:24 2014
On 21/06/2014 10:31, Roy Marples wrote:
So Comcast will give out three kinds of addresses. If you do an ia_na
you'll get a ::/128 address. If you do an ia_pd you'll get a ::64
address by default. And ...
If you do an ia_pd and "ask for one" (electronically) you'll get a
::/60 with four bits for your internal subnets. [I know /60 is the
magic number but I don't know if you can get other values between /60
and /64.]
dhcpcd does not support requesting a PD length at this time.
Should be fairly easy to add though
Now it does, patch here:
http://roy.marples.name/projects/dhcpcd/ci/b2870734cde05ae17ca36c6d1b62e00a56e2854d?sbs=0
We won't be able to "shave off" as such. What we can do is request a
length
and then "add to" for each int assignment to make your desired prefix
length
per interface, defaulting to 64.
I think I'll go like so
id_pd 7/::/60 (rest of syntax here)
id_pd ::/60 (rest of syntax here)
id_pd /::/60 (rest of syntax here)
Of course, there is no guarantee you'll get a /60 from the server.
The stanza is like so
ia_pd 7/::/60 (rest of syntax here)
You could of course use this to request an IA_NA address as well.
Please test if it works for you and let me know!
Thanks
Roy
Archive administrator: postmaster@marples.name