dhcp配置
作者:互联网
全局配置
subnet { ... } host { } [root@centos8 ~]#grep -v "#" /etc/dhcp/dhcpd.conf option domain-name "magedu.org"; option domain-name-servers 180.76.76.76, 223.6.6.6; default-lease-time 600; max-lease-time 7200; log-facility local7; subnet 10.0.0.0 netmask 255.255.255.0 { range 10.0.0.10 10.0.0.100; range 10.0.0.110 10.0.0.200; option routers 10.0.0.2; next-server 10.0.0.8; filename "pxelinux.0"; } host testclient { hardware ethernet 00:0c:29:33:b4:1a; fixed-address 10.0.0.106; default-lease-time 86400; max-lease-time 864000; option routers 10.0.0.254; option domain-name-servers 114.114.114.114,8.8.8.8 ; option domain-name "magedu.net"; }
标签:10.0,domain,option,配置,time,dhcp,lease,name 来源: https://www.cnblogs.com/fengshen220/p/14987774.html