You are on page 1of 1

DHCP Configuration

OS – RedHat Linux 8.0


Tested H/W – Intel processor
DHCP Version – V 3.0.1

1. We need to install the required DHCP rpm. If already present then check with
following commands
# rpm –qa dhcp
If dhcp rpm is present, then check the package in
# /usr/share/doc/dhcp-3.0.1
2. Then go to dhcp dir.
# cd /usr/share/doc/dhcp-3.0.1
# ls –l
#cp dhcpd.conf.sample /etc/dhcpd.conf
3. # cd /etc
# vi dhcpd.conf

line 4 – check for network


line21 – range of IP address
…….then save…
4. # service dhcpd restart
5. If we have Linux client then to check there IP address follow the procedure.
# cd /etc/sysconfig/network-script
# ls
# cat ifcfg-eth0
# netconfig
# service network restart
6. To check client ip addresses view this file
# cd /var/lib/dhcp/dhcpd.leases

Document No. : CMSHYD/TSG/0006 CONFIDENTIAL


Prepared by : Mukund T
Date : 2nd Nov 2006

You might also like