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?
|
The configuration file is one of From
From the dhclient man page:
|
|||||
|
|
Actually you can do a bunch of those things in I would presume that much, if not all, of that functionality would still work in RH 6. |
|||
|
|
|
A few things... 1) NetworkManager dynamically creates the dhclient.conf file for IPv4. It runs dhclient for IPv6 using the dhclient defaults since no configuration file is specified and just specifies the interface device (e.g., eth0). You can check this by doing a "ps aux | grep dhclient". I tried providing the options I wanted in the "correct location" only to find that NetworkManager overwrites the file each time it runs. 2) You can use one of the default locations for the config file to provide whatever options you want to dhclient for IPv6. At least it seems to be working for me. 3) Don't be afraid to edit ifcfg-ethX instead of relying on the GUI network configurator. There are some combinations of options that the configurator doesn't allow that should be legal and may be useful. Cheers, Dave |
|||
|
|
|
/etc/sysconfig/networking/devices/ifcfg-eth0 is just for basic setup, for the options you want go ahead and install the dhclient with running |
|||