16.3. Configuring a DHCPv4 Client
/etc/sysconfig/networkfile to enable networking and the configuration file for each network device in the
/etc/sysconfig/network-scriptsdirectory. In this directory, each device should have a configuration file named
eth0is the network device name.
/etc/sysconfig/network-scripts/ifcfg-eth0file contains the following lines:
DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes
DHCP_HOSTNAME— Only use this option if the DHCP server requires the client to specify a host name before receiving an IP address.
<answer>is one of the following:
/etc/resolv.confwith information from the server. This is the default.
no— Do not modify