-
Hi, i am in the process on build the framework on my link to use ipv6 on my VDSL link, ipv6 works, the dhcp-pd works also and i can add a /64 to my primary interface lan facing. The documentation is mostly on the internet for the wide-dhcp clients, the dhcpcd things are small and only for a "normal" case. It seems the wide-dhcp client can that also with for example: But i use dhcpcd and would like to do that here, the man page and examples do not give many infos on this. My config for my ppp0 interface looks like this: br1 is my lan facing bridge (i have also more interfaces (br6 for example). So perhaps someone can give me a hint on that here ? Many Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
From dhcpcd.conf(5) man page.
So the stanza you want to match your example is this:
In wide-dhcp6 you specify the sla_len, but dhcpcd requires the prefix_length instead and attempts to fit the sla in. Here, I've assumed a /64. Does this help? |
Beta Was this translation helpful? Give feedback.
-
Hi @rsmarples But i'm buffling with a working config: I change my config for my br1 device from ... Config is for this: I did find a solution for me: ia_pd 1 br1/1 br6/6 net4.2/2 net4.4/4 this assigns perfectly the id 1 to br1, id 6 to br6 , id 2 to net4.2 and id4 to net4.4 Many thanks for your hint on this 👍 |
Beta Was this translation helpful? Give feedback.
Hi @rsmarples
many thanks, did not find it in my dhcpcd man page, but now i did :)
But i'm buffling with a working config:
I change my config for my br1 device from
ia_pd 1 br1
to
ia_pd 1 br1/1/8/64
so it should use build the /64 with an id 1, but a run shows
...
ppp0: delegated prefix 2001:aaa:bbb:1f00::/56
br1: invalid prefix 2001:aaa:bbb:1f00::/56 + 1/8: Numerical result out of range
...
Config is for this:
==============
allowinterfaces ppp0
duid
noipv6rs
waitip 6
ipv6only
interface ppp0
ipv6rs
iaid 1
ia_pd 1 br1/1/8/64
==============
I did find a solution for me:
ia_pd 1 br1/1 br6/6 net4.2/2 net4.4/4
this assigns perfectly the id 1 to br1, id 6 to br6 , id 2 to net4.2 and id4 to net4.4
…