Linux How to..

Linux How to ,Share Knowledge

install DHCP Server (Simple)

May-22-2015 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 :

install dhcp via  yum
#yum install dhcp -y

Main Configuration file :
#vi /etc/dhcpd.conf

โค๊ด: [Select]

ddns-update-style interim;
ignore client-updates;
subnet netmask {
option routers        ;
option subnet-mask    ;
option domain-name-servers;
range dynamic-bootp;
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

Comments are closed.