isc dhcpd 3.0 快速安装实例( 二 )


option broadcast-address 172.16.230.255;
default-lease-time 6000;
max-lease-time 72000;

allow booting;
allow bootp;

next-server 172.16.230.254;
filename "/pxelinux.0";
}

#subnet 192.168.0.0 netmask 255.255.255.0 {
# server-identifier 192.168.0.254;
# range dynamic-bootp 192.168.0.139 192.168.0.187;
# option domain-name-servers 192.168.0.254;
# option domain-name "websofts.com";
# option routers 192.168.0.254;
# option broadcast-address 192.168.0.255;
# default-lease-time 6000;
# max-lease-time 72000;

# #allow booting;
# #allow bootp;

# #next-server 192.168.0.254;
# #filename "/pxelinux.0";
#}

#end of dhcpd.conf

cp -p /usr/local/etc/rc.d/isc-dhcpd.sh.sample /usr/local/etc/rc.d/isc-dhcpd.sh
###end

推荐阅读