mirror of https://github.com/MonkWho/pfatt.git
dhcpd.conf added
This commit is contained in:
parent
e12c503039
commit
587fd512ea
|
@ -0,0 +1,34 @@
|
||||||
|
option domain-name "example.com";
|
||||||
|
option ldap-server code 95 = text;
|
||||||
|
option domain-search-list code 119 = text;
|
||||||
|
option arch code 93 = unsigned integer 16; # RFC4578
|
||||||
|
|
||||||
|
default-lease-time 7200;
|
||||||
|
max-lease-time 86400;
|
||||||
|
log-facility local7;
|
||||||
|
one-lease-per-client true;
|
||||||
|
deny duplicates;
|
||||||
|
update-conflict-detection false;
|
||||||
|
authoritative;
|
||||||
|
subnet 192.168.1.0 netmask 255.255.255.0 {
|
||||||
|
pool {
|
||||||
|
option domain-name-servers 192.168.1.1;
|
||||||
|
range 192.168.177.100 192.168.177.199;
|
||||||
|
}
|
||||||
|
|
||||||
|
option routers 192.168.177.1;
|
||||||
|
option domain-name-servers 192.168.1.1,192.168.1.1;
|
||||||
|
ping-check true;
|
||||||
|
option ntp-servers 192.168.1.1;
|
||||||
|
|
||||||
|
}
|
||||||
|
host s_lan_0 {
|
||||||
|
hardware ethernet 00:11:22:33:44:55;
|
||||||
|
fixed-address 192.168.1.50
|
||||||
|
option host-name "example-host1";
|
||||||
|
}
|
||||||
|
host s_lan_1 {
|
||||||
|
hardware ethernet 66:77:88:99:aa:bb;
|
||||||
|
fixed-address 192.168.1.51;
|
||||||
|
option host-name "example-host2";
|
||||||
|
}
|
Loading…
Reference in New Issue