Bootstrap

dhcpd.conf文件配置示例

centos7

[root@192 ~]# cat /etc/dhcp/dhcpd.conf 

# dhcpd.conf
ddns-update-style none;
ignore client-updates;


subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.200 192.168.0.230;
  option domain-name-servers 192.168.0.1;
  option domain-name "test.local";
  option routers 192.168.0.1;
  option subnet-mask 255.255.255.0;
  default-lease-time 43200;
  max-lease-time 86400;

}


加在上面大括号内


                
      
;