O arquivo de configuração é um dos /etc/dhcp/dhclient-${DEVICE}.conf
, /etc/dhclient-${DEVICE}.conf
ou /etc/dhcp/dhclient.conf
nessa ordem. O primeiro que existe é usado.
De /etc/sysconfig/network-scripts/ifup-eth
(Fedora 14; RHEL6 pode ser similar):
# allow users to use generic '/etc/dhcp/dhclient.conf' (as documented in manpage!)
# if per-device file doesn't exist or is empty
if [ -s /etc/dhcp/dhclient-${DEVICE}.conf ]; then
DHCLIENTCONF="-cf /etc/dhcp/dhclient-${DEVICE}.conf";
elif [ -s /etc/dhclient-${DEVICE}.conf ]; then
DHCLIENTCONF="-cf /etc/dhclient-${DEVICE}.conf";
else
DHCLIENTCONF='';
fi;
Na página do manual do dhclient:
-cf <config-file>
Path to the client configuration file. If unspecified, the default /etc/dhcp/dhclient.conf is used.