dhcpcd-discuss

Re: IPv6 address not released on closed

Boris Krasnovskiy

Mon Mar 01 20:49:33 2021

Hi Roy,

the simplest way to explain, please take a look at the log below.

I would expect to see something like "sending DHCPv6 RELEASE", after SIGINT
instead I get nothing, no sending of any kind.
That is the problem.

# dhcpcd -6Bdf /etc/dhcp/dhcpcd-master.conf eth0
dhcpcd-9.4.0 starting
DUID xxxx
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks PREINIT
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks CARRIER
eth0: IAID xxxx
eth0: delaying IPv6 router solicitation for 0.8 seconds
eth0: soliciting an IPv6 router
eth0: sending Router Solicitation
eth0: Router Advertisement from xxxx
eth0: adding address xxxxx
eth0: pltime 336667 seconds, vltime 336667 seconds
eth0: adding route to xxxxx
eth0: waiting for Router Advertisement DAD to complete
eth0: reading lease: /var/lib/dhcpcd/eth0.lease6
eth0: confirming prior DHCPv6 lease
eth0: delaying CONFIRM6 (xid 0x238851), next in 1.1 seconds
eth0: adding default route via xxxxx
eth0: broadcasting CONFIRM6 (xid 0x238851), next in 1.0 seconds
eth0: REPLY6 received from xxxx
eth0: adding address xxxxx
eth0: pltime 43200 seconds, vltime 43200 seconds
eth0: renew in 12705, rebind in 25665, expire in 34305 seconds
eth0: waiting for DHCPv6 DAD to complete
eth0: Router Advertisement DAD completed
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
eth0: sending NA for xxxx
eth0: sending NA for xxxx
eth0: DHCPv6 DAD completed
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks REBOOT6
eth0: sending NA for xxxxx
eth0: sending NA for xxxxx
eth0: sending NA for xxxxx
eth0: sending NA for xxxxx
^Creceived SIGINT, stopping
eth0: removing interface
eth0: deleting address xxxxx
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks STOP6
eth0: deleting address xxxxx
eth0: deleting route to xxxxx
eth0: deleting default route via xxxxx
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks ROUTERADVERT
eth0: executing: /lib/dhcpcd/dhcpcd-run-hooks STOPPED


On Fri, Feb 26, 2021 at 9:25 AM Boris Krasnovskiy <borkra@xxxxxxxxx> wrote:

> Hi Roy,
>
>
>
> It looks like when persistent flag not set and dhcpcd -6 stopped IPv6
> address not released.
>
>
>
> Thank you,
>
> Boris Krasnovskiy
>


-- 
Thank you,
Boris Krasnovskiy

References:
ipv6 only modeBoris Krasnovskiy
Re: ipv6 only modeRoy Marples
IPv6 address not released on closedBoris Krasnovskiy
Archive administrator: postmaster@marples.name