| 1 | /etc/dhpcd.conf |
| 2 | |
| 3 | |
| 4 | {{{ |
| 5 | # dhcpd.conf |
| 6 | |
| 7 | # option definitions common to all supported networks... |
| 8 | option domain-name "as65001.com"; |
| 9 | option domain-name-servers dhcpdns.as65001.com; |
| 10 | |
| 11 | default-lease-time 600; |
| 12 | max-lease-time 7200; |
| 13 | |
| 14 | ignore client-updates; |
| 15 | |
| 16 | # Use this to enble / disable dynamic dns updates globally. |
| 17 | ddns-update-style interim; |
| 18 | |
| 19 | # If this DHCP server is the official DHCP server for the local |
| 20 | # network, the authoritative directive should be uncommented. |
| 21 | authoritative; |
| 22 | |
| 23 | # Use this to send dhcp log messages to a different log file (you also |
| 24 | # have to hack syslog.conf to complete the redirection). |
| 25 | log-facility local7; |
| 26 | |
| 27 | # Déclaration pour 10.10.2.0 |
| 28 | subnet 10.10.2.0 netmask 255.255.255.0 { |
| 29 | range 10.10.2.50 10.10.2.250; |
| 30 | option domain-name-servers dhcpdns.as65001.com; |
| 31 | option domain-name "as65001.com"; |
| 32 | option routers 10.10.2.1; |
| 33 | option broadcast-address 10.10.2.255; |
| 34 | default-lease-time 600; |
| 35 | max-lease-time 7200; |
| 36 | } |
| 37 | }}} |