Linux DHCP: Supersede/overload client config

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....

Linux DHCP: Supersede/overload client config

Postby ^rooker » 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:

For example, you can supersede the domain-name:
Code: Select all
supersede domain-name "mysuperdomain.local";

Or prepend a different domain name server (DNS):
Code: Select all
prepend domain-name-servers;

And all kinds of other things, too! :)
More information in the man page of "dhclient.conf(5)"

Might come in handy.
  • 0

Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
User avatar
Site Admin
Posts: 1446
Joined: Fri Aug 29, 2003 8:39 pm
Reputation: 0

Return to Knowledge Base

Who is online

Users browsing this forum: No registered users and 6 guests

Who is online over last 24 hours

Users browsed this forum in the last 24 hours: Bing [Bot] and 37 guests

Reputation System ©'