1

How to know all DHCP options and values (on the client side, Linux Ubuntu / Debian / ArchLinux ) provided by the server. I need to pass non-standard option to the client by the DHCP option code example:

222-223 Unassigned 
224-254 Reserved (Private Use)

All DHCP Options here

The file /var/lib/dhcp.lease does not contiend my options

1

just edit the config file /etc/dhcp/dhclient.conf and add also request

# custom dhcp option (72 = www-server)
also request www-server;

the value is avaible in /var/lib/dhcp/dhclient.lease

0

On my Debian based system with NetworkManager, the lease information is available in files like /var/lib/NetworkManager/internal-$UUID-$IFACE.lease.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.