-
Hi. My ISP requires DHCPv6 PD in order to actually route an IPv6 prefix. Without a lease, the whole prefix is not routed at all and you're blackholed, even if the configuration itself is sane. They also don't support requesting specific addresses for interfaces. For static prefixes, like I have, this is stupid and doesn't make sense, but it's not my network and I can't change it, thus have to live with it. This leaves me in a bit of a pickle with I currently run this setup, calling
Unfortunately, it doesn't work the way I need it to work. Let's detangle it a bit: I'm only interested in IPv6, and only for the interface Fetching and assigning a prefix delegation works fine with this setup, but only initially. Since the DHCPv6 server does not support assigning individual addresses, I have to use My issue lies in what happens next: nothing. Even though
Naturally I've waited for 24 hours (and longer) to see if it renews correctly, but so far, it has done nothing. I'm pretty sure that the lease will eventually expire and So, in short, is there any way to tell |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
What makes you think the renew didn't happen?
Add the debug directive to your dhcpcd.conf and restart dhcpcd. You should then see dhcpcd starting the renew process after 86400 seconds of acquiring the delegation.
And this could actually be the issue. Because single interface mode requires binding to addresses and raw sockets just to support running more than one instance of single interface mode dhcpcd can get picking the source address wrong and the message could go nowhere. And because of how delegation and managing the route table needs to work it needs to look at all the interfaces anyway. If you're starting it in a script like |
Beta Was this translation helpful? Give feedback.
-
There were no log messages 86400 seconds later.
Yeah, I don't know why this happened. I've started In any case, I assumed that it worked, since it received a valid reply.
Okay, will do this.
I've been thinking about this as well and will definitely try it. Since single-interface mode implies |
Beta Was this translation helpful? Give feedback.
-
I've since changed my setup to ignore all interfaces but
disabled Seems like this is doing exactly what I want. It delegated the prefix, backgrounded by itself and renewing is also working fine. Thank you for the invaluable pointer! On a personal note, I hope you're doing reasonably well. |
Beta Was this translation helpful? Give feedback.
What makes you think the renew didn't happen?
Sep 3 03:25:18 src@valery dhcpcd[96629]: ppp0: failed to rebind prior delegation
This is a clue that dhcpcd couldn't rebind and likely cannot renew either.
What is interesting is that dhcpcd solicited and received a reply.
Add the debug directive to your dhcpcd.conf and restart dhcpcd. You should then see dhcpcd starting the renew process after 86400 seconds of acquiring the delegation.