aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/dhcpd_if/udhcpd.conf
blob: a8192597038621cc3f236504f5453aa1ee39522d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Directives with defaults:
# start		192.168.0.20
# end		192.168.0.254
# interface	eth0
# max_leases	235
# auto_time	7200
# decline_time	3600
# conflict_time	3600
# offer_time	60
# min_lease	60
# lease_file	/var/lib/misc/udhcpd.leases
# pidfile	/var/run/udhcpd.pid
# siaddr	0.0.0.0
#
# Directives with no defaults (or with empty defaults):
# option/opt	NAME VALUE
# notify_file	/path/to/script_to_run_after_leasefile_is_written
#		(it is run with $1 = lease_file_name)
# sname		dhcp_packet_sname_field_contents
# boot_file	dhcp_packet_bootfile_field_contents
# static_lease	XX:XX:XX:XX:XX:XX IP.ADD.RE.SS

interface if
pidfile		/dev/null
lease_file	udhcpd.leases
option		subnet 255.255.255.0
option		lease  3600
#option		router 192.168.0.1