------- Original Message ------- On Wednesday, September 27th, 2023 at 8:42 AM, Florian Obser <flor...@openbsd.org> wrote:
> On 2023-09-27 01:01 +02, Joel Carnat j...@carnat.net wrote: > > > Hi, > > > > Because of Apple Private Address feature, my static IP allocations based > > on MAC address (hardware ethernet) doesn't work anymore. Looking at > > dhcpd.leases, some devices provide a client-hostname value ; but not > > every one. > > > > Is there a dhcpd.conf configuration parameter that forces DHCP clients > > to send a client-hostname information in their DHCP request? > > > My understanding of the dhcp protocol is that this can't work. The > client sends a bunch of things and requests a bunch of stuff. The server > can honour that request or decline it. But it can't say: I'd give you a > lease if you'd give me a hostname. > > The server can decline to give a lease without a hostname in the > request, but then the client would be left guessing why it didn't get a > lease. > > > And if so, can this information be used by dhcpd(8) to apply a > > fixed-address to those device? > > > > Thank you, > > Joel C. > > > -- > In my defence, I have been left unsupervised. >From what I see on my network with the private address feature, is that it >uses the same MAC address on the same WiFi network. It only uses a different >one per network. My Apple devices "seem" to get the same IP address on the home network.