dhcpcd-discuss

Re: Trouble DHCP-PD after >= dhcpcd-6.11.4

Roy Marples

Tue Apr 25 08:56:46 2017

Hi Ivan

On 25/04/2017 09:17, Ivan Budiakov wrote:
> Hello!
> I have problems with getting dhcp-pd with all versions after 6.11.4. 
> Interface wan0 have ipv6.
> Interface wan1 another provider no ipv6.
> Interface br0 bridge from 2 interfeces (lan0 wlan0).
> System Gentoo linux.
> 
> Dhcpcd config 
> cat /etc/dhcpcd.conf |grep -v '^#'|grep -v '^$' 
> hostname 
> duid 
> persistent 
> option rapid_commit 
> option domain_name_servers, domain_name, domain_search, host_name 
> option classless_static_routes 
> option ntp_servers 
> option interface_mtu 
> require dhcp_server_identifier 
> slaac private 
> noipv6rs 
> interface wan0 
> ipv6rs 
> iaid 1 
> ia_pd 1 br0


Config looks fine.

> log dhcpcd-6.11.3 work fine.
> 
> Apr 25 10:27:14 ns dhcpcd[5382]: wan0: soliciting an IPv6 router 
> Apr 25 10:27:15 ns dhcpcd[5382]: wan0: soliciting a DHCPv6 lease 
> Apr 25 10:27:15 ns dhcpcd[5382]: wan0: Router Advertisement from
> fe80::216:4dff:fe61:2a8c 
> Apr 25 10:27:15 ns dhcpcd[5382]: wan0: adding default route via
> fe80::216:4dff:fe61:2a8c 
> Apr 25 10:27:16 ns dhcpcd[5382]: wan0: REPLY6 received from
> fe80::216:4dff:fe61:2a8c 
> Apr 25 10:27:16 ns dhcpcd[5382]: wan0: renew in 900, rebind in 1500,
> expire in 1800 seconds 
> Apr 25 10:27:16 ns dhcpcd[5382]: lo: adding reject route to
> 2a02:2168:1142:8f00::/56 via ::1 
> Apr 25 10:27:16 ns dhcpcd[5382]: wan0: delegated prefix
> 2a02:2168:1142:8f00::/56 
> Apr 25 10:27:16 ns dhcpcd[5382]: br0: adding address
> 2a02:2168:1142:8f10::1/64 
> Apr 25 10:27:16 ns dhcpcd[5382]: br0: adding route to
> 2a02:2168:1142:8f10::/64

Yup, looks good.

> log dhcpcd-7.0.0_beta3
> 
> Apr 25 10:44:45 ns dhcpcd[5383]: wan0: waiting for carrier 
> Apr 25 10:44:47 ns dhcpcd[5383]: wan0: carrier acquired 
> Apr 25 10:44:47 ns dhcpcd[5383]: wan0: soliciting an IPv6 router 
> Apr 25 10:44:48 ns dhcpcd[5383]: wan0: rebinding prior DHCPv6 lease 
> Apr 25 10:44:58 ns dhcpcd[5436]: wan0: failed to rebind prior delegation 
> Apr 25 10:44:58 ns dhcpcd[5436]: wan0: soliciting a DHCPv6 lease 
> Apr 25 10:45:00 ns dhcpcd[5436]: wan0: no IPv6 Routers available 

And this looks bad.

It's not just DHCPv6 PD that's failing, it's IPv6 as a whole - there is
no Router Advertisement either.
Is this easily repeatable?
Can you collect tcpdumps of both dhcpcd-6 and dhcpcd-7 please?
email them to me privately if you feel they contain sensitive information.

Roy

Follow-Ups:
Re: Trouble DHCP-PD after >= dhcpcd-6.11.4Roy Marples
References:
Trouble DHCP-PD after >= dhcpcd-6.11.4Ivan Budiakov
Archive administrator: postmaster@marples.name