Skip to content

Instantly share code, notes, and snippets.

@sbuvaneshkumar
Created November 24, 2018 10:25
Show Gist options
  • Save sbuvaneshkumar/509759de7c2c12c2bdc4e6e95e693b39 to your computer and use it in GitHub Desktop.
Save sbuvaneshkumar/509759de7c2c12c2bdc4e6e95e693b39 to your computer and use it in GitHub Desktop.
Sample dhcpd.conf file
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp-server/dhcpd.conf.example
# see dhcpd.conf(5) man page
# default lease time
default-lease-time 600;
# max lease time
max-lease-time 7200;
# this DHCP server to be declared valid
authoritative;
# specify network address and subnet mask
subnet 10.0.0.0 netmask 255.255.255.0 {
# specify the range of lease IP address
range dynamic-bootp 10.0.0.200 10.0.0.254;
# specify broadcast address
option broadcast-address 10.0.0.255;
# specify default gateway
option routers 10.0.0.1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment