Denys Vlasenko | 095ddf7 | 2016-10-03 23:43:44 +0200 | [diff] [blame] | 1 | # Directives with defaults: |
| 2 | # start 192.168.0.20 |
| 3 | # end 192.168.0.254 |
| 4 | # interface eth0 |
| 5 | # max_leases 235 |
| 6 | # auto_time 7200 |
| 7 | # decline_time 3600 |
| 8 | # conflict_time 3600 |
| 9 | # offer_time 60 |
| 10 | # min_lease 60 |
| 11 | # lease_file /var/lib/misc/udhcpd.leases |
| 12 | # pidfile /var/run/udhcpd.pid |
| 13 | # siaddr 0.0.0.0 |
| 14 | # |
| 15 | # Directives with no defaults (or with empty defaults): |
| 16 | # option/opt NAME VALUE |
| 17 | # notify_file /path/to/script_to_run_after_leasefile_is_written |
| 18 | # (it is run with $1 = lease_file_name) |
| 19 | # sname dhcp_packet_sname_field_contents |
| 20 | # boot_file dhcp_packet_bootfile_field_contents |
| 21 | # static_lease XX:XX:XX:XX:XX:XX IP.ADD.RE.SS |
| 22 | |
| 23 | interface if |
| 24 | pidfile /dev/null |
| 25 | lease_file udhcpd.leases |
| 26 | option subnet 255.255.255.0 |
| 27 | option lease 3600 |
| 28 | #option router 192.168.0.1 |