dhcpcd-discuss

dhcpcd on raspberry pi doesn't pick up an IPv6 address

James Gross

Sat Dec 21 16:31:06 2019

Hi,

I have two Raspberry Pis running dhcpcd on raspbian buster
Neither of them can get an IPv6 address.
My router is a Zxyel VMG3925-B10B

All the other devices on my network seem to be able to get IPv6 addresses
MacOS
iPhones
Mikrotik router as DHCP client
An old Netgear switch.

Here is the dhcpcd log from one of the Pis

Dec 21 11:22:48 [10971]: dhcpcd-8.1.4 starting
Dec 21 11:22:48 [10971]: udev: starting
Dec 21 11:22:48 [10971]: dev: loaded udev
Dec 21 11:22:48 [10971]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
PREINIT
Dec 21 11:22:48 [10971]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
CARRIER
Dec 21 11:22:48 [10971]: DUID 00:01:00:01:25:1e:c1:be:b8:27:eb:5f:0a:3f
Dec 21 11:22:48 [10971]: eth0: IAID eb:0a:5f:6a
Dec 21 11:22:48 [10971]: eth0: delaying IPv6 router solicitation for 0.2
seconds
Dec 21 11:22:48 [10971]: eth0: delaying IPv4 for 0.6 seconds
Dec 21 11:22:48 [10971]: eth0: soliciting an IPv6 router
Dec 21 11:22:48 [10971]: eth0: sending Router Solicitation
Dec 21 11:22:48 [10971]: eth0: Router Advertisement from
fe80::be99:11ff:fe81:6408
Dec 21 11:22:48 [10971]: eth0: adding address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:22:48 [10971]: eth0: pltime 4294967022 seconds, vltime 4294967022
seconds
Dec 21 11:22:48 [10971]: eth0: adding route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:22:48 [10971]: eth0: waiting for Router Advertisement DAD to
complete
Dec 21 11:22:48 [10971]: eth0: requesting DHCPv6 information
Dec 21 11:22:48 [10971]: eth0: delaying INFORM6 (xid 0x2b6bdb), next in 0.9
seconds
Dec 21 11:22:48 [10971]: eth0: expired address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:22:48 [10971]: eth0: part of Router Advertisement expired
Dec 21 11:22:48 [10971]: eth0: deleting route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:22:48 [10971]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
ROUTERADVERT
Dec 21 11:22:49 [10971]: eth0: using ClientID 01:b8:27:eb:0a:5f:6a
Dec 21 11:22:49 [10971]: eth0: reading lease `/var/lib/dhcpcd5/eth0.lease'
Dec 21 11:22:49 [10971]: eth0: rebinding lease of 192.168.55.26
Dec 21 11:22:49 [10971]: eth0: ARP announcing 192.168.55.26 (1 of 2), next
in 2.0 seconds
Dec 21 11:22:49 [10971]: eth0: sending REQUEST (xid 0xb75348dc), next in
3.1 seconds
Dec 21 11:22:49 [10971]: eth0: broadcasting INFORM6 (xid 0x2b6bdb), next in
0.9 seconds
Dec 21 11:22:49 [10971]: eth0: acknowledged 192.168.55.26 from 192.168.55.1
Dec 21 11:22:49 [10971]: eth0: leased 192.168.55.26 for 300 seconds
Dec 21 11:22:49 [10971]: eth0: renew in 150 seconds, rebind in 262 seconds
Dec 21 11:22:49 [10971]: eth0: writing lease `/var/lib/dhcpcd5/eth0.lease'
Dec 21 11:22:49 [10971]: eth0: adding IP address 192.168.55.26/24 broadcast
192.168.55.255
Dec 21 11:22:49 [10971]: eth0: adding route to 192.168.55.0/24
Dec 21 11:22:49 [10971]: eth0: adding default route via 192.168.55.1
Dec 21 11:22:49 [10971]: eth0: ARP announcing 192.168.55.26 (1 of 2), next
in 2.0 seconds
Dec 21 11:22:49 [10971]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
REBOOT
Dec 21 11:22:49 [10971]: forking to background
Dec 21 11:22:49 [10971]: forked to background, child pid 10999
Dec 21 11:22:49 [10999]: eth0: bound, ignoring 192.168.55.26 from
192.168.55.1
Dec 21 11:22:49 [10999]: eth0: REPLY6 received from
fe80::be99:11ff:fe81:6408
Dec 21 11:22:49 [10999]: eth0: refresh in 86400 seconds
Dec 21 11:22:49 [10999]: eth0: writing lease `/var/lib/dhcpcd5/eth0.lease6'
Dec 21 11:22:49 [10999]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
INFORM6
Dec 21 11:22:51 [10999]: eth0: ARP announcing 192.168.55.26 (2 of 2)
Dec 21 11:22:58 [10999]: eth0: Router Advertisement from
fe80::be99:11ff:fe81:6408
Dec 21 11:22:58 [10999]: eth0: adding address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:22:58 [10999]: eth0: pltime 4294967011 seconds, vltime 4294967011
seconds
Dec 21 11:22:58 [10999]: eth0: adding route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:22:58 [10999]: eth0: waiting for Router Advertisement DAD to
complete
Dec 21 11:22:58 [10999]: eth0: requesting DHCPv6 information
Dec 21 11:22:58 [10999]: eth0: delaying INFORM6 (xid 0x63a1f8), next in 0.2
seconds
Dec 21 11:22:58 [10999]: eth0: expired address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:22:58 [10999]: eth0: part of Router Advertisement expired
Dec 21 11:22:58 [10999]: eth0: deleting route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:22:58 [10999]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
ROUTERADVERT
Dec 21 11:22:58 [10999]: eth0: broadcasting INFORM6 (xid 0x63a1f8), next in
0.9 seconds
Dec 21 11:22:58 [10999]: eth0: REPLY6 received from
fe80::be99:11ff:fe81:6408
Dec 21 11:22:58 [10999]: eth0: refresh in 86400 seconds
Dec 21 11:22:58 [10999]: eth0: writing lease `/var/lib/dhcpcd5/eth0.lease6'
Dec 21 11:22:58 [10999]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
INFORM6
Dec 21 11:23:08 [10999]: eth0: Router Advertisement from
fe80::be99:11ff:fe81:6408
Dec 21 11:23:08 [10999]: eth0: adding address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:23:08 [10999]: eth0: pltime 4294967001 seconds, vltime 4294967001
seconds
Dec 21 11:23:08 [10999]: eth0: adding route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:23:08 [10999]: eth0: waiting for Router Advertisement DAD to
complete
Dec 21 11:23:08 [10999]: eth0: requesting DHCPv6 information
Dec 21 11:23:08 [10999]: eth0: delaying INFORM6 (xid 0x3c2d9e), next in 0.3
seconds
Dec 21 11:23:08 [10999]: eth0: expired address
2001:8b0:de0a:bb0e:ba27:ebff:fe0a:5f6a/64
Dec 21 11:23:08 [10999]: eth0: part of Router Advertisement expired
Dec 21 11:23:08 [10999]: eth0: deleting route to 2001:8b0:de0a:bb0e::/64
Dec 21 11:23:08 [10999]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
ROUTERADVERT
Dec 21 11:23:09 [10999]: eth0: broadcasting INFORM6 (xid 0x3c2d9e), next in
1.1 seconds
Dec 21 11:23:09 [10999]: eth0: REPLY6 received from
fe80::be99:11ff:fe81:6408
Dec 21 11:23:09 [10999]: eth0: refresh in 86400 seconds
Dec 21 11:23:09 [10999]: eth0: writing lease `/var/lib/dhcpcd5/eth0.lease6'
Dec 21 11:23:09 [10999]: eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks'
INFORM6

Can you help?

Thanks,

James

Follow-Ups:
Re: dhcpcd on raspberry pi doesn't pick up an IPv6 addressRoy Marples
Archive administrator: postmaster@marples.name