Linux How to..

Linux How to ,Share Knowledge

Install DHCP Server(Simple)

Nov-13-2012 By admin



TAG : install DHCP Server (Simple)
first step check package dhcp on your server with command line below :
rpm -qa | grep dhcp
out put :
dhcp-3.0.5-7.el5
install dhcp via ?yum
#yum install dhcp -y
Main Configuration file :
#vi /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers ? ? ? ? ? ? ? ? ?192.168.1.1;
option subnet-mask ? ? ? ? ? ? ?255.255.255.0;
option domain-name-servers ? ? ?192.168.1.1;
range dynamic-bootp 192.168.1.10 192.168.1.30;
default-lease-time 21600;
max-lease-time 43200;
}

:wq! –> save file config

start service dhcp
# /etc/init.d/dhcpd start
start dhcpd service when reboot server :
# chkconfig dhcpd on
log dhcpd deploy ?ip default on /var/log/messages
*******************************
Success installed


  1. Linux How to.. » Blog Archive » Articles Said,

    […] Install DHCP Server(Simple) […]