wiki:Realisations/2010-2011/Projet/Entreprise1/Documentation/DHCP

/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;
}
Last modified 14 years ago Last modified on May 30, 2011, 7:18:38 PM