Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2021 12:00:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253166] net/dhcpcd: no interfaces have a carrier (during boot)
Message-ID:  <bug-253166-7788-oh1kyiKOQs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253166-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253166-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253166

--- Comment #18 from roy@marples.name ---
So just as long as *any* address of each family exists on the loopback
interface, dhcpcd works.
I can replace 127.0.0.1/8 with 1.2.3.4/32 in the above hack and it works.

The addition of any IPv4 address also has the side effect of bringing the
interface up and adding IPv6 addresses.

What gets more interesting is I can remove the address I just added and it
fails again, but only for that address family.
Even more down the rabbit hole, I can add the address to em0 (not lo0) and =
it
works!

This smells of a kernel bug in FreeBSD somewhere which is checking to see if
the host has an address assigned of the family before allowing the opening =
of
the any address socket.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253166-7788-oh1kyiKOQs>