Linux DHCP: Supersede/overload client config
Posted: Wed Feb 01, 2017 11:09 pm
It's actually possible to have a running DHCP serving the usual config to all clients - and supersede/overload certain settings per-client on GNU/Linux systems (Debian-based ones at least)
The config file for this is:
/etc/dhcp/dhclient.conf
For example, you can supersede the domain-name:
Or prepend a different domain name server (DNS):
And all kinds of other things, too!
More information in the man page of "dhclient.conf(5)"
Might come in handy.
The config file for this is:
/etc/dhcp/dhclient.conf
For example, you can supersede the domain-name:
Code: Select all
supersede domain-name "mysuperdomain.local";
Code: Select all
prepend domain-name-servers 192.168.1.208;
More information in the man page of "dhclient.conf(5)"
Might come in handy.