blob: a8192597038621cc3f236504f5453aa1ee39522d [file] [log] [blame]
Denys Vlasenko095ddf72016-10-03 23:43:44 +02001# 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
23interface if
24pidfile /dev/null
25lease_file udhcpd.leases
26option subnet 255.255.255.0
27option lease 3600
28#option router 192.168.0.1