diff --git a/FreeBSD/usr/local/etc/dhcpd.conf b/FreeBSD/usr/local/etc/dhcpd.conf new file mode 100644 index 0000000..1374250 --- /dev/null +++ b/FreeBSD/usr/local/etc/dhcpd.conf @@ -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"; +} \ No newline at end of file