On Sat, Mar 06 2021 06:41:44 +0000, Adam Steen wrote:
> >Synopsis: dhcpleased does not acquire a lease
> >Category: networking
> >Environment:
> System : OpenBSD 6.9
> Details : OpenBSD 6.9-beta (GENERIC.MP) #376: Thu Mar 4 21:04:56
> MST 2021
>
> [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>
> Architecture: OpenBSD.amd64
> Machine : amd64
> >Description:
> Testing dhcpleased with a trunk interface and it doesn't acquire a
> lease.
> >How-To-Repeat:
> command before new line completed first, then ones after
> terminal 1
> pkill dhcpleased
>
> dhcpleased -dv
> IMSG_OPEN_BPFSOCK
> open_bpfsock: 6
> state_transition Down -> Down, timo: -1
> set_bpfsock: 6 fd: 9
> terminal 2
> ifconfig trunk0 -inet
> ifconfig trunk0
> trunk0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
from dhcpleased(8):
It requests IP configuration information from for example those offered
by
dhcpd(8), on interfaces with the AUTOCONF4 flag set.
you don't have that flag set on your interface.
--
Lauri Tirkkonen | lotheac @ IRCnet