dhcpcd-discuss

Re: Timeouts & IPv6 prefix delegation problems

Roy Marples

Tue Sep 29 09:49:48 2015

Hi Nickolai

Appologies for the late reply!

On 23/09/2015 02:02, Nickolai Dobrynin wrote:
> Thanks much for the reply - I think I *am*, in fact, getting
> DHCPv6 replies.  Apparently, my ip6tables were messed
> up. They made it look like there were no replies. Please
> pardon the confusion. With this said, the new outcome
> (i.e. with ip6tables switched off) is all but identical. The
> new dhcpcd.log looks unchanged in the beginning and
> then:
> 
> wlp2s0: soliciting a DHCP lease
> # Shouldn't wlp2s0 (LAN) be soliciting a DHCPv6 lease instead?

You haven't disabled IPv4 for anyy interfaces, so I would expect this.

> enp1s10: soliciting a DHCPv6 lease
> enp1s10: DHCPv6 REPLY:
> # The last 2 lines go on endlessly.
> 
> 'tcpdump -i enp1s10 ip6' prints ('enp1s10' is my WAN interface):
> 
> 02:19:56.830282 IP6 Speedport.ip > ff02::1: ICMP6, neighbor
> advertisement, tgt is Speedport.ip, length 32
> 02:19:58.542047 IP6 router > ff02::2: ICMP6, router solicitation, length 16
> 02:19:58.543047 IP6 Speedport.ip > router: ICMP6, neighbor
> solicitation, who has router, length 32
> 02:19:58.543080 IP6 router > Speedport.ip: ICMP6, neighbor
> advertisement, tgt is router, length 24
> 02:19:58.547533 IP6 Speedport.ip > ff02::1: ICMP6, router
> advertisement, length 64
> 02:19:58.833650 IP6 router.dhcpv6-client > ff02::1:2.dhcpv6-server:
> dhcp6 solicit
> 02:19:58.839224 IP6 Speedport.ip.49520 > router.dhcpv6-client: dhcp6 reply
> # The last 2 lines appear many many times.
> 
> (Speedport.ip is the modem I got from the ISP).
> 
> For the last two lines of the config, i.e.
> 
> #ia_pd 1 wlp2s0
> ia_pd 1/::/64 wlp2s0/0/64
> 
> I tried using the first line only, then the second one only - NO DIFFERENCE.
> My routing prefixes are always 64 bits long, so perhaps the second line makes
> more sense?

Well, your config is good and it works fine for me, so we need to go a
little deeper. Maybe there is an issue with dhcpcd parsing the packet
somehow.

Can you capture a full tcpdump please?
tcpdump -w /tmp/dhcpcd.cap -s 0 -i enp1s10 "ip6 && port 546"
Email me the file created off list.

Thanks

Roy

References:
Timeouts & IPv6 prefix delegation problemsNickolai Dobrynin
Re: Timeouts & IPv6 prefix delegation problemsRoy Marples
Re: Timeouts & IPv6 prefix delegation problemsNickolai Dobrynin
Archive administrator: postmaster@marples.name