Instal your DHCP server using
#yum -y install dhcp
Configure the dhcp.conf
#vi /etc/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
#Network For DHCP
subnet 192.168.0.0 netmask 255.255.255.0 {
# — Router IP
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
#Option For Domain
option nis-domain “domain.org”;
option domain-name “domain.org”;
#Option for DNS Server
option domain-name-servers 192.168.1.1;
option time-offset -18000; # Eastern Standard Time
# Range Ip For DHCP
range dynamic-bootp 192.168.0.128 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
No comments:
Post a Comment