Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Adam Steen
‐‐‐ Original Message ‐‐‐ On Saturday, 6 March 2021 16:59, Florian Obser wrote: > On Sat, Mar 06, 2021 at 06:41:44AM +, Adam Steen wrote: > > > > Synopsis: dhcpleased does not acquire a lease > > > Category: networking > > > Environment: > > > System : OpenBSD 6.9 > > > Details : OpenB

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Stuart Henderson
On 2021/03/06 10:46, Theo de Raadt wrote: > Mark Kettenis wrote: > > > > Date: Sat, 6 Mar 2021 16:47:26 + > > > From: Stuart Henderson > > > > > > there's the case of "don't want to use it _yet_", for example you might > > > want to setup umb ready for use but only bring it up manually when

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Theo de Raadt
Florian Obser wrote: > On Sat, Mar 06, 2021 at 05:14:37PM +, Mikolaj Kucharski wrote: > > On Sat, Mar 06, 2021 at 09:39:08AM -0700, Theo de Raadt wrote: > > > > > > The ifconfig man page says "inet autoconf" sets a flag. It does not say > > > "sets the flag and brings the interface up". Y

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Theo de Raadt
Mark Kettenis wrote: > > Date: Sat, 6 Mar 2021 16:47:26 + > > From: Stuart Henderson > > > > there's the case of "don't want to use it _yet_", for example you might > > want to setup umb ready for use but only bring it up manually when > > needed, or you might want to setup pppoe and don't

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Mark Kettenis
> Date: Sat, 6 Mar 2021 16:47:26 + > From: Stuart Henderson > > there's the case of "don't want to use it _yet_", for example you might > want to setup umb ready for use but only bring it up manually when > needed, or you might want to setup pppoe and don't want it to start > trying to connec

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Florian Obser
On Sat, Mar 06, 2021 at 05:14:37PM +, Mikolaj Kucharski wrote: > On Sat, Mar 06, 2021 at 09:39:08AM -0700, Theo de Raadt wrote: > > > > The ifconfig man page says "inet autoconf" sets a flag. It does not say > > "sets the flag and brings the interface up". You want to argue against > > the

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Florian Obser
On Sat, Mar 06, 2021 at 04:09:50PM +, Raf Czlonka wrote: > On Sat, Mar 06, 2021 at 08:59:16AM GMT, Florian Obser wrote: > > your interface is not "UP" > > > > > lladdr f0:de:f1:77:c2:c8 > > > index 6 priority 0 llprio 3 > > > trunk: trunkpr

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Mikolaj Kucharski
On Sat, Mar 06, 2021 at 09:39:08AM -0700, Theo de Raadt wrote: > > The ifconfig man page says "inet autoconf" sets a flag. It does not say > "sets the flag and brings the interface up". You want to argue against > the documented behaviour? > I think there is some inconsistency in the behaviou

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Theo de Raadt
Stuart Henderson wrote: > For the hostname.if case, it's easy enough, netstart could do "up" > automatically after configuring if there is no "down" in the file. I am not sure that is trivial, because hostname.if files can contain multiple tokens on a line.

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Stuart Henderson
On 2021/03/06 16:09, Raf Czlonka wrote: > On Sat, Mar 06, 2021 at 08:59:16AM GMT, Florian Obser wrote: > > On Sat, Mar 06, 2021 at 06:41:44AM +, Adam Steen wrote: > > > >Synopsis:dhcpleased does not acquire a lease > > > >Category:networking > > > >Environment: > > > System

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Theo de Raadt
Raf Czlonka wrote: > > 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. > > FWIW, I've made

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Raf Czlonka
On Sat, Mar 06, 2021 at 08:59:16AM GMT, Florian Obser wrote: > On Sat, Mar 06, 2021 at 06:41:44AM +, Adam Steen wrote: > > >Synopsis: dhcpleased does not acquire a lease > > >Category: networking > > >Environment: > > System : OpenBSD 6.9 > > Details : OpenBSD 6.9-beta (GENER

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Lauri Tirkkonen
On Sat, Mar 06 2021 06:41:44 +, 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 >

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Lauri Tirkkonen
On Sat, Mar 06 2021 09:25:42 +0200, Lauri Tirkkonen wrote: > > trunk0: flags=8802 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 t

Re: dhcplease fails to acquire a lease with a trunk interface

2021-03-06 Thread Florian Obser
On Sat, Mar 06, 2021 at 06:41:44AM +, 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 >

dhcplease fails to acquire a lease with a trunk interface

2021-03-05 Thread Adam Steen
>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 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/