aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/udhcp/udhcpd.conf16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf
index 6550cab08..1e05435d4 100644
--- a/examples/udhcp/udhcpd.conf
+++ b/examples/udhcp/udhcpd.conf
@@ -8,8 +8,8 @@ end 192.168.0.254
8# The interface that udhcpd will use 8# The interface that udhcpd will use
9interface eth0 9interface eth0
10 10
11# The maximim number of leases (includes addresses reserved 11# The maximum number of leases (includes addresses reserved
12# by OFFER's, DECLINE's, and ARP conficts). Will be corrected 12# by OFFER's, DECLINE's, and ARP conflicts). Will be corrected
13# if it's bigger than IP lease block, but it ok to make it 13# if it's bigger than IP lease block, but it ok to make it
14# smaller than lease block. 14# smaller than lease block.
15#max_leases 254 15#max_leases 254
@@ -24,7 +24,7 @@ interface eth0
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 conflct 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).
@@ -40,7 +40,7 @@ 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# Everytime 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
@@ -49,7 +49,7 @@ interface eth0
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# The remainer of options are DHCP options and can be specifed with the 52# 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 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 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'. 55# lines. The only option with a default is 'lease'.
@@ -58,7 +58,7 @@ opt dns 192.168.10.2 192.168.10.10
58option subnet 255.255.255.0 58option subnet 255.255.255.0
59opt router 192.168.10.2 59opt router 192.168.10.2
60opt wins 192.168.10.10 60opt wins 192.168.10.10
61option dns 129.219.13.81 # appened to above DNS servers for a total of 3 61option dns 129.219.13.81 # appended to above DNS servers for a total of 3
62option domain local 62option domain local
63option lease 864000 # 10 days of seconds 63option lease 864000 # 10 days of seconds
64 64
@@ -67,10 +67,10 @@ option lease 864000 # 10 days of seconds
67#opt timezone 67#opt timezone
68#opt router 68#opt router
69#opt timesrv 69#opt timesrv
70#opt namesrv 70#opt namesrv - obsolete, disabled
71#opt dns 71#opt dns
72#opt logsrv 72#opt logsrv
73#opt cookiesrv 73#opt cookiesrv - rarely (never?) used, disabled
74#opt lprsrv 74#opt lprsrv
75#opt bootsize 75#opt bootsize
76#opt domain 76#opt domain