Re: IPv6 default route not added (dhcpcd-9.1.4)
Nathan O'Meara
Sun Aug 02 22:01:13 2020
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?
Nathan
On Sun, Aug 2, 2020 at 4:12 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:
> Hi Nathan
>
> On 02/08/2020 20:59, Nathan O'Meara wrote:
> > dhcpcd seems to get all my addresses correctly - an ipv4 address gets
> assigned
> > to wan0, and a /56 ipv6 prefix delegation is received and the /64s are
> delegated
> > to the appropriate internal interfaces. dhcpcd then adds reject routes
> for the
> > PDs and a default ipv4 route - but it doesn't seem to add a default ipv6
> route.
>
> ...
>
> > # grep -v "^#" /etc/dhcpcd.conf
> > debug
> > logfile /var/log/dhcpcd.log
> >
> > denyinterfaces wan0slave* ifb* veth* wg*
> >
> > hostname
> >
> > duid
> >
> > waitip 6
> > noipv6rs
> > nodhcp
> > nodhcp6
> > noipv4ll
> >
> > option rapid_commit
> >
> > option domain_name_servers, domain_name, domain_search, host_name
> > option interface_mtu
> >
> > require dhcp_server_identifier
> >
> > slaac private
> >
> > nohook lookup-hostname
> > nohook resolv.conf
> >
> > interface wan0
> > dhcp
> > dhcp6
> >
> > ia_pd 1/::/56 lan0/0 lan0.42/2 lan0.43/3 lan0.110/4 lan0.214/5 lan0.215/6
>
> You've turned off ipv6rs globally, but you've not enabled it for the wan0
> interface. Add ipv6rs.
>
> Roy
>
Archive administrator: postmaster@marples.name