dhcpcd-discuss

Re: PD Renumbering Failure

Roy Marples

Thu Dec 12 14:20:13 2019

On 12/12/2019 12:51, Shweta Kalyani wrote:
Thanks for the reply Roy (been waiting on it :))
My code is based on 7.2.3 so it will be difficult for me to test it for dhcpcd-8* versions. I understand and appreciate your support for this.
If you send patches, I can test it and get back to you.

First patch is here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?h=dhcpcd-7&id=b8233dd55cdf53084a4a2ccdecf784d18c001a30

All it does is silence this warning:
Dec 03 08:31:58 [12936]: eth1: 3001:dddd::/64 will expire before renewal

Based on the log entries, the script environment from the lease is perfectly fine it's just the assignment of the delegation to the downstream interface is not happening (and thus not being present in the DELEGATED6 environment)

GOOD LOG:
eth1: delegated prefix 3001:dddd::/64
eth0: adding address 3001:dddd::1/64
eth0: pltime 90 seconds, vltime 120 seconds
eth0: executing `/etc/conf/bin/dhcpcd-up' DELEGATED6

BAD LOG:
eth1: delegated prefix 3001:ddde::/64
eth0: executing `/etc/conf/bin/dhcpcd-up' DELEGATED6

Will look at the code some more.

Roy

Follow-Ups:
Re: PD Renumbering FailureRoy Marples
References:
PD Renumbering FailureShweta Kalyani
Re: PD Renumbering FailureRoy Marples
Re: PD Renumbering FailureShweta Kalyani
Archive administrator: postmaster@marples.name