dhcp配置文件
[root@mdj-stb html]# vim /etc/dhcp/dhcpd.conf
ddns-update-style interim; #dhcp服务器和dns服务器内部更新自动协商ignore client-updates;
subnet 192.168.8.0 netmask 255.255.255.0 {
option routers 192.168.8.1; #网关
option subnet-mask 255.255.255.0; #子网掩码
option domain-name-servers 192.168.8.1; #DNS服务器地址
option time-offset -18000; # Eastern Standard Time
# --- 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-bootp 192.168.8.101 192.168.8.200; #地址池
#default-lease-time 21600; #默认租约时间(秒)
# max-lease-time 43200; #最大租约时间(秒)
# we want the nameserver to appe