[CentOS] dhclient.conf

Pol Hallen

centosml at fuckaround.org
Tue Mar 3 22:32:56 UTC 2015


Hi all :-)

on centos 6 I need keep the hostname from a dhcp server:

cat /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
HWADDR=00:50:56:27:0E:C8
TYPE=Ethernet
UUID=20924b21-e92a-4944-a054-06d1967155c1
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
PEERDNS=yes

with this config, 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?

thanks for help!

Pol



More information about the CentOS mailing list