##### TO CONFIGURE THE DHCP SERVER ######
Step 1
##### TO ASSIGN THE HOSTNAME #####
hostname dhcp.zoom.com
hostname ( to check )
ifconfig ( to check the ip )
vi /etc/hosts ( to provide the ip & hostname )
192.168.0.110 dhcp.zoom.com dhcp
:wq ( save & quit )
vi /etc/hostname ( to make permanent )
dhcp.zoom.com
:wq ( save & quit )
#### Step 2 #### TO INSTALL THE PACKAGE ######
rpm -q dhcp ( to query the pkg )
yum install dhcp ( to install the pkg )
rpm -q dhcp ( to query the pkg )
#### Step 3 #### TO CONFIGURE THE M.C.F ######
cd /usr/share/doc/dhcp-4.2.5 ( to enter the dir )
ls ( to check )
cp dhcp.conf.example /etc/dhcp/dhcpd.conf ( to copy
vi /etc/dhcp/dhcpd.conf ( to open the m.c.f )
47 subnet 192.168.0.0 netmask 255.255.255.0 {
48 range 192.168.0.30 192.168.0.50;
49 option domain-name-servers 192.168.0.100;
50 option domain-name “zoom.com”;
51 option routers 192.168.0.200;
52 option broadcast-address 192.168.0.255;
:wq ( save & quit )
#### Step 4 #### TO START THE SERVICE ####
service dhcpd restart
### Step 5 #### THEN CHECK FROM CLIENT SIDE ###
ifconfig ( to check the ip )
dhclient -v ( To assign the dhcp ip )
ifconfig ( to check the ip )