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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
|
<pre>Network Working Group M. Stapp
Request for Comments: 4243 R. Johnson
Category: Standards Track T. Palaniappan
Cisco Systems, Inc.
December 2005
<span class="h1">Vendor-Specific Information Suboption for the</span>
<span class="h1">Dynamic Host Configuration Protocol (DHCP) Relay Agent Option</span>
Status of This Memo
This document specifies an Internet standards track protocol for the
Internet community, and requests discussion and suggestions for
improvements. Please refer to the current edition of the "Internet
Official Protocol Standards" (STD 1) for the standardization state
and status of this protocol. Distribution of this memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2005).
Abstract
This memo defines a new Vendor-Specific Information suboption for the
Dynamic Host Configuration Protocol's (DHCP) relay agent information
option. The suboption allows a DHCP relay agent to include vendor-
specific information in the DHCP messages it forwards, as configured
by its administrator.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Requirements Terminology ........................................<a href="#page-2">2</a>
<a href="#section-3">3</a>. The Vendor-Specific Suboption ...................................<a href="#page-2">2</a>
<a href="#section-4">4</a>. Relay Agent Behavior ............................................<a href="#page-4">4</a>
<a href="#section-5">5</a>. DHCP Server Behavior ............................................<a href="#page-4">4</a>
<a href="#section-6">6</a>. Security Considerations .........................................<a href="#page-4">4</a>
<a href="#section-7">7</a>. IANA Considerations .............................................<a href="#page-5">5</a>
<a href="#section-8">8</a>. Acknowledgements ................................................<a href="#page-5">5</a>
Normative References ...............................................<a href="#page-5">5</a>
Informative References .............................................<a href="#page-5">5</a>
<span class="grey">Stapp, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
DHCP (<a href="./rfc2131">RFC 2131</a> [<a href="#ref-2" title=""Dynamic Host Configuration Protocol"">2</a>]) provides IP addresses and configuration
information for IPv4 clients. It includes a relay agent capability,
in which processes within the network infrastructure receive
broadcast messages from clients and forward them to DHCP servers as
unicast messages. In network environments like DOCSIS data-over-
cable and xDSL, for example, it has proven useful for the relay agent
to add information to the DHCP message before forwarding it, using
the relay agent information option (<a href="./rfc3046">RFC 3046</a> [<a href="#ref-3" title=""DHCP Relay Agent Information Option"">3</a>]).
Servers that recognize the relay agent option echo it back in their
replies, and some of the information that relays add may be used to
help an edge device efficiently return replies to clients. The
information that relays supply can also be used in the server's
decision making about the addresses and configuration parameters that
the client should receive.
In many environments, it's desirable to associate some vendor- or
provider-specific information with the clients' DHCP messages. This
is often done using the relay agent information option. <a href="./rfc3046">RFC 3046</a>
defines Remote-ID and Circuit-ID sub-options that are used to carry
such information. The values of those suboptions, however, are
usually based on some network resource, such as an IP address of a
network access device, an ATM Virtual Circuit identifier, or a DOCSIS
cable-modem identifier. As a result, the values carried in these
suboptions are dependent on the physical network configuration. The
Vendor-Specific suboption allows administrators to associate other
useful data with relayed DHCP messages.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requirements Terminology</span>
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in <a href="./rfc2119">RFC 2119</a> [<a href="#ref-1" title=""Key words for use in RFCs to Indicate Requirement Levels"">1</a>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. The Vendor-Specific Suboption</span>
This memo defines a new DHCP relay agent option suboption that
carries vendor-defined data. The suboption takes a form similar to
the Vendor-Identifying, Vendor-Specific Option [<a href="#ref-7" title=""Vendor-Identifying Vendor Options for Dynamic Host Configuration Protocol version 4 (DHCPv4)"">7</a>].
<span class="grey">Stapp, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Code | Length | Enterprise Number1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | DataLen1 | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +
\ Suboption Data1 \
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Enterprise Number2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| DataLen2 | Suboption Data2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\ \
. .
. .
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The Code for the suboption is 9.
The one-byte Length field is the length of the data carried in the
suboption, in bytes. The length includes the length of the first
Enterprise Number; the minimum length is 4 bytes.
"Enterprise NumberN" is a vendor's Enterprise Number as registered
with IANA [<a href="#ref-4" title=""Private Enterprise Numbers (http://www.iana.org/ assignments/enterprise-numbers.html)"">4</a>]. It is a four-byte integer value in network byte-
order.
DataLenN is the length of the data associated with the Enterprise
Number.
The Suboption Data is an opaque sequence of bytes.
The Vendor-Specific suboption includes at least one Enterprise Number
and carries opaque data defined by the organization identified by the
Enterprise Number. A relay may include data associated with more
than one vendor's Enterprise Number within a single instance of the
Suboption.
Of course, the Vendor-Specific data are vendor-specific. This
specification does not establish any requirements on the data in the
suboption. Vendors who make use of this suboption are encouraged to
document their usage in order to make interoperability possible.
<span class="grey">Stapp, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Relay Agent Behavior</span>
DHCP relay agents MAY be configured to include Vendor-Specific
suboptions if they include a relay agent information option in
relayed DHCP messages. The suboptions' types and data are assigned
and configured through mechanisms that are outside the scope of this
memo.
Relay implementors are encouraged to offer their administrators a
means of configuring what data can be included in this suboption, and
to document what they are capable of.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. DHCP Server Behavior</span>
This suboption provides additional information to the DHCP server.
The DHCP server, if it is configured to support this suboption, may
use this information, in addition to other relay agent option data
and other options included in the DHCP client messages, in order to
assign an IP address and/or other configuration parameters to the
client. There is no special additional processing for this
suboption.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
Message authentication in DHCP for intradomain use, where the out-
of-band exchange of a shared secret is feasible, is defined in <a href="./rfc3118">RFC</a>
<a href="./rfc3118">3118</a> [<a href="#ref-5" title=""Authentication for DHCP Messages"">5</a>]. Potential exposures to attack are discussed in <a href="#section-7">section 7</a>
of the DHCP protocol specification in <a href="./rfc2131">RFC 2131</a> [<a href="#ref-2" title=""Dynamic Host Configuration Protocol"">2</a>].
The DHCP relay agent option depends on a trusted relationship between
the DHCP relay agent and the server, as described in section 5 of <a href="./rfc3046">RFC</a>
<a href="./rfc3046">3046</a>. Fraudulent relay agent option data could potentially lead to
theft-of-service or exhaustion of limited resources (like IP
addresses) by unauthorized clients. A host that tampered with relay
agent data associated with another host's DHCP messages could deny
service to that host, or interfere with its operation by leading the
DHCP server to assign it inappropriate configuration parameters.
While the introduction of fraudulent relay agent options can be
prevented by a perimeter defense that blocks these options unless the
relay agent is trusted, a deeper defense using authentication for
relay agent options via the Authentication Suboption [<a href="#ref-6" title=""The Authentication Suboption for the Dynamic Host Configuration Protocol (DHCP) Relay Agent Option"">6</a>] SHOULD be
deployed as well.
There are several data in a DHCP message that convey information that
may identify an individual host on the network. These include the
chaddr, the client-id option, and the hostname and client-fqdn
options. Depending on the type of data included, the Vendor-Specific
suboption may also convey information that identifies a specific host
or a specific user on the network. In practice, this information
isn't exposed outside the internal service-provider network, where
DHCP messages are usually confined. Administrators who configure
data that will be used in DHCP Vendor-Specific suboptions should be
careful to use data that are appropriate for the types of networks
<span class="grey">Stapp, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
they administer. If DHCP messages travel outside the service-
provider's own network, or if the suboption values may become visible
to other users, it may raise privacy concerns for the access provider
or service provider.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. IANA Considerations</span>
The IANA has assigned the suboption number 9 for the Vendor-Specific
Information Suboption from the DHCP Relay Agent Information Option
[<a href="#ref-3" title=""DHCP Relay Agent Information Option"">3</a>] suboption number space.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Acknowledgements</span>
The authors are grateful to Andy Sudduth, Josh Littlefield, and Kim
Kinnear for their review and comments.
Normative References
[<a id="ref-1">1</a>] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>, March 1997.
[<a id="ref-2">2</a>] Droms, R., "Dynamic Host Configuration Protocol", <a href="./rfc2131">RFC 2131</a>,
March 1997.
[<a id="ref-3">3</a>] Patrick, M., "DHCP Relay Agent Information Option", <a href="./rfc3046">RFC 3046</a>,
January 2001.
[<a id="ref-4">4</a>] IANA, "Private Enterprise Numbers (<a href="http://www.iana.org/assignments/enterprise-numbers.html">http://www.iana.org/</a>
<a href="http://www.iana.org/assignments/enterprise-numbers.html">assignments/enterprise-numbers.html</a>)".
Informative References
[<a id="ref-5">5</a>] Droms, R. and W. Arbaugh, "Authentication for DHCP Messages",
<a href="./rfc3118">RFC 3118</a>, June 2001.
[<a id="ref-6">6</a>] Stapp, M. and T. Lemon, "The Authentication Suboption for the
Dynamic Host Configuration Protocol (DHCP) Relay Agent Option",
<a href="./rfc4030">RFC 4030</a>, March 2005.
[<a id="ref-7">7</a>] Littlefield, J., "Vendor-Identifying Vendor Options for Dynamic
Host Configuration Protocol version 4 (DHCPv4)", <a href="./rfc3925">RFC 3925</a>,
October 2004.
<span class="grey">Stapp, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
Authors' Addresses
Mark Stapp
Cisco Systems, Inc.
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Phone: 978.936.0000
EMail: mjs@cisco.com
Richard Johnson
Cisco Systems, Inc.
170 W. Tasman Dr.
San Jose, CA 95134
USA
Phone: 408.526.4000
EMail: raj@cisco.com
Theyn Palaniappan
Cisco Systems, Inc.
170 W. Tasman Dr.
San Jose, CA 95134
USA
Phone: 408.526.4000
EMail: athenmoz@cisco.com
<span class="grey">Stapp, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc4243">RFC 4243</a> Vendor-Specific Relay Suboption December 2005</span>
Full Copyright Statement
Copyright (C) The Internet Society (2005).
This document is subject to the rights, licenses and restrictions
contained in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a>, and except as set forth therein, the authors
retain all their rights.
This document and the information contained herein are provided on an
"AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Intellectual Property
The IETF takes no position regarding the validity or scope of any
Intellectual Property Rights or other rights that might be claimed to
pertain to the implementation or use of the technology described in
this document or the extent to which any license under such rights
might or might not be available; nor does it represent that it has
made any independent effort to identify any such rights. Information
on the procedures with respect to rights in RFC documents can be
found in <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and <a href="https://www.rfc-editor.org/bcp/bcp79">BCP 79</a>.
Copies of IPR disclosures made to the IETF Secretariat and any
assurances of licenses to be made available, or the result of an
attempt made to obtain a general license or permission for the use of
such proprietary rights by implementers or users of this
specification can be obtained from the IETF on-line IPR repository at
<a href="http://www.ietf.org/ipr">http://www.ietf.org/ipr</a>.
The IETF invites any interested party to bring to its attention any
copyrights, patents or patent applications, or other proprietary
rights that may cover technology that may be required to implement
this standard. Please address the information to the IETF at ietf-
ipr@ietf.org.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Stapp, et al. Standards Track [Page 7]
</pre>
|