1 # Sample udhcpd configuration file (/etc/udhcpd.conf)
2 # Values shown are defaults
4 # The start and end of the IP lease block
8 # The interface that udhcpd will use
11 # The maximim number of leases (includes addresses reserved
12 # by OFFER's, DECLINE's, and ARP conficts). Will be corrected
13 # if it's bigger than IP lease block, but it ok to make it
14 # smaller than lease block.
17 # The time period at which udhcpd will write out a dhcpd.leases
18 # file. If this is 0, udhcpd will never automatically write a
19 # lease file. Specified in seconds.
22 # The amount of time that an IP will be reserved (leased to nobody)
23 # if a DHCP decline message is received (seconds).
26 # The amount of time that an IP will be reserved
27 # if an ARP conflct occurs (seconds).
30 # How long an offered address is reserved (seconds).
33 # If client asks for lease below this value, it will be rounded up
34 # to this value (seconds).
37 # The location of the leases file
38 #lease_file /var/lib/misc/udhcpd.leases
40 # The location of the pid file
41 #pidfile /var/run/udhcpd.pid
43 # Everytime udhcpd writes a leases file, the below script will be called.
44 #notify_file # default: no script
45 #notify_file dumpleases # useful for debugging
47 # The following are bootp specific options, settable by udhcpd.
48 #siaddr 192.168.0.22 #default: 0.0.0.0
49 #sname zorak #default: none
50 #boot_file /var/nfs_root #default: none
52 # The remainer of options are DHCP options and can be specifed with the
53 # keyword 'opt' or 'option'. If an option can take multiple items, such
54 # as the dns option, they can be listed on the same line, or multiple
55 # lines. The only option with a default is 'lease'.
57 opt dns 192.168.10.2 192.168.10.10
58 option subnet 255.255.255.0
59 opt router 192.168.10.2
60 opt wins 192.168.10.10
61 option dns 129.219.13.81 # appened to above DNS servers for a total of 3
63 option lease 864000 # 10 days of seconds
65 # Currently supported options (for more info, see options.c):
89 #static_lease 00:60:08:11:CE:4E 192.168.0.54
90 #static_lease 00:60:08:11:CE:3E 192.168.0.44