Start Daemon

  DHCP daemon is started by the /etc/init.d/dhcpd script.   Please make sure that run level 3 and 5 are ON.


  Red Hat stores the arguments in the file /etc/sysconfig/dhcpd, and can be viewed via the following statements:


  ex.: 


   cat /etc/sysconfig/dhcpd

   DHCPDARGS = -cf /var/dhcp/test.conf


 

Sample Configuration for DHCP Server

 

A Host Statement 

   host osprey {

      hardware ethernet 00:00:0C:43:8D:FB;

      Fixed-address 172.16.70.8;

   }


  • dhcpd, provides a static address assignment to a particular client (good for named servers)

Subnet Statement 

    subnet 172.16.70.0 netmask 255.255.255.0 {

         range 172.16.70.100 172.16.70.250;

    }


  • The system is providing DHCP services to the network 172.16.70.0.   
  • Range clause say's that the server is providing dynamic addressing from 172.16.70.100 to 172.16.70.250