aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/udhcp/udhcpd.conf22
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf
index 7fc37ab00..0ad982b55 100644
--- a/examples/udhcp/udhcpd.conf
+++ b/examples/udhcp/udhcpd.conf
@@ -20,18 +20,18 @@ interface eth0
20#auto_time 7200 20#auto_time 7200
21 21
22# The amount of time that an IP will be reserved (leased to nobody) 22# The amount of time that an IP will be reserved (leased to nobody)
23# if a DHCP decline message is received (seconds). 23# if a DHCP decline message is received (seconds)
24#decline_time 3600 24#decline_time 3600
25 25
26# The amount of time that an IP will be reserved 26# The amount of time that an IP will be reserved
27# if an ARP conflict occurs (seconds). 27# if an ARP conflict occurs (seconds)
28#conflict_time 3600 28#conflict_time 3600
29 29
30# How long an offered address is reserved (seconds). 30# How long an offered address is reserved (seconds)
31#offer_time 60 31#offer_time 60
32 32
33# If client asks for lease below this value, it will be rounded up 33# If client asks for lease below this value, it will be rounded up
34# to this value (seconds). 34# to this value (seconds)
35#min_lease 60 35#min_lease 60
36 36
37# The location of the leases file 37# The location of the leases file
@@ -40,15 +40,19 @@ interface eth0
40# The location of the pid file 40# The location of the pid file
41#pidfile /var/run/udhcpd.pid 41#pidfile /var/run/udhcpd.pid
42 42
43# Every time udhcpd writes a leases file, the below script will be called. 43# Every time udhcpd writes a leases file, the below script will be called
44#notify_file # default: no script 44#notify_file # default: no script
45#notify_file dumpleases # useful for debugging 45#notify_file dumpleases # useful for debugging
46 46
47# The following are bootp specific options, settable by udhcpd. 47# The following are bootp specific options
48#siaddr 192.168.0.22 #default: 0.0.0.0 48#siaddr 192.168.0.22 #default: 0.0.0.0
49#sname zorak #default: none 49#sname zorak #default: none
50#boot_file /var/nfs_root #default: none 50#boot_file /var/nfs_root #default: none
51 51
52# Static leases map
53#static_lease 00:60:08:11:CE:4E 192.168.0.54
54#static_lease 00:60:08:11:CE:3E 192.168.0.44
55
52# The remainder of options are DHCP options and can be specified with the 56# The remainder of options are DHCP options and can be specified with the
53# keyword 'opt' or 'option'. If an option can take multiple items, such 57# 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 58# as the dns option, they can be listed on the same line, or multiple
@@ -60,7 +64,7 @@ opt router 192.168.10.2
60opt wins 192.168.10.10 64opt wins 192.168.10.10
61option dns 129.219.13.81 # appended to above DNS servers for a total of 3 65option dns 129.219.13.81 # appended to above DNS servers for a total of 3
62option domain local 66option domain local
63option lease 864000 # 10 days of seconds 67option lease 864000 # 10 days
64 68
65# Currently supported options (for more info, see options.c): 69# Currently supported options (for more info, see options.c):
66#opt lease NUM 70#opt lease NUM
@@ -92,7 +96,3 @@ option lease 864000 # 10 days of seconds
92#opt swapsrv IP 96#opt swapsrv IP
93#opt timesrv IP_LIST 97#opt timesrv IP_LIST
94#opt ntpsrv IP_LIST 98#opt ntpsrv IP_LIST
95
96# Static leases map
97#static_lease 00:60:08:11:CE:4E 192.168.0.54
98#static_lease 00:60:08:11:CE:3E 192.168.0.44