I configured a DHCP server that runs on a Linux machine using the 'isc-dhcp-server' package.
I would like to add some kind of authentication step. Both the clients and the server will keep some kind of token and when the client will ask for a new IP, the DHCP server will check if both sides have the same token. If so, the client will receive the new IP from the DHCP server.
Is something like that even possible? (With isc-dhcp-server or with other tool)?
If not, Is there other way to check which dhcp server I'm connecting before receiving a new IP after using the dhclient request?
Thanks.