How To Configure Linux DHCP Server
How To Configure Linux DHCP Server
How To Configure Linux DHCP Server
rpm
is
required
to
configure
dhcp
server.
check
it
if
not
found
then
install
DHCP server have a static a ip address. First configure the ip address 192.168.0.254 with netmask of
255.255.255.0 on server.
Run setup command form root user
#setup
Your Ad Here
now a new window will show you all available LAN card select your LAN card ( if you dont see any LAN card
here mean you dont have install driver)
click on ok, quit and again quit to come back on root prompt.
restart the network service so new ip address can take place on LAN card
#service network restart
main configuration file of dhcp server is dhcpd.conf. This file located on /etc directory. If this file is
not present there or you have corrupted this file, then copy new file first, if ask for overwrite press y
now
default
open
entry
in
this
/etc/dhcpd.conf
file
look
like
this
After
change
this
file
should
look
like
this
locate this paragraph and change hardware Ethernet to client's mac address and fixed -address to ip
address
which
you
want
to
provide
that
host
the
allocated
ip
address
information
To configure windows system as dhcp clients open lan card properties and select tcp/ip and click on
properties
and
set
obtain
ip
address
automatically
Go
on
command
prompt
and
check
new
ip
address
can
check
allocated
address
on
server.