I have a fresh install of RHEL6 and I am unable to find any config file to do advanced configuration for dhclient.
I am trying to find something like dhclient.conf on Ubuntu so I can modify options like supersede domains, fqdn,
Maybe they should be on "/etc/sysconfig/networking/devices/ifcfg-eth0" in that case what are the settings that matches those dhclient.conf configurations?
RHEL 6 DHCP – Configuring DHCP on RHEL 6
dhclientdhcp-serverredhatresolv.conf
Related Topic
- Linux – dhclient append settings from multiple DHCP servers
- How to configure radvd, dhcpd6, routing and /64 subnet based on delegated prefix by DHCPv6-PD server
- Redhat – RHEL6 “/etc/sysconfig/networking” is missing, can’t configure any devices through system-config-network
- CentOS 7 is not setting the gateway from DHCP
Best Answer
The configuration file is one of
/etc/dhcp/dhclient-${DEVICE}.conf
,/etc/dhclient-${DEVICE}.conf
, or/etc/dhcp/dhclient.conf
in that order. The first one that exists is used.From
/etc/sysconfig/network-scripts/ifup-eth
(Fedora 14; RHEL6 may be similar):From the dhclient man page: