dhcpcd-discuss

Re: IPv6 default route not added (dhcpcd-9.1.4)

Roy Marples

Sun Aug 02 22:06:06 2020

On 02/08/2020 22:01, Nathan O'Meara wrote:
Thanks for the quick reply.  I had wondered if that was it, and tried that already. I just tried it again:

Aug 02 16:57:30 [6145]: wan0: reading lease `/var/lib/dhcpcd/wan0.lease6'
Aug 02 16:57:30 [6145]: wan0: soliciting a DHCPv6 lease
Aug 02 16:57:30 [6145]: wan0: delaying SOLICIT6 (xid 0x5ccf63), next in 1.1 seconds
Aug 02 16:57:30 [6145]: wan0: sending Router Solicitation
Aug 02 16:57:31 [6145]: wan0: broadcasting SOLICIT6 (xid 0x5ccf63), next in 1.1 seconds
Aug 02 16:57:32 [6145]: wan0: sending DISCOVER (xid 0x9b319cab), next in 8.0 seconds
Aug 02 16:57:32 [6145]: wan0: broadcasting SOLICIT6 (xid 0x5ccf63), next in 2.0 seconds
Aug 02 16:57:34 [6145]: wan0: sending Router Solicitation
Aug 02 16:57:34 [6145]: wan0: broadcasting SOLICIT6 (xid 0x5ccf63), next in 4.3 seconds Aug 02 16:57:34 [6145]: wan0: ADV 2605:a000:ffc0:8a:bc0d:d4a8:93c2:d403/128 from fe80::201:5cff:fe66:fe46 Aug 02 16:57:34 [6145]: wan0: broadcasting REQUEST6 (xid 0xe0b1af), next in 1.1 seconds Aug 02 16:57:34 [6145]: wan0: wrong xid 0x5ccf63 (expecting 0xe0b1af) from fe80::201:5cff:fe66:fe46
Aug 02 16:57:34 [6145]: wan0: REPLY6 received from fe80::201:5cff:fe66:fe46
Aug 02 16:57:34 [6145]: wan0: adding address 2605:a000:ffc0:8a:bc0d:d4a8:93c2:d403/128
Aug 02 16:57:34 [6145]: wan0: pltime 604647 seconds, vltime 604647 seconds
Aug 02 16:57:34 [6145]: wan0: renew in 302323, rebind in 483717, expire in 604647 seconds
Aug 02 16:57:34 [6145]: lo: adding reject route to 2607:fcc8:9320:1400::/56
Aug 02 16:57:34 [6145]: wan0: writing lease `/var/lib/dhcpcd/wan0.lease6'
Aug 02 16:57:34 [6145]: wan0: delegated prefix 2607:fcc8:9320:1400::/56


It looks like DHCP6 and IPV6RS don't play nice together in my config?  The xid from the newer request6 is what is 'expected' and the xid from the 'solicit6' that it gets returned results in it being discarded?

So you have a slow upstream DHCPv6 server. I don't see anything wrong there though.
Aug 02 16:57:34 [6145]: wan0: sending Router Solicitation

But no reply came back.
Looks like there is no rtadvd or similar upstream to reply to your requests?
You should be able to verify that with tcpdump.

tcpdump -vvvv -ttt -i wan0 icmp6 and 'ip6[40] = 134'

Run that and in another console restart dhcpcd.
If I'm right, tcpdump should not report any router advertisements.

Roy

Follow-Ups:
Re: IPv6 default route not added (dhcpcd-9.1.4)Nathan O'Meara
References:
IPv6 default route not added (dhcpcd-9.1.4)Nathan O'Meara
Re: IPv6 default route not added (dhcpcd-9.1.4)Roy Marples
Re: IPv6 default route not added (dhcpcd-9.1.4)Nathan O'Meara
Archive administrator: postmaster@marples.name