0% found this document useful (0 votes)
13 views1 page

DHCP Server

dhcp_server-Handson

Uploaded by

sourabh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

DHCP Server

dhcp_server-Handson

Uploaded by

sourabh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

DHCP (Dynamic Host Configuration Protocol)

DHCP provides configuration information to systems connected to the network.


whether the internet or intranet. the machines on the network operates as DHCP
clientss, obtaining their network configuration information from a DHCP server on
their network. a machine on the network runs a DHCP client daemon that
automatically receives its network configuration information from its network's
DHCP server. the information includes its IP address, netmask, along with the
network name server, gateway, and proxy address.

a DHCP server also supports several methods for IP address allocation: automatic,
dynamic, and manual.
automatic allocation assigns a permanent IP address for a host.
manual allocation assigns an IP address designated by a network administrator.
dynamic allocation, a DHCP server can allocate an IP address to a host on the
network only when the host actually needs to use it. dynamic allocation takes
address from a pool of IP addresses that host can use when needed and release when
they are finished.

the current version of DHCP now supports the DHCP failover protocol, in which two
DHCP server supports the same address pool. should one fail, the other can continue
to provide DHCP service for a network.

configuring the DHCP server


first check the RPM
#rpm -q dhcpd

search rpm in yum server


#yum list | grep dhcpd

install the rpm using yum server


#yum install dhcpd

now copy and rename dhcpd.conf.sample to dhcpd.conf in /etc directory.


#cp /usr/share/doc/dhcp-3<tab>/dhcpd.conf.sample /etc/dhcpd.conf

now open this file


#vi /etc/dhcpd.conf
set the configuration
save and exit

start the service


#service dhcpd restart
#service dhcdbd restart
#chkconfig dhcpd on

client side
open console
#setup
select the ethernet card and select the dhcp option.

You might also like