summaryrefslogtreecommitdiff
path: root/networking/udhcp/udhcpd.conf.5
blob: b86a9f51f0fbde982fee48c0c0176364540c1872 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
.TH UDHCPD.CONF 5 2001-09-26 GNU/Linux "GNU/Linux Administrator's Manual"
.SH NAME
udhcpd.conf \- udhcp server configuration file
.SH DESCRIPTION
The file
.I /etc/udhcpd.conf
contains configuration information specific to the udhcp server.
It should contain one configuration keyword per line, followed by
appropriate configuration information.
.SH OPTIONS
.TP
.BI start\  ADDRESS
The starting address of the IP lease block is
.IR ADDRESS .
The default is
.BR 192.168.0.20 .
.TP
.BI end\  ADDRESS
The ending address of the IP lease block is
.IR ADDRESS .
The default is
.BR 192.168.0.254 .
.TP
.BI interface\  INTERFACE
The udhcp server should listen on
.IR INTERFACE .
The default is
.BR eth0 .
.TP
.BI max_leases\  LEASES
Offer at most
.I LEASES
leases (including those reserved by OFFERs, DECLINEs, and ARP
conflicts).  The default is
.BR 254 .
.TP 
.BI remaining\  REMAINING
If
.I REMAINING
is
.BR yes ,
store the time remaining for each lease.  If it is
.BR no ,
store the expiration time for each lease.  The default is
.BR yes .
.TP
.BI auto_time\  SECONDS
Write the lease information to a file every
.I SECONDS
seconds.  The default is
.BR 7200 .
.TP
.BI decline_time\  SECONDS
Reserve an IP for
.I SECONDS
seconds if a DHCP decline message is received.  The default is
.BR 3600 .
.TP
.BI conflict_time\  SECONDS
Reserve an IP for
.I SECONDS
seconds if an ARP conflict occurs.  The default is
.BR 3600 .
.TP
.BI offer_time\  SECONDS
Reserve an IP for
.I SECONDS
seconds if it is offered.  The default is
.BR 60 .
.TP
.BI min_lease\  SECONDS
Reserve an IP for the full lease time if the lease to be given is less than
.I SECONDS
seconds.  The default is
.BR 60 .
.TP
.BI lease_file\  FILE
Write the lease information to
.IR FILE .
The default is
.BR /var/lib/misc/udhcpd.leases .
.TP
.BI pidfile\  FILE
Write the process ID to
.IR FILE .
The default is
.BR /var/run/udhcpd.pid .
.TP
.BI notify_file\  FILE
Execute
.I FILE
after the lease information is written.  By default, no file is executed.
.TP
.BI siaddr\  ADDRESS
BOOTP specific option.  The default is
.BR 0.0.0.0 .
.TP
.BI sname\  NAME
BOOTP specific option.  There is no default.
.TP
.BI boot_file\  FILE
BOOTP specific option.  There is no default.
.TP
.BI option\  OPTION
DHCP specific option.
.RS
.TP
.BI subnet\  ADDRESS
.TP
.BI timezone\  OFFSET
.TP
.BI router\  ADDRESS...
.TP
.BI timesvr\  ADDRESS...
.TP
.BI namesvr\  ADDRESS...
.TP
.BI dns\  ADDRESS...
.TP
.BI logsvr\  ADDRESS...
.TP
.BI cookiesvr\  ADDRESS...
.TP
.BI lprsvr\  ADDRESS...
.TP
.BI hostname\  HOSTNAME
.TP
.BI bootsize\  SIZE
.TP
.BI domain\  DOMAIN
.TP
.BI swapsvr\  ADDRESS
.TP
.BI rootpath\  PATH
.TP
.BI ipttl\  TTL
.TP
.BI mtu\  MTU
.TP
.BI broadcast\  ADDRESS
.TP
.BI ntpsrv\  ADDRESS...
.TP
.BI wins\  ADDRESS...
.TP
.BI requestip\  ADDRESS
.TP
.BI lease\  SECONDS
.TP
.BI dhcptype\  TYPE
.TP
.BI serverid\  ADDRESS
.TP
.BI tftp\  FILE
.TP
.BI bootfile\  FILE
The default for
.B lease
is
.BR 864000 .
There are no defaults for the other options.
.RE
.SH SEE ALSO
.BR udhcpd (8).