DHCP server under Linux
DHCP server under Linux

CALL NOW FOR FREE CONSULTATION

+91 9983340133, +91 9001997175

grras

DHCP server under Linux

DHCP stand for Dynamic Host Configuration Protocol .It enables client system to retrieve network configuration information .Each time they connect to the network. A DHCP server assign IP addresses from a pool of addresses to clients as needed. Assigned addresses are typically temporary, but need not be.

The only requirement is that the DHCP server must use a static IP address. This is because clients need to know which system to connect to, and if the server is also using a dynamic IP address, it won’t know where to connect to get the information it needs to configure TCP/IP on the client system. Also, DNS knows nothing about addresses that are assigned through DHCP, which means that remote computers cannot look up the address of a system that received its IP address via DHCP. There is an ongoing project, however, to implement a dynamic DNS that will allow DHCP servers to update the DNS database information to reflect dynamic IP address assignments and changes. Since this poses a slight security risk, the work on dynamic DNS is slow and careful. But, in the meantime, DHCP works well enough for most network configurations and will help minimize the amount of time any system administrator spends working on individual client computers.

Configuring DHCP:-

  • To install the DHCP server, you need DHCPD. For Red Hat 7 users, this is dhcp_2.0_5.i386.rpm, which you can find on your installation CD. The latest stable version of DHCPD is 2.0.
  • The configuration file for your DHCP server is the /etc/dhcpd.conf file. This file contains numerous configuration commands that operate the server and provide configuration information to the clients.

The following is an example of a subnet statement:

Subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.200;
}

  • Service dhcpd start
  • Chkconfig dhcpd on

Leave a Reply

Your email address will not be published. Required fields are marked *