[CentOS] dhclient.conf

Wed Mar 4 12:17:36 UTC 2015
Jim Perrin <jperrin at centos.org>


On 03/03/2015 04:32 PM, Pol Hallen wrote:
fig, centos keep only ip from dhcp server (not gw, not dns)
> 
> where is dhclient.conf? I need to create it? If yes, where're the
> default options?

The dhclient.conf file doesn't exist by default in more modern versions
of CentOS. You'll need to create it in /etc/dhcp, or by putting the
requested options in /etc/dhcp/dhclient.d

For CentOS 7, it should be safe to use
http://pkgs.fedoraproject.org/cgit/dhcp.git/plain/README.dhclient.d as
guidelines should you choose the latter route.


-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77