All pastes #39278 Raw Edit

gsson

public text v1 · immutable
#39278 ·published 2006-01-31 18:16 UTC
rendered paste body
$ cat dhcpd.conf                                                                                                                            
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "local";
option domain-name-servers ns1.local;

server-identifier firewall.local;

default-lease-time 600;
max-lease-time 7200;

# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;

# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;

ddns-update-style interim;

key mykey {
        algorithm hmac-md5;
        secret "<your secret goes here>";
};

zone local. {
        primary localhost;
        key mykey;
}

zone 0.168.192.in-addr.arpa. {
        primary localhost;
        key mykey;
}


subnet 192.168.0.0 netmask 255.255.255.0 {
        range 192.168.0.32 192.168.0.64;
        option subnet-mask 255.255.255.0;
        option broadcast-address 192.168.0.255;
        option domain-name "local";
        one-lease-per-client on;
        default-lease-time 14400;
        max-lease-time 14401;
        option ip-forwarding off;
        option time-offset -18000;
        option routers 192.168.0.1;
        option domain-name-servers 192.168.0.1;
}