dhcpcd icon indicating copy to clipboard operation
dhcpcd copied to clipboard

dhcpcd doesn't request IPv6 addresses if there is already one assigned to the interface

Open staples1347 opened this issue 3 years ago • 2 comments

Initially for this problem I was using dhcpcd 7.1.1 , but have just updated to 9.4.1 and the same problem occurs. I'm using dhcpcd on Gentoo Linux.

If I assign a static ipv6 address to a network interface that is configured to request an IPv6 address and delegation from a server, it doesn't seem to do a dhcp6 request and ignores the router advertisements.

For example if I do ip -6 addr add fdba:833c:95fa:65c6::1/64 dev net1 and in dhcpcd.conf I have: interface net1 release ipv4 dhcp iaid 0 ia_na 0 ia_pd 1 net0/1 ipv6 dhcp6 ipv6rs ipv6ra_autoconf slaac hwaddr

"dhcpcd -b net1" won't assign additional IPv6 addresses to net1

staples1347 avatar Jun 30 '22 03:06 staples1347

It also looks like dhcpcd won't send a dhcp6 solicit packet at startup if a delegated IPv6 address is manually deleted and then re-added to an interface and then dhcpcd is restarted.

staples1347 avatar Jul 03 '22 04:07 staples1347

Please add this to the top of dhcpcd.conf debug logfile /var/log/dhcpcd.log

Then restart dhcpcd and attach the logfile here.

rsmarples avatar Jul 29 '22 06:07 rsmarples

Using your configuration, dhcpcd-9.4.1 works just fine. Please supply the debug request to proceeed.

rsmarples avatar Aug 30 '22 15:08 rsmarples