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 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725
|
<pre>Internet Engineering Task Force (IETF) P. Kurapati
Request for Comments: 6148 Juniper Networks
Updates: <a href="./rfc4388">4388</a> R. Desetti
Category: Standards Track B. Joshi
ISSN: 2070-1721 Infosys Technologies Ltd.
February 2011
<span class="h1">DHCPv4 Lease Query by Relay Agent Remote ID</span>
Abstract
Some relay agents extract lease information from the DHCP messages
exchanged between the client and DHCP server. This lease information
is used by relay agents for various purposes like antispoofing and
prevention of flooding. <a href="./rfc4388">RFC 4388</a> defines a mechanism for relay
agents to retrieve the lease information from the DHCP server when
this information is lost. The existing lease query mechanism is
data-driven, which means that a relay agent can initiate the lease
query only when it starts receiving data to and from the clients. In
certain scenarios, this model is not scalable. This document first
looks at issues in the existing mechanism and then proposes a new
query type, query by Remote ID, to address these issues.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc6148">http://www.rfc-editor.org/info/rfc6148</a>.
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-3">3</a>
<a href="#section-2">2</a>. Terminology .....................................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Motivation ......................................................<a href="#page-6">6</a>
<a href="#section-4">4</a>. Protocol Details ................................................<a href="#page-7">7</a>
<a href="#section-4.1">4.1</a>. Sending the DHCPLEASEQUERY Message .........................<a href="#page-7">7</a>
<a href="#section-4.2">4.2</a>. Responding to the DHCPLEASEQUERY Message ...................<a href="#page-8">8</a>
<a href="#section-4.3">4.3</a>. Building a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message .....<a href="#page-8">8</a>
<a href="#section-4.4">4.4</a>. Determining the IP Address to Be Used in Response ..........<a href="#page-9">9</a>
<a href="#section-4.5">4.5</a>. Sending a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message ......<a href="#page-9">9</a>
<a href="#section-4.6">4.6</a>. Receiving a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message ....<a href="#page-9">9</a>
<a href="#section-4.7">4.7</a>. Receiving No Response to the DHCPLEASEQUERY Message .......<a href="#page-10">10</a>
<a href="#section-4.8">4.8</a>. Lease-Binding Data Storage Requirements ...................<a href="#page-10">10</a>
4.9. Using the DHCPLEASEQUERY Message with Multiple
DHCP Servers ..............................................<a href="#page-10">10</a>
<a href="#section-5">5</a>. <a href="./rfc4388">RFC 4388</a> Considerations ........................................<a href="#page-11">11</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-11">11</a>
<a href="#section-7">7</a>. Acknowledgments ................................................<a href="#page-11">11</a>
<a href="#section-8">8</a>. References .....................................................<a href="#page-12">12</a>
<a href="#section-8.1">8.1</a>. Normative References ......................................<a href="#page-12">12</a>
<a href="#section-8.2">8.2</a>. Informative References ....................................<a href="#page-12">12</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
DHCP relay agents snoop DHCP messages and append a Relay Agent
Information option before relaying them to the configured DHCP
server. In this process, some relay agents also glean the lease
information sent by the server and maintain this locally. This
information is used to prevent spoofing attempts from clients and
also sometimes to install routing information. When a relay agent
reboots, this information is lost. <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] has defined a
mechanism to retrieve this lease information from the DHCP server.
The existing query types defined by <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] are data-
driven. When a client sends data upstream, the relay agent can query
the server about the related lease information, based on the source
MAC/IP address. These mechanisms do not scale well when there are
thousands of clients connected to the relay agent. In the data-
driven model, lease query does not provide the full and consolidated
active lease information associated with a given connection/circuit,
which will result in inefficient anti-spoofing. The relay agent also
has to contend with considerable resources for negative caching,
especially under spoofing attacks.
We need a mechanism for a relay agent to retrieve the consolidated
lease information for a given connection/circuit before upstream
traffic is sent by the clients.
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
+--------+
| DHCP | +--------------+
| Server |-...-| DSLAM |
| | | Relay Agent |
+--------+ +--------------+
| |
+------+ +------+
|Modem1| |Modem2|
+------+ +------+
| | |
+-----+ +-----+ +-----+
|Node1| |Node2| |Node3|
+-----+ +-----+ +-----+
Figure 1
For example, when a DSLAM (Digital Subscriber Line Access
Multiplexer) acting as a relay agent is rebooted, it should query the
server for the lease information for all the connections/circuits.
Also, as shown in the above figure, there could be multiple clients
on one DSL circuit. The relay agent should get the lease information
of all the clients connected to a DSL circuit. This is possible by
introducing a new query type based on the Remote ID sub-option of the
Relay Agent Information option. This document talks about the
motivation for the new query type and the method to perform it.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. 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="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
This document uses the following terms:
o Access Concentrator
An access concentrator is a router or switch at the broadband
access provider's edge of a public broadband access network. This
document assumes that the access concentrator includes the DHCP
relay agent functionality.
o DHCP client
A DHCP client is an Internet node using DHCP to obtain
configuration parameters such as a network address.
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
o DHCP relay agent
A DHCP relay agent is a third-party agent that transfers Bootstrap
Protocol (BOOTP) and DHCP messages between clients and servers
residing on different subnets, per <a href="./rfc951">RFC 951</a> [<a href="./rfc951" title=""Bootstrap Protocol (BOOTP)"">RFC951</a>] and <a href="./rfc1542">RFC 1542</a>
[<a href="./rfc1542" title=""Clarifications and Extensions for the Bootstrap Protocol"">RFC1542</a>].
o DHCP server
A DHCP server is an Internet node that returns configuration
parameters to DHCP clients.
o Fast path
Fast path refers to data transfer that happens through a network
processor or an Application Specific Integrated Circuit (ASIC)
programmed to forward the data at very high speeds.
o Gleaning
Gleaning is the extraction of location information from DHCP
messages as the messages are forwarded by the DHCP relay agent
function.
o Location information
Location information is information needed by the access
concentrator to forward traffic to a broadband-accessible node.
This information includes knowledge of the node's hardware
address, the port or virtual circuit that leads to the node,
and/or the hardware address of the intervening subscriber modem.
o MAC address
In the context of a DHCP packet, a MAC address consists of the
following fields: hardware type ("htype"), hardware length
("hlen"), and client hardware address ("chaddr").
o Slow path
Slow path refers to data transfer that happens through the control
plane. This has very limited buffers to store data, and the
speeds are very low compared to the fast path data transfer.
o Upstream
Upstream is the direction from the broadband subscriber towards
the access concentrator.
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Motivation</span>
Consider an access concentrator (e.g., DSLAM) working also as a DHCP
relay agent. A "fast path" and a "slow path" generally exist in most
networking boxes. Fast path processing is done in a network
processor or an ASIC. Slow path processing is done in a normal
processor. As much as possible, regular data forwarding should be
done in the fast path. Slow path processing should be reduced, as it
may become a bottleneck.
For an access concentrator having multiple access ports, multiple IP
addresses may be assigned to a single port using DHCP, and the number
of clients on a port may be unknown. The access concentrator may
also not know the network portions of the IP addresses that are
assigned to its DHCP clients.
The access concentrator gleans IP address or other information from
DHCP negotiations for antispoofing and other purposes. The
antispoofing itself is done in the fast path. The access
concentrator keeps track of only one list of IP addresses: the list
of IP addresses that are assigned by the DHCP servers; upstream
traffic from all other IP addresses is dropped. If a client starts
its data transfer after its DHCP negotiations have been gleaned by
the access concentrator, no legitimate packets will be dropped
because of antispoofing. In other words, antispoofing is effective
(no legitimate packets are dropped, and all spoofed packets are
dropped) and efficient (antispoofing is done in the fast path). The
intention is to achieve similar effective and efficient antispoofing
in the lease query scenario also, when an access concentrator loses
its gleaned information (for example, because of a reboot).
After a deep analysis, we found that the three existing query types
supported by <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] do not provide effective and
efficient antispoofing for the above scenario, and a new mechanism is
required.
The existing query types necessitate a data-driven approach: the
lease queries can only be performed when the access concentrator
receives data. This results in
o increased outage time for clients
o excessive negative caching, consuming a lot of resources under a
spoofing attack
o antispoofing being done in the slow path instead of the fast path
<span class="grey">Kurapati, 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="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Protocol Details</span>
This section talks about the protocol details for query by Remote ID.
Most of the message handling is similar to <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>], and
this section highlights only the differences. Readers are advised to
go through <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] before going through this section for
complete understanding of the protocol.
When used in this document, the unqualified term "DHCPLEASEQUERY"
indicates a lease query by Remote ID, unless otherwise specified.
<a href="./rfc3046">RFC 3046</a> [<a href="./rfc3046" title=""DHCP Relay Agent Information Option"">RFC3046</a>] defines two sub-options for the Relay Agent
Information option. Sub-option 1 corresponds to the Circuit ID that
identifies the local circuit of the access concentrator. This
sub-option is unique to the relay agent. Sub-option 2 corresponds to
the Remote ID that identifies the remote node connected to the access
concentrator. The Remote ID is globally unique in the network and is
configured per circuit/connection in the relay agent.
This document defines a new query type based on the Remote ID
sub-option. Suppose that the access concentrator (e.g., DSLAM) lost
the lease information when it was rebooted. When the access
concentrator comes up, it initiates (for each connection/circuit) a
DHCP lease query by Remote ID as defined in this section. For this
query, the requester supplies an option 82 that includes only a
Remote ID sub-option in the DHCPLEASEQUERY message. The Remote ID is
normally pre-provisioned in the access concentrator per circuit/
connection and hence will remain available to the access concentrator
after reboot.
The DHCP server MUST reply with a DHCPLEASEACTIVE message if there is
an active lease corresponding to the Remote ID that is present in the
DHCPLEASEQUERY message. Otherwise, the server MUST reply with a
DHCPLEASEUNKNOWN message. Servers that do not implement DHCP lease
query based on Remote ID SHOULD simply not respond.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Sending the DHCPLEASEQUERY Message</span>
The lease query defined in this document will mostly be used by
access concentrators, but it may also be used by other authorized
elements in the network. The DHCPLEASEQUERY message uses the DHCP
message format as described in <a href="./rfc2131">RFC 2131</a> [<a href="./rfc2131" title=""Dynamic Host Configuration Protocol"">RFC2131</a>], and uses message
number 10 in the DHCP Message Type option (option 53). The
DHCPLEASEQUERY message has the following pertinent message contents:
<span class="grey">Kurapati, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
o There MUST be a Relay Agent Information option (option 82) with
only a Remote ID sub-option (sub-option 2) in the DHCPLEASEQUERY
message.
o The Parameter Request List option [<a href="./rfc2132" title=""DHCP Options and BOOTP Vendor Extensions"">RFC2132</a>] MUST be populated by
the access concentrator with the Associated-IP option code. The
giaddr field and other option codes listed in the Parameter
Request List option are set as explained in <a href="./rfc4388#section-6.2">Section 6.2 of
RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
o The ciaddr field MUST be set to zero.
o The values of htype, hlen, and chaddr MUST be set to zero.
o The Client Identifier option (option 61) MUST NOT appear in the
packet.
The DHCPLEASEQUERY message SHOULD be sent to a DHCP server that is
known to possess authoritative information concerning the Remote ID.
The DHCPLEASEQUERY message MAY be sent to more than one DHCP server,
and in the absence of information concerning which DHCP server might
possess authoritative information concerning the Remote ID, it SHOULD
be sent to all DHCP servers configured for the associated relay agent
(if any are known).
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Responding to the DHCPLEASEQUERY Message</span>
There are two possible responses to a DHCPLEASEQUERY message:
o DHCPLEASEUNKNOWN
The DHCPLEASEUNKNOWN message indicates that the client associated
with the Remote ID sub-option of the DHCPLEASEQUERY message is not
allocated any lease or it is not managed by the server.
o DHCPLEASEACTIVE
The DHCPLEASEACTIVE message indicates that the server not only
knows the client specified in the DHCPLEASEQUERY message, but also
knows that there is an active lease for that client.
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Building a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message</span>
A DHCPLEASEACTIVE message is built by populating information
pertaining to the client associated with the IP address specified in
the ciaddr field.
<span class="grey">Kurapati, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
In the case where more than one IP address has been involved in a
DHCP message exchange with the client specified by the Remote ID,
then the list of all those IP addresses MUST be returned in the
Associated-IP option, whether or not that option was requested as
part of the Parameter Request List option. This is intended for
maintaining backwards compatibility with <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
All other options specified in the Parameter Request List [<a href="./rfc2132" title=""DHCP Options and BOOTP Vendor Extensions"">RFC2132</a>]
are processed as mentioned in <a href="./rfc4388#section-6.4.2">Section 6.4.2 of RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
In a DHCPLEASEUNKNOWN response message, the DHCP server MUST echo the
option 82 received in the DHCPLEASEQUERY message. No other option is
included in the message.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Determining the IP Address to Be Used in Response</span>
The IP address placed in the ciaddr field of a DHCPLEASEACTIVE
message MUST be the IP address with the latest client-last-
transaction-time associated with the client described by the Remote
ID specified in the DHCPLEASEQUERY message.
If there is only a single IP address that fulfills this criteria,
then it MUST be placed in the ciaddr field of the DHCPLEASEACTIVE
message.
In the case where more than one IP address has been accessed by the
client specified by the Remote ID, then the DHCP server MUST return
the IP address returned to the client in the most recent transaction
with the client, unless the DHCP server has been configured by the
server administrator to use some other preference mechanism.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Sending a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message</span>
The server unicasts the DHCPLEASEACTIVE or DHCPLEASEUNKNOWN message
to the address specified in the giaddr field of the DHCPLEASEQUERY
message.
<span class="h3"><a class="selflink" id="section-4.6" href="#section-4.6">4.6</a>. Receiving a DHCPLEASEACTIVE or DHCPLEASEUNKNOWN Message</span>
When a DHCPLEASEACTIVE message is received in response to the
DHCPLEASEQUERY message, it means that there is currently an active
lease associated with the Remote ID in the DHCP server. The access
concentrator SHOULD use the information in the htype, hlen, and
chaddr fields of the DHCPLEASEACTIVE message as well as the Relay
<span class="grey">Kurapati, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
Agent Information option included in the packet to refresh its
location information for this IP address. An access concentrator is
likely to query by IP address for all the IP addresses specified in
the Associated-IP option in the response, if any, at this point in
time.
When a DHCPLEASEUNKNOWN message is received by an access concentrator
that had sent out a DHCPLEASEQUERY message, it means that the DHCP
server does not have definitive information concerning the DHCP
client specified in the Remote ID sub-option of the DHCPLEASEQUERY
message. The access concentrator MAY store this information for
future use. However, another DHCPLEASEQUERY message to the same DHCP
server SHOULD NOT be attempted with the same Remote ID sub-option.
For lease query by Remote ID, the impact of negative caching is
greatly reduced, as the response leads to "definitive" information on
all the nodes connected behind the connection. Note that in the case
of the data-driven approach [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>], a node spoofing several IP
addresses can lead to negative caching of greater magnitude. Another
important change that this document brings is the removal of periodic
lease queries generated from negative caching caused by
DHCPLEASEUNKNOWN messages. Since the information obtained through
query by Remote ID is complete, there is no need to attempt lease
query again for the same connection.
<span class="h3"><a class="selflink" id="section-4.7" href="#section-4.7">4.7</a>. Receiving No Response to the DHCPLEASEQUERY Message</span>
The condition of an access concentrator receiving no response to a
DHCPLEASEQUERY message is handled in the same manner as suggested in
<a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
<span class="h3"><a class="selflink" id="section-4.8" href="#section-4.8">4.8</a>. Lease-Binding Data Storage Requirements</span>
Implementation Note:
To generate replies for a lease query by Remote ID efficiently, a
DHCP server should index the lease-binding data structures using
Remote ID.
<span class="h3"><a class="selflink" id="section-4.9" href="#section-4.9">4.9</a>. Using the DHCPLEASEQUERY Message with Multiple DHCP Servers</span>
This scenario is handled in the same way it is done in <a href="./rfc4388">RFC 4388</a>
[<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
<span class="grey">Kurapati, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. <a href="./rfc4388">RFC 4388</a> Considerations</span>
This document is compatible with <a href="./rfc4388">RFC 4388</a>-based [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]
implementations, which means that a client that supports this
extension can work with a server not supporting this document,
provided it uses <a href="./rfc4388">RFC 4388</a>-defined query types. Also, a server
supporting this document can work with a client not supporting this
query type. However, there are some changes that this document
proposes with respect to <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]. Implementers extending
<a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] implementations to support this document should
take note of the following points:
o There may be cases where a query by IP address/MAC address/Client
Identifier has an option 82 containing a Remote ID. In that case,
the query will still be recognized as a query by IP address/MAC
address/Client Identifier as specified by <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>].
o <a href="./rfc4388#section-6.4">Section 6.4 of RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>] suggests that a DHCPLEASEUNKNOWN
message MUST NOT have any other option present. But for a query
by Remote ID, option 82 MUST be present in the reply.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This document inherits the security concerns present in the original
lease query protocol specification (<a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]).
This specification introduces one additional issue, beyond those
described in <a href="./rfc4388">RFC 4388</a> [<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]. A query by Remote ID will result in
the server replying with consolidated lease-binding information.
Such a query, if done from an unauthorized source, may lead to a leak
of lease-binding information. It is critical to deploy
authentication techniques mentioned in <a href="./rfc3118">RFC 3118</a> [<a href="./rfc3118" title=""Authentication for DHCP Messages"">RFC3118</a>] to prevent
such unauthorized lease queries.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Acknowledgments</span>
Copious amounts of text in this document are derived from <a href="./rfc4388">RFC 4388</a>
[<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]. Kim Kinnear, Damien Neil, Stephen Jacob, Ted Lemon, Ralph
Droms, and Alfred Hoenes provided valuable feedback on this document.
<span class="grey">Kurapati, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</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-RFC4388">RFC4388</a>] Woundy, R. and K. Kinnear, "Dynamic Host Configuration
Protocol (DHCP) Leasequery", <a href="./rfc4388">RFC 4388</a>, February 2006.
[<a id="ref-RFC2131">RFC2131</a>] Droms, R., "Dynamic Host Configuration Protocol",
<a href="./rfc2131">RFC 2131</a>, March 1997.
[<a id="ref-RFC2132">RFC2132</a>] Alexander, S. and R. Droms, "DHCP Options and BOOTP Vendor
Extensions", <a href="./rfc2132">RFC 2132</a>, March 1997.
[<a id="ref-RFC3046">RFC3046</a>] Patrick, M., "DHCP Relay Agent Information Option",
<a href="./rfc3046">RFC 3046</a>, January 2001.
[<a id="ref-RFC3118">RFC3118</a>] Droms, R., Ed. and W. Arbaugh, Ed., "Authentication for
DHCP Messages", <a href="./rfc3118">RFC 3118</a>, June 2001.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-RFC951">RFC951</a>] Croft, B. and J. Gilmore, "Bootstrap Protocol (BOOTP)",
<a href="./rfc951">RFC 951</a>, September 1985.
[<a id="ref-RFC1542">RFC1542</a>] Wimer, W., "Clarifications and Extensions for the
Bootstrap Protocol", <a href="./rfc1542">RFC 1542</a>, October 1993.
<span class="grey">Kurapati, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc6148">RFC 6148</a> Query by Remote ID February 2011</span>
Authors' Addresses
Pavan Kurapati
Juniper Networks
Embassy Prime Buildings, C.V. Raman Nagar
Bangalore 560 093
India
EMail: kurapati@juniper.net
URI: <a href="http://www.juniper.net/">http://www.juniper.net/</a>
D.T.V Ramakrishna Rao
Infosys Technologies Ltd.
44 Electronics City, Hosur Road
Bangalore 560 100
India
EMail: ramakrishnadtv@infosys.com
URI: <a href="http://www.infosys.com/">http://www.infosys.com/</a>
Bharat Joshi
Infosys Technologies Ltd.
44 Electronics City, Hosur Road
Bangalore 560 100
India
EMail: bharat_joshi@infosys.com
URI: <a href="http://www.infosys.com/">http://www.infosys.com/</a>
Kurapati, et al. Standards Track [Page 13]
</pre>
|