dhcpcd-discuss

Re: dhcpcd sometimes does not clear IPv6 addresses correctly

Nico Schottelius

Thu Nov 07 18:30:35 2019

Hey Roy,

Roy Marples <roy@xxxxxxxxxxxx> writes:
>
> On 05/11/2019 19:48, Nico Schottelius wrote:
>> while I am at finding bugs, after moving to a
>> different wifi network, dhcpcd sometimes does not clean the old lease:
>>
>> 2: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
>>      link/ether 24:ee:9a:54:c3:bf brd ff:ff:ff:ff:ff:ff
>>      inet 192.168.4.29/24 brd 192.168.4.255 scope global dynamic noprefixroute wlp0s20f3
>>         valid_lft 423sec preferred_lft 366sec
>>      inet6 2a0a:e5c1:111:111:6513:82f9:2b4f:593e/64 scope global dynamic mngtmpaddr noprefixroute
>>         valid_lft 86398sec preferred_lft 14398sec
>>      inet6 2a0a:e5c0:10:bee:5fe8:6d2:b19a:3e8f/64 scope global dynamic mngtmpaddr noprefixroute
>>         valid_lft 80447sec preferred_lft 8447sec
>>      inet6 fe80::e00d:528:9af3:e20a/64 scope link
>>         valid_lft forever preferred_lft forever
>>
>> The 2a0a:e5c0:10:bee:5fe8:6d2:b19a:3e8f is from the previous network,
>> the 2a0a:e5c1:111:111:6513:82f9:2b4f:593e is from the current network.
>
> I don't suppose you can put this in /etc/dhcpcd.conf and restart dhcpcd?
> debug
> logfile /var/log/dhcpcd.log

Sure thing - I just encountered the problem right before restarting, so
I assume I'll be able to trigger it again in the next days.

> When it happens again, please email the log and state the address not
> removed?

Will do!

Have a good evening,

Nico

--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch

References:
dhcpcd sometimes does not clear IPv6 addresses correctlyNico Schottelius
Re: dhcpcd sometimes does not clear IPv6 addresses correctlyRoy Marples
Archive administrator: postmaster@marples.name