On Sat, Mar 06, 2021 at 06:41:44AM +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
your interface is not "UP"
> lladdr f0:de:f1:77:c2:c8
> index 6 priority 0 llprio 3
> trunk: trunkproto failover
> iwn0 port active
> em0 port master
> groups: trunk egress
> media: Ethernet autoselect
> status: active
>
> ifconfig trunk0 inet autoconf
ifconfig trunk0 up
should make it go. There is currently a discussion going on if
ifconfig(8) should implicitly bring interfaces up, until that is
settled you either need ifconfig $IF up or add "up" to your
hostname.if(5) file.
--
I'm not entirely sure you are real.