Re: PD: problem configuring multiple interfaces after rebind
Roy Marples
Tue Mar 26 08:24:10 2019
On 26/03/2019 06:16, Remi Locherer wrote:
On Tue, Mar 26, 2019 at 12:54:11AM +0000, Roy Marples wrote:
On 25/03/2019 06:48, Remi Locherer wrote:
The log also shows another issue:
Renew does not work and dhcpcd needs to do a rebind. This is because the
DHCPv6 server from my ISP does not answer renew requests sent using unicast.
--> https://www.as13030.net/status.php#collapse_12863 : issues with PD
Mar 25 06:57:12 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 10.3 seconds
Mar 25 06:57:22 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 20.2 seconds
Mar 25 06:57:42 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 40.8 seconds
Mar 25 06:58:23 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 77.6 seconds
Mar 25 06:59:41 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 151.3 seconds
Mar 25 07:02:12 blau dhcpcd[88652]: em2: unicasting RENEW6 (xid 0x38fce6), next in 309.1 seconds
Mar 25 07:07:12 blau dhcpcd[88652]: em2: failed to renew DHCPv6, rebinding
I've added a commit to dhcpcd which makes this work:
interface em2
nooption dhcp6_unicast
This should stop dhcpcd from unicasting the renew request and will broadcast
it instead.
https://roy.marples.name/git/dhcpcd.git/commit/?id=01c95afadf6231ae7dced05537f95995f086f573
Let me know if this fixes your problem with renew.
Clearly, rebind is still an issue, but if renew works maybe that will go
away.
With this renew works and all interfaces keep their IPv6 address. Thank you!
Awesome sauce!
That is one badly broken DHCPv6 server :(
Something with 'script ""' seems not to work as expected.
Mar 26 06:08:16 blau dhcpcd[9558]: dhcpcd-7.1.1 starting
Mar 26 06:08:16 blau dhcpcd[9558]: em1: executing `""' PREINIT
Mar 26 06:08:16 blau dhcpcd[9558]: script_runreason: "": WEXITSTATUS 127
Mar 26 06:08:16 blau dhcpcd[9558]: em1: executing `""' CARRIER
Mar 26 06:08:16 blau dhcpcd[9558]: script_runreason: "": WEXITSTATUS 127
Yes, I posted a fix for this the other day.
Here it is again:
https://roy.marples.name/git/dhcpcd.git/commit/?id=f17480d3e1e914d03fea0c054a028fe979742950
https://roy.marples.name/git/dhcpcd.git/commit/?id=97bb60296dc42a29a054ebf9347ac31a7d787393
Hopefully dhcpcd is now working sweetly for you :)
Roy
Archive administrator: postmaster@marples.name