Re: Multiple prefix delegations to one system
nighthawk
Wed Feb 12 21:18:15 2020
Hi!
On Mon, Feb 10, 2020 at 11:24 PM Roy Marples <roy@xxxxxxxxxxxx> wrote:
>
> On 10/02/2020 20:44, nighthawk wrote:
> > Feb 10 20:56:27 opiprime dhcpcd[18269]: no such user _dhcpcd
>
> So at a guess you just checked out the git sources and built it?
> By default you get the master branch and not the dhcpcd-8 branch.
Honestly, I've never built a Debian package before and was not sure
what I was doing in the end, since none of the guides I found at first
were as straight forward as I was hoping, so I ended up trying a
few... I guess the one that worked out in the end, was using the git
source.
> Can you please updating to the latest code, build it and run this:
> dhcpcd -dB
>
> Ctrl-C the process once done.
> Post the new log here please.
This was built at commit 096d770b
root@opiprime:~# /usr/sbin/dhcpcd -dB
dhcpcd-8.99.0 starting
no such user _dhcpcd
if_learnaddrs: if_addrflags6: No such process
if_learnaddrs: if_addrflags6: No such process
if_learnaddrs: if_addrflags6: No such process
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' PREINIT
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' CARRIER
DUID 00:01:00:01:25:d3:37:53:02:01:c6:ee:53:be
eth0: IAID c6:ee:53:be
eth0: IA type 25 IAID c6:ee:53:bf
eth0: delaying IPv6 router solicitation for 0.8 seconds
eth0: reading lease `/var/lib/dhcpcd/eth0.lease6'
eth0: rebinding prior DHCPv6 lease
eth0: delaying REBIND6 (xid 0x5d25fb), next in 1.0 seconds
eth0: delaying IPv4 for 0.3 seconds
eth0: sending INFORM (xid 0xdde7f5ff), next in 3.4 seconds
eth0: soliciting an IPv6 router
eth0: sending Router Solicitation
eth0: Router Advertisement from fe80::ce35:40ff:fe35:95d4
eth0: adding address 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: pltime 86400 seconds, vltime 172800 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: adding route to 2a02:xxxx:2731:40c0::/64
eth0: adding default route via fe80::ce35:40ff:fe35:95d4
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' ROUTERADVERT
eth0: broadcasting REBIND6 (xid 0x5d25fb), next in 1.1 seconds
eth0: REPLY6 received from fe80::ce35:40ff:fe35:95d4
eth0: adding address 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: pltime 30 seconds, vltime 60 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: renew in 15, rebind in 22, expire in 60 seconds
lo: adding reject route to 2a02:xxxx:2731:40d8::/62
eth0: writing lease `/var/lib/dhcpcd/eth0.lease6'
eth0: delegated prefix 2a02:xxxx:2731:40d8::/62
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' REBIND6
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
ipv6nd_recvmsg: No such process
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: sending INFORM (xid 0xdde7f5ff), next in 9.0 seconds
eth0: sending INFORM (xid 0xdde7f5ff), next in 16.8 seconds
ipv6nd_recvmsg: No such process
eth0: broadcasting RENEW6 (xid 0xa3bf1e), next in 10.1 seconds
eth0: REPLY6 received from fe80::ce35:40ff:fe35:95d4
eth0: adding address 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: pltime 30 seconds, vltime 60 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: renew in 15, rebind in 22, expire in 60 seconds
eth0: writing lease `/var/lib/dhcpcd/eth0.lease6'
eth0: delegated prefix 2a02:xxxx:2731:40d8::/62
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' RENEW6
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
ipv6nd_recvmsg: No such process
eth0: Router Advertisement from fe80::ce35:40ff:fe35:95d4
eth0: adding address 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: pltime 86400 seconds, vltime 172800 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' ROUTERADVERT
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: sending INFORM (xid 0xdde7f5ff), next in 31.2 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:4990:5522:e582:4f27/64
eth0: broadcasting RENEW6 (xid 0x789e4d), next in 10.8 seconds
eth0: REPLY6 received from fe80::ce35:40ff:fe35:95d4
eth0: adding address 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: pltime 30 seconds, vltime 60 seconds
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: renew in 15, rebind in 22, expire in 60 seconds
eth0: writing lease `/var/lib/dhcpcd/eth0.lease6'
eth0: delegated prefix 2a02:xxxx:2731:40d8::/62
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' RENEW6
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
eth0: sending NA for 2a02:xxxx:2731:40c0:201:c6ff:feee:53be/128
.
(it seems, it was "looping" there)
.
^Creceived SIGINT, stopping
eth0: removing interface
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks' STOPPED
dhcpcd exited
> Looking at the code, the prefix was given with a the REPLY with a vltime of
> zero, so it will be deleted.
> But this doesn't make sense because it will "will expire before renewal" which
> means it must have had a vltime in the loop.
>
> Without seeing the actual DHCP6 packet we can only speculate what the DHCPv6
> server is doing.
It could very well be, that my router is doing crazy stuff. I could
capture the packet if thats helpful, but would send that privately.
The only thing that irritates me is, that everything is working fine
with just one PD, but as soon as I add another, no PD happens at all.
I will next try to build the dhcpcd-8 branch and see if that works.
Archive administrator: postmaster@marples.name