星期六, 4月 23, 2005

dhcpd

sjon:/etc #root# cat dhcpd.conf
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#
# option definitions common to all supported networks...
option domain-name "stanserv.com";
option domain-name-servers 168.95.1.1;
option subnet-mask 255.255.255.0;
ddns-update-style ad-hoc;
default-lease-time 600;
max-lease-time 72000;
subnet 192.168.1.0 netmask 255.255.255.0
{
range 192.168.1.100 192.168.1.200;
option broadcast-address 192.168.1.255;
option routers 192.168.1.253;
}

touch /var/db/dhcpd.leases

沒有留言: