DHCPv4 Client Identifier ignored

Started by zone42, August 26, 2021, 08:59:18 PM

Previous topic - Next topic
I've tried the following setup.

A Linux client using NetworkManager is configured to send a DHCP Client ID named foo. Sniffing the network confirms that an Option 61 is send in the DHCP Request.

OpnSense DHCPv4 service has configured a Static DHCP Mapping for Client identifier foo (with a empty MAC address).

But the client did not get assigned the IP from the mentioned static mapping entry but from the generic pool.  :(

What's wrong here?

Does no one have any ideas?

Is my interpretation of the expected behavior perhaps wrong?

Were you ever able to figure it out?

I'm planning on making heavy use of the client identifier in OPNsense, so I'd be happy to see someone report this as working. I just also found this on Google: https://redmine.pfsense.org/issues/6362

Maybe prepending `\000` will make it work in OPNsense as well?