Failing ro reconfigure interface with prefix delegation
Andrey Vakhitov
Fri Sep 07 04:56:41 2018
Hi Roy,
I'm using dhcpcd 7.0.7 to delegate an IPv6 prefix for my local LAN.
It's receiving the prefix from the upstream router, which in this case
is an AVM FritzBox with IA_PD enabled.
The IPv6 address and prefix are dynamic and changes at least once a day.
Dhcpcd gets RECONFIGURE6 message from the upstream router and starts
handling it due to "noauthrequired" option being set. Dhcpcd successfully
renews interface address but is unable to renew delegated prefixes. It
continuously sends RENEW6 but can't process REPLY: "wan0: DHCPv6 REPLY: iapd
not found". It tries to renew for ca. half hour, then gives up and performs
rebind. During this period my local network doesn't have correct IPv6
adresses. How can I fix it?
Here is the log:
---------------------------
Sep 06 22:07:48 rtr dhcpcd[2438]: wan0: RECONFIGURE recv from
fe80::7eff:4dff:fe03:2c18, sending to all interfaces
Sep 06 22:07:48 rtr dhcpcd[2438]: wan0: unauthenticated RECONFIGURE6 from
fe80::7eff:4dff:fe03:2c18
Sep 06 22:07:48 rtr dhcpcd[2438]: wan0: RECONFIGURE6 from
fe80::7eff:4dff:fe03:2c18
Sep 06 22:07:48 rtr dhcpcd[2438]: wan0: broadcasting RENEW6 (xid 0xf49ac6),
next in 9.8 seconds
Sep 06 22:07:48 rtr dhcpcd[2438]: lan0: DHCPv6 reply received but not
running: No such file or directory
Sep 06 22:07:48 rtr dhcpcd[2438]: dmz0: DHCPv6 reply received but not
running: No such file or directory
Sep 06 22:07:48 rtr dhcpcd[2438]: wan0: DHCPv6 REPLY: prefix mismatch
Sep 06 22:07:50 rtr dhcpcd[2438]: wan0: Router Advertisement DAD completed
Sep 06 22:07:50 rtr dhcpcd[2438]: wan0: executing
`/usr/lib/dhcpcd/dhcpcd-run-hooks' ROUTERADVERT
Sep 06 22:07:58 rtr dhcpcd[2438]: wan0: broadcasting RENEW6 (xid 0xf49ac6),
next in 20.2 seconds
Sep 06 22:07:58 rtr dhcpcd[2438]: wan0: DHCPv6 REPLY: iapd not found
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: Router Advertisement from
fe80::7eff:4dff:fe03:2c18
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: adding address
fd00::c2b0:ab08:4de0:dc18/64
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: pltime 0 seconds, vltime 7200
seconds
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: adding address
2001:16b8:22a9:9400:c2b0:ab08:4de0:dc18/64
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: pltime 3600 seconds, vltime 7200
seconds
Sep 06 22:08:03 rtr dhcpcd[2438]: lo: deleting reject route to
2001:16b8:22a8:fffc::/62
Sep 06 22:08:03 rtr dhcpcd[2438]: wan0: executing
`/usr/lib/dhcpcd/dhcpcd-run-hooks' ROUTERADVERT
Sep 06 22:08:18 rtr dhcpcd[2438]: wan0: broadcasting RENEW6 (xid 0xf49ac6),
next in 39.9 seconds
Sep 06 22:08:18 rtr dhcpcd[2438]: wan0: DHCPv6 REPLY: iapd not found
Sep 06 22:08:58 rtr dhcpcd[2438]: wan0: broadcasting RENEW6 (xid 0xf49ac6),
next in 79.6 seconds
Sep 06 22:08:58 rtr dhcpcd[2438]: wan0: DHCPv6 REPLY: iapd not found
---------------------------
According dump:
---------------------------
22:07:48.426424 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 152)
fe80::7eff:4dff:fe03:2c18 > ff02::1: [icmp6
sum ok] ICMP6, router advertisement, length 152
hop limit 255, Flags [other stateful], pref medium, router lifetime
1800s, reachable time 0s, retrans time 0s
prefix info option (3), length 32 (4): 2001:16b8:22a9:9400::/64,
Flags [onlink, auto], valid time 7200s, pref.
time 3600s
0x0000: 40c0 0000 1c20 0000 0e10 0000 0000 2001
0x0010: 16b8 22a9 9400 0000 0000 0000 0000
prefix info option (3), length 32 (4): 2001:16b8:22a8:ff00::/64,
Flags [onlink, auto], valid time 7198s, pref.
time 0s
0x0000: 40c0 0000 1c1e 0000 0000 0000 0000 2001
0x0010: 16b8 22a8 ff00 0000 0000 0000 0000
prefix info option (3), length 32 (4): fd00::/64, Flags [onlink,
auto], valid time 7200s, pref. time 0s
0x0000: 40c0 0000 1c20 0000 0000 0000 0000 fd00
0x0010: 0000 0000 0000 0000 0000 0000 0000
mtu option (5), length 8 (1): 1492
0x0000: 0000 0000 05d4
route info option (24), length 8 (1): ::/0, pref=medium,
lifetime=1800s
0x0000: 0000 0000 0708
route info option (24), length 16 (2): 2001:16b8:22a9:9400::/56,
pref=medium, lifetime=1800s
0x0000: 3800 0000 0708 2001 16b8 22a9 9400
source link-address option (1), length 8 (1): 7c:ff:4d:03:2c:18
0x0000: 7cff 4d03 2c18
22:07:48.742306 IP6 (hlim 64, next-header UDP (17) payload length: 65)
fe80::7eff:4dff:fe03:2c18.547 > fe80::c2b0:ab08:4
de0:dc18.546: [udp sum ok] dhcp6 reconfigure (xid=0 (client-ID hwaddr/time
type 1 time 576876694 74d435c3c5ec) (server-I
D hwaddr type 1 7cff4d032c18) (reconfigure-accept) (option-request IA_PD
opt_82 opt_83 opt_67) (reconfigure-message for
renew))
22:07:48.758907 IP6 (flowlabel 0xbc706, hlim 1, next-header UDP (17) payload
length: 188) fe80::c2b0:ab08:4de0:dc18.546
> ff02::1:2.547: [bad udp cksum 0x9606 -> 0x1ddc!] dhcp6 renew (xid=f49ac6
(client-ID hwaddr/time type 1 time 576876694
74d435c3c5ec) (server-ID hwaddr type 1 7cff4d032c18) (elapsed-time 0)
(vendor-class) (IA_PD IAID:0 T1:0 T2:0 (IA_PD-pref
ix 2001:16b8:22a8:fffc::/62 pltime:3600 vltime:7200)) (Client-FQDN)
(reconfigure-accept) (option-request DNS-server DNS-
search-list opt_82 opt_83))
22:07:48.760378 IP6 (hlim 64, next-header UDP (17) payload length: 82)
fe80::7eff:4dff:fe03:2c18.547 > fe80::c2b0:ab08:4
de0:dc18.546: [udp sum ok] dhcp6 reply (xid=f49ac6 (opt_82) (opt_83)
(client-ID hwaddr/time type 1 time 576876694 74d435
c3c5ec) (server-ID hwaddr type 1 7cff4d032c18) (status-code NoBinding))
22:07:49.015184 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32)
:: > ff02::1:ffe0:dc18: [icmp6 sum ok] ICMP6,
neighbor solicitation, length 32, who has
2001:16b8:22a9:9400:c2b0:ab08:4de0:dc18
unknown option (14), length 8 (1):
0x0000: 9b23 f59f 2c60
22:07:54.055139 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 32)
fe80::224:9bff:fe17:23a > fe80::7eff:4dff:fe0
3:2c18: [icmp6 sum ok] ICMP6, neighbor solicitation, length 32, who has
fe80::7eff:4dff:fe03:2c18
source link-address option (1), length 8 (1): 00:24:9b:17:02:3a
0x0000: 0024 9b17 023a
22:07:54.055663 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 24)
fe80::7eff:4dff:fe03:2c18 > fe80::224:9bff:fe
17:23a: [icmp6 sum ok] ICMP6, neighbor advertisement, length 24, tgt is
fe80::7eff:4dff:fe03:2c18, Flags [router, solici
ted]
22:07:58.570796 IP6 (flowlabel 0xbc706, hlim 1, next-header UDP (17) payload
length: 188) fe80::c2b0:ab08:4de0:dc18.546
> ff02::1:2.547: [bad udp cksum 0x9606 -> 0x1a07!] dhcp6 renew (xid=f49ac6
(client-ID hwaddr/time type 1 time 576876694
74d435c3c5ec) (server-ID hwaddr type 1 7cff4d032c18) (elapsed-time 981)
(vendor-class) (IA_PD IAID:0 T1:0 T2:0 (IA_PD-pr
efix 2001:16b8:22a8:fffc::/62 pltime:3600 vltime:7200)) (Client-FQDN)
(reconfigure-accept) (option-request DNS-server DN
S-search-list opt_82 opt_83))
22:07:58.571685 IP6 (hlim 64, next-header UDP (17) payload length: 81)
fe80::7eff:4dff:fe03:2c18.547 > fe80::c2b0:ab08:4
de0:dc18.546: [udp sum ok] dhcp6 reply (xid=f49ac6 (opt_82) (opt_83)
(client-ID hwaddr/time type 1 time 576876694 74d435
c3c5ec) (server-ID hwaddr type 1 7cff4d032c18) (status-code NoBinding))
---------------------------
--
Andrey Vakhitov
E-Mail: <mailto:andrei@xxxxxxxxxxxx> andrey@xxxxxxxxxxxx
Stuttgart, Germany
Archive administrator: postmaster@marples.name