默认的/etc/dhcpd.conf含义如下:
ddns-update-style interim; //设置dhcp互动更新模式
ignore client-updates; //忽略客户端更新
subnet 192.168.12.0 netmask 255.255.255.0 {
//设置子网申明
# --- default gateway
option routers 192.168.12.1; //设置客户端默认网关
option subnet-mask 255.255.255.0; //设置客户端子网掩码
option nis-domain "ixdba.net "; //设置NIS域
option domain-name " ixdba.net "; //设置DNS域
option domain-name-servers 192.168.12.1; //设置DNS服务器地址
option time-offset -18000; # Eastern Standard Time //设置时间偏差
# option ntp-servers 192.168.12.1;
# option netbios-name-servers 192.168.12.1;
# --- Selects point-to-point node (default is hybrid). Don't change this unless
# -- you understand Netbios very well
# option netbios-node-type 2;
range dynamic-b