| Version 1 (modified by evain, 15 years ago) (diff) |
|---|
/etc/dhpcd.conf
# dhcpd.conf
# option definitions common to all supported networks...
option domain-name "as65001.com";
option domain-name-servers dhcpdns.as65001.com;
default-lease-time 600;
max-lease-time 7200;
ignore client-updates;
# Use this to enble / disable dynamic dns updates globally.
ddns-update-style interim;
# 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;
# Déclaration pour 10.10.2.0
subnet 10.10.2.0 netmask 255.255.255.0 {
range 10.10.2.50 10.10.2.250;
option domain-name-servers dhcpdns.as65001.com;
option domain-name "as65001.com";
option routers 10.10.2.1;
option broadcast-address 10.10.2.255;
default-lease-time 600;
max-lease-time 7200;
}
