dhcpcd-discuss

Re: dhcpcd 7.1.1 (and 7.2.0) time out on boot

Matt Horan

Thu Apr 25 03:09:09 2019

On Wed, Apr 24, 2019 at 10:03:05PM -0400, Matt Horan wrote:
> I just upgraded from OpenBSD 6.4 to 6.5 and subsequently upgraded dhcpcd
> from 7.0.8 to 7.1.1. After the upgrade, and before upgrading dhcpcd,
> dhcpcd successfully obtained an IPv6 lease (via DHCPv6-PD). However,
> after upgrading dhcpcd and rebooting, the first attempt of dhcpcd to
> obtain a lease fails with dhcpcd[11920]: timed out.

This looks to be entirely my fault. I had set up my /etc/dhcpcd.conf
with the following:

noipv6rs
interface em0
    ipv6rs
    ia_pd 0 em1/0

and had inet6 autoconf in /etc/hostname.em0.

This had worked fine for me for some time, but it seems that this
configuration causes "carrier lost" and the subsequent behavior above.

It seems that this is not a recommended configuration anyway, so I've
changed my configuration to let dhcpcd handle everything.

Replacing /etc/dhcpcd.conf with the following resolves this issue:

noipv6rs
interface em0
    ipv6rs
    ia_na 1
    ia_pd 0 em1/0

Best,

-- 
Matt Horan matt@xxxxxxxxxxxxx https://matthoran.com/

Follow-Ups:
Re: dhcpcd 7.1.1 (and 7.2.0) time out on bootRoy Marples
References:
dhcpcd 7.1.1 (and 7.2.0) time out on bootMatt Horan
Archive administrator: postmaster@marples.name