Domain hosting, cheap domain name & website promotion services
  

 Home

Red Hat Linux 7.3: The Official Red Hat Linux Customization Guide
PrevChapter 12. Dynamic Host Configuration Protocol (DHCP)Next

Configuring a DHCP Client

The first step for configuring a DHCP client is to make sure the kernel recognizes the network interface card. Most cards are recognized during the installation process, and the system is configured to use the correct kernel module for the card. If you install a card after installation, Kudzu [1] should recognize it and prompt you to configure the corresponding kernel module for it. Be sure to check the Red Hat Linux Hardware Compatibility List available at http://hardware.redhat.com/hcl/. If the network card is not configured by the installation program or Kudzu and you know which kernel module to load for it, refer to Chapter 24 for details on loading kernel modules.

To configure a DHCP client manually, you need to modify the /etc/sysconfig/network file to enable networking and the configuration file for each network device in the /etc/sysconfig/network-scripts directory. In this directory, each device should have a configuration file named ifcfg-eth0 where eth0 is the network device name.

The /etc/sysconfig/network file should contain the following line:

NETWORKING=yes

You might have more information in this file, but the NETWORKING variable must be set to yes if you want networking to start at boot time.

The /etc/sysconfig/network-scripts/ifcfg-eth0 file should contain the following lines:

DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes

You need a configuration file for each device that you want to configure to use DHCP.

If you prefer a graphical interface for configuring a DHCP client, refer to Chapter 6 for details on using Network Configurator to configure a network interface to use DHCP.

Notes

[1]

Kudzu is a hardware probing tool run at system boot time to determine what hardware has been added or removed from the system.


PrevHomeNext
Configuring a DHCP ServerUpAdditional Resources
 

 

 

 

Cheap domains by 895cheap-domain.com | Register cheap domain names 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: You are . . . the lens in the beam. You can only receive, give, and possess the light as the lens does.The more faithfully you listen to the voices within you, the better you will hear what is sounding outside.Never measure the height of a mountain until you reach the top. Then you will see how low it was.Never look down to test the ground before taking your next step; only he who keeps his eye fixed on the far horizon will find the right road.Life only demands from you the strength you possess. Only one feat is possible--not to have run away.It is more noble to give yourself completely to one individual than to labor diligently for the salvation of the masses.