#################################### #### DHCPd configuration file ###### #################################### # Documentation # https://man.openbsd.org/dhcpd.8 # https://man.openbsd.org/dhcpd.conf.5 # Set default lease to 23h (time to refresh) default-lease-time 82800; # Set default lease deadline to 24h max-lease-time 86400; # Set default domain-name option domain-name "mylocalnetwork.int"; # Set nameservers option domain-name-servers 8.8.8.8, 8.8.4.4; # This is the main DHCP server authoritative; # LAN subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option broadcast-address 192.168.1.255; range 192.168.1.220 192.168.1.245; } # Static IP for mydevice1 # host mydevice1 { # hardware ethernet 00:11:11:11:11:11; # fixed-address 192.168.1.15; # }