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
|
<pre>Internet Engineering Task Force (IETF) H. Singh
Request for Comments: 5942 W. Beebee
Updates: <a href="./rfc4861">4861</a> Cisco Systems, Inc.
Category: Standards Track E. Nordmark
ISSN: 2070-1721 Oracle, Inc.
July 2010
<span class="h1">IPv6 Subnet Model: The Relationship between Links and Subnet Prefixes</span>
Abstract
IPv6 specifies a model of a subnet that is different than the IPv4
subnet model. The subtlety of the differences has resulted in
incorrect implementations that do not interoperate. This document
spells out the most important difference: that an IPv6 address isn't
automatically associated with an IPv6 on-link prefix. This document
also updates (partially due to security concerns caused by incorrect
implementations) a part of the definition of "on-link" from <a href="./rfc4861">RFC 4861</a>.
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/rfc5942">http://www.rfc-editor.org/info/rfc5942</a>.
Copyright Notice
Copyright (c) 2010 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.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
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.
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-2">2</a>
<a href="#section-2">2</a>. Requirements Language ...........................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Host Behavior ...................................................<a href="#page-4">4</a>
<a href="#section-4">4</a>. Host Rules ......................................................<a href="#page-7">7</a>
<a href="#section-5">5</a>. Observed Incorrect Implementation Behavior ......................<a href="#page-8">8</a>
<a href="#section-6">6</a>. Updates to <a href="./rfc4861">RFC 4861</a> .............................................<a href="#page-9">9</a>
<a href="#section-7">7</a>. Conclusion ......................................................<a href="#page-9">9</a>
<a href="#section-8">8</a>. Security Considerations .........................................<a href="#page-9">9</a>
<a href="#section-9">9</a>. Contributors ....................................................<a href="#page-9">9</a>
<a href="#section-10">10</a>. Acknowledgements ...............................................<a href="#page-9">9</a>
<a href="#section-11">11</a>. References ....................................................<a href="#page-10">10</a>
<a href="#section-11.1">11.1</a>. Normative References .....................................<a href="#page-10">10</a>
<a href="#section-11.2">11.2</a>. Informative References ...................................<a href="#page-10">10</a>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
IPv4 implementations typically associate a netmask with an address
when an IPv4 address is assigned to an interface. That netmask
together with the IPv4 address designates an on-link prefix. Nodes
consider addresses covered by an on-link prefix to be directly
attached to the same link as the sending node, i.e., they send
traffic for such addresses directly rather than to a router. See
<a href="./rfc1122#section-3.3.1">Section 3.3.1 of [RFC1122]</a>. Prior to the development of subnetting
[<a href="./rfc0950" title=""Internet Standard Subnetting Procedure"">RFC0950</a>] and Classless Inter-Domain Routing (CIDR) [<a href="./rfc4632" title=""Classless Inter-domain Routing (CIDR): The Internet Address Assignment and Aggregation Plan"">RFC4632</a>], an
address's netmask could be derived directly from the address simply
by determining whether it was a Class A, B, or C address. Today,
assigning an address to an interface also requires specifying a
netmask to use. In the absence of specifying a specific netmask when
assigning an address, some implementations would fall back to
deriving the netmask from the class of the address.
The behavior of IPv6 as specified in Neighbor Discovery (ND)
[<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] is quite different. The on-link determination is separate
from the address assignment. A host can have IPv6 addresses without
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
any related on-link prefixes or can have on-link prefixes that are
not related to any IPv6 addresses that are assigned to the host. Any
assigned address on an interface should initially be considered as
having no internal structure as shown in [<a href="./rfc4291" title=""IP Version 6 Addressing Architecture"">RFC4291</a>].
In IPv6, by default, a host treats only the link-local prefix as
on-link.
The reception of a Prefix Information Option (PIO) with the L-bit set
[<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] and a non-zero valid lifetime creates (or updates) an entry
in the Prefix List. All prefixes on a host's Prefix List (i.e.,
those prefixes that have not yet timed out) are considered to be
on-link by that host.
The on-link definition in the Terminology section of [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>], as
modified by this document, defines the complete list of cases in
which a host considers an address to be on-link. Individual address
entries can be expired by the Neighbor Unreachability Detection
mechanism.
IPv6 packets sent using the Conceptual Sending Algorithm as described
in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] only trigger address resolution for IPv6 addresses that
the sender considers to be on-link. Packets to any other address are
sent to a default router. If there is no default router, then the
node should send an ICMPv6 Destination Unreachable indication as
specified in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] -- more details are provided in the "Host
Behavior" and "Host Rules" sections of this document. (Note that
[<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] changed the behavior when the Default Router List is empty.
In the old version of Neighbor Discovery [<a href="./rfc2461" title=""Neighbor Discovery for IP Version 6 (IPv6)"">RFC2461</a>], if the Default
Router List is empty, rather than sending the ICMPv6 Destination
Unreachable indication, the [<a href="./rfc2461" title=""Neighbor Discovery for IP Version 6 (IPv6)"">RFC2461</a>] node assumed that the
destination was on-link.) Note that ND is scoped to a single link.
All Neighbor Solicitation (NS) responses are assumed to be sent out
the same interface on which the corresponding query was received
without using the Conceptual Sending Algorithm.
Failure of host implementations to correctly implement the IPv6
subnet model can result in lack of IPv6 connectivity. See the
"Observed Incorrect Implementation Behavior" section for details.
This document deprecates the last two bullets from the definition of
"on-link" in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] to address security concerns arising from
particular ND implementations.
Host behavior is clarified in the "Host Behavior" and "Host Rules"
sections.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Requirements Language</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>].
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Host Behavior</span>
1. The original Neighbor Discovery (ND) specification [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] was
unclear in its usage of the term "on-link" in a few places. In
IPv6, an address is on-link (with respect to a specific link), if
the address has been assigned to an interface attached to that
link. Any node attached to the link can send a datagram directly
to an on-link address without forwarding the datagram through a
router. However, in order for a node to know that a destination
is on-link, it must obtain configuration information to that
effect. In IPv6, there are two main ways of maintaining
information about on-link destinations. First, a host maintains
a Prefix List that identifies ranges of addresses that are to be
considered on-link. Second, Redirects can identify individual
destinations that are on-link; such Redirects update the
Destination Cache.
The Prefix List is populated via the following means:
* Receipt of a valid Router Advertisement (RA) that specifies a
prefix with the L-bit set. Such a prefix is considered
on-link for a period specified in the Valid Lifetime and is
added to the Prefix List. (The link-local prefix is
effectively considered a permanent entry on the Prefix List.)
* Indication of an on-link prefix (which may be a /128) via
manual configuration, or some other yet-to-be-specified
configuration mechanism.
A Redirect can also signal whether an address is on-link. If a
host originates a packet, but the first-hop router routes the
received packet back out onto the same link, the router also
sends the host a Redirect. If the Target and Destination Address
of the Redirect are the same, the Target Address is to be treated
as on-link as specified in <a href="./rfc4861#section-8">Section 8 of [RFC4861]</a>. That is, the
host updates its Destination Cache (but not its Prefix List --
though the impact is similar).
2. It should be noted that ND does not have a way to indicate a
destination is "off-link". Rather, a destination is assumed to
be off-link, unless there is explicit information indicating that
it is on-link. Such information may later expire or be changed,
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
in which case a destination may revert back to being considered
off-link, but that is different than there being an explicit
mechanism for signaling that a destination is off-link. Redirect
messages do not contain sufficient information to signal that an
address is off-link. Instead, Redirect messages indicate a
preferred next hop that is a more appropriate choice to use than
the originator of the Redirect.
3. IPv6 also defines the term "neighbor" to refer to nodes attached
to the same link and that can send packets directly to each
other. Received ND packets that pass the required validation
tests can only come from a neighbor attached to the link on which
the ND packet was received. Unfortunately, [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] is
imprecise in its definition of "on-link" and states that a node
considers an address to be on-link if:
* a Neighbor Advertisement (NA) message is received for the
(target) address, or
* any Neighbor Discovery message is received from the address.
Neither of these tests are acceptable definitions for an address
to be considered as on-link as defined above, and this document
deprecates and removes both of them from the formal definition of
"on-link". Neither of these tests should be used as
justification for modifying the Prefix List or Destination Cache
for an address.
The conceptual sending algorithm of [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] defines a Prefix
List, Destination Cache, and Default Router List. The
combination of Prefix List, Destination Cache, and Default Router
List form what many implementations consider to be the IP data
forwarding table for a host. Note that the Neighbor Cache is a
separate data structure referenced by the Destination Cache, but
entries in the Neighbor Cache are not necessarily in the
Destination Cache. It is quite possible (and intentional) that
entries be added to the Neighbor Cache for addresses that would
not be considered on-link as defined above. For example, upon
receipt of a valid NS, <a href="./rfc4861#section-7.2.3">Section 7.2.3 of [RFC4861]</a> states:
If an entry does not already exist, the node SHOULD create a
new one and set its reachability state to STALE as specified
in <a href="#section-7.3.3">Section 7.3.3</a>. If an entry already exists, and the cached
link-layer address differs from the one in the received Source
Link-Layer option, the cached address should be replaced by
the received address, and the entry's reachability state MUST
be set to STALE.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
The intention of the above feature is to add an address to the
Neighbor Cache, even though it might not be considered on-link
per the Prefix List. The benefit of such a step is to have the
receiver populate the Neighbor Cache with an address it will
almost certainly be sending packets to shortly, thus avoiding the
need for an additional round of ND to perform address resolution.
But because there is no validation of the address being added to
the Neighbor Cache, an intruder could spoof the address and cause
a receiver to add an address for a remote site to its Neighbor
Cache. This vulnerability is a specific instance of the broad
set of attacks that are possible by an on-link neighbor
[<a href="./rfc3756" title=""IPv6 Neighbor Discovery (ND) Trust Models and Threats"">RFC3756</a>]. This causes no problems in practice, so long as the
entry only exists in the Neighbor Cache and the address is not
considered to be on-link by the IP forwarding code (i.e., the
address is not added to the Prefix List and is not marked as
on-link in the Destination Cache).
4. After the update to the on-link definition in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>], certain
text from <a href="./rfc4861#section-7.2.3">Section 7.2.3 of [RFC4861]</a> may appear, upon a cursory
examination, to be inconsistent with the updated definition of
"on-link" because the text does not ensure that the source
address is already deemed on-link through other methods:
If the Source Address is not the unspecified address and, on
link layers that have addresses, the solicitation includes a
Source Link-Layer Address option, then the recipient SHOULD
create or update the Neighbor Cache entry for the IP Source
Address of the solicitation.
Similarly, the following text from <a href="./rfc4861#section-6.2.6">Section 6.2.6 of [RFC4861]</a> may
also seem inconsistent:
If there is no existing Neighbor Cache entry for the
solicitation's sender, the router creates one, installs the
link-layer address and sets its reachability state to STALE as
specified in <a href="#section-7.3.3">Section 7.3.3</a>.
However, the text in the aforementioned sections of [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>],
upon closer inspection, is actually consistent with the
deprecation of the last two bullets of the on-link definition
because there are two different ways in which on-link
determination can affect the state of ND: through updating the
Prefix List or updating the Destination Cache. Through
deprecating the last two bullets of the on-link definition, the
Prefix List is explicitly not to be changed when a node receives
an NS, NA, or Router Solicitation (RS). The Neighbor Cache can
still be updated through receipt of an NS, NA, or RS.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
5. [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] is written from the perspective of a host with a single
interface on which Neighbor Discovery is run. All ND traffic
(whether sent or received) traverses the single interface. On
hosts with multiple interfaces, care must be taken to ensure that
the scope of ND processing from one link stays local to that
link. That is, when responding to an NS, the NA would be sent
out on the same link on which it was received. Likewise, a host
would not respond to a received NS for an address only assigned
to an interface on a different link. Although implementations
may choose to implement Neighbor Discovery using a single data
structure that merges the Neighbor Caches of all interfaces, an
implementation's behavior must be consistent with the above
model.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Host Rules</span>
A correctly implemented IPv6 host MUST adhere to the following rules:
1. The assignment of an IPv6 address -- whether through IPv6
stateless address autoconfiguration [<a href="./rfc4862" title=""IPv6 Stateless Address Autoconfiguration"">RFC4862</a>], DHCPv6 [<a href="./rfc3315" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">RFC3315</a>],
or manual configuration -- MUST NOT implicitly cause a prefix
derived from that address to be treated as on-link and added to
the Prefix List. A host considers a prefix to be on-link only
through explicit means, such as those specified in the on-link
definition in the Terminology section of [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] (as modified
by this document) or via manual configuration. Note that the
requirement for manually configured addresses is not explicitly
mentioned in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>].
2. In the absence of other sources of on-link information, including
Redirects, if the RA advertises a prefix with the on-link (L) bit
set and later the Valid Lifetime expires, the host MUST then
consider addresses of the prefix to be off-link, as specified by
the PIO paragraph of <a href="./rfc4861#section-6.3.4">Section 6.3.4 of [RFC4861]</a>.
3. In the absence of other sources of on-link information, including
Redirects, if the RA advertises a prefix with the on-link (L) bit
set and later the Valid Lifetime expires, the host MUST then
update its Prefix List with respect to the entry. In most cases,
this will result in the addresses covered by the prefix
defaulting back to being considered off-link, as specified by the
PIO paragraph of <a href="./rfc4861#section-6.3.4">Section 6.3.4 of [RFC4861]</a>. However, there are
cases where an address could be covered by multiple entries in
the Prefix List, where expiration of one prefix would result in
destinations then being covered by a different entry.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
4. Implementations compliant with [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] MUST adhere to the
following rules. If the Default Router List is empty and there
is no other source of on-link information about any address or
prefix:
a. The host MUST NOT assume that all destinations are on-link.
b. The host MUST NOT perform address resolution for non-link-
local addresses.
c. Since the host cannot assume the destination is on-link, and
off-link traffic cannot be sent to a default router (since
the Default Router List is empty), address resolution cannot
be performed. This case is specified in the last paragraph
of <a href="./rfc4943#section-4">Section 4 of [RFC4943]</a>: when there is no route to the
destination, the host should send an ICMPv6 Destination
Unreachable indication (for example, a locally delivered
error message) as specified in the Terminology section of
[<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>].
On-link information concerning particular addresses and prefixes
can make those specific addresses and prefixes on-link, but does
not change the default behavior mentioned above for addresses and
prefixes not specified. [<a href="./rfc4943" title=""IPv6 Neighbor Discovery On-Link Assumption Considered Harmful"">RFC4943</a>] provides justification for
these rules.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Observed Incorrect Implementation Behavior</span>
One incorrect implementation behavior illustrates the severe
consequences when the IPv6 subnet model is not understood by the
implementers of several popular host operating systems. In an access
concentrator network ([<a href="./rfc4388" title=""Dynamic Host Configuration Protocol (DHCP) Leasequery"">RFC4388</a>]), a host receives a Router
Advertisement message with no on-link prefix advertised. An address
could be acquired through the DHCPv6 identity association for non-
temporary addresses (IA_NA) option from [<a href="./rfc3315" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">RFC3315</a>] (which does not
include a prefix length), or through manual configuration (if no
prefix length is specified). The host incorrectly assumes an
invented prefix is on-link. This invented prefix typically is a /64
that was written by the developer of the operating system network
module API to any IPv6 application as a "default" prefix length when
a length isn't specified. This may cause the API to seem to work in
the case of a network interface initiating stateless address
autoconfiguration (SLAAC); however, it can cause connectivity
problems in Non-Broadcast Multi-Access (NBMA) networks. Having
incorrectly assumed an invented prefix, the host performs address
resolution when the host should send all non-link-local traffic to a
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
default router. Neither the router nor any other host will respond
to the address resolution, preventing this host from sending IPv6
traffic.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Updates to <a href="./rfc4861">RFC 4861</a></span>
This document deprecates the following two bullets from the on-link
definition in <a href="./rfc4861#section-2.1">Section 2.1 of [RFC4861]</a>:
o a Neighbor Advertisement message is received for the (target)
address, or
o any Neighbor Discovery message is received from the address.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Conclusion</span>
This document clarifies and summarizes the relationship between links
and subnet prefixes described in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>]. Configuration of an IPv6
address does not imply the existence of corresponding on-link
prefixes. One should also look at API considerations for prefix
length as described in the last paragraph of <a href="./rfc4903#section-4.2">Section 4.2 of
[RFC4903]</a>. This document also updates the definition of "on-link"
from [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>] by deprecating the last two bullets.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. Security Considerations</span>
This document addresses a security concern present in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>]. As
a result, the last two bullets of the on-link definition in [<a href="./rfc4861" title=""Neighbor Discovery for IP version 6 (IPv6)"">RFC4861</a>]
have been deprecated. US-CERT Vulnerability Note VU#472363 lists the
implementations affected.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Contributors</span>
Thomas Narten contributed significant text and provided substantial
guidance to the production of this document.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. Acknowledgements</span>
Thanks (in alphabetical order) to Adeel Ahmed, Jari Arkko, Ralph
Droms, Alun Evans, Dave Forster, Prashanth Krishnamurthy, Suresh
Krishnan, Josh Littlefield, Bert Manfredi, David Miles, Madhu Sudan,
Jinmei Tatuya, Dave Thaler, Bernie Volz, and Vlad Yasevich for their
consistent input, ideas, and review during the production of this
document. The security problem related to an NS message that
provides one reason for invalidating a part of the on-link definition
was found by David Miles. Jinmei Tatuya found the security problem
to also exist with an RS message.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. References</span>
<span class="h3"><a class="selflink" id="section-11.1" href="#section-11.1">11.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-RFC4861">RFC4861</a>] Narten, T., Nordmark, E., Simpson, W., and H. Soliman,
"Neighbor Discovery for IP version 6 (IPv6)", <a href="./rfc4861">RFC 4861</a>,
September 2007.
<span class="h3"><a class="selflink" id="section-11.2" href="#section-11.2">11.2</a>. Informative References</span>
[<a id="ref-RFC0950">RFC0950</a>] Mogul, J. and J. Postel, "Internet Standard Subnetting
Procedure", STD 5, <a href="./rfc950">RFC 950</a>, August 1985.
[<a id="ref-RFC1122">RFC1122</a>] Braden, R., "Requirements for Internet Hosts -
Communication Layers", STD 3, <a href="./rfc1122">RFC 1122</a>, October 1989.
[<a id="ref-RFC2461">RFC2461</a>] Narten, T., Nordmark, E., and W. Simpson, "Neighbor
Discovery for IP Version 6 (IPv6)", <a href="./rfc2461">RFC 2461</a>,
December 1998.
[<a id="ref-RFC3315">RFC3315</a>] Droms, R., Bound, J., Volz, B., Lemon, T., Perkins, C.,
and M. Carney, "Dynamic Host Configuration Protocol for
IPv6 (DHCPv6)", <a href="./rfc3315">RFC 3315</a>, July 2003.
[<a id="ref-RFC3756">RFC3756</a>] Nikander, P., Kempf, J., and E. Nordmark, "IPv6 Neighbor
Discovery (ND) Trust Models and Threats", <a href="./rfc3756">RFC 3756</a>,
May 2004.
[<a id="ref-RFC4291">RFC4291</a>] Hinden, R. and S. Deering, "IP Version 6 Addressing
Architecture", <a href="./rfc4291">RFC 4291</a>, February 2006.
[<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-RFC4632">RFC4632</a>] Fuller, V. and T. Li, "Classless Inter-domain Routing
(CIDR): The Internet Address Assignment and Aggregation
Plan", <a href="https://www.rfc-editor.org/bcp/bcp122">BCP 122</a>, <a href="./rfc4632">RFC 4632</a>, August 2006.
[<a id="ref-RFC4862">RFC4862</a>] Thomson, S., Narten, T., and T. Jinmei, "IPv6 Stateless
Address Autoconfiguration", <a href="./rfc4862">RFC 4862</a>, September 2007.
[<a id="ref-RFC4903">RFC4903</a>] Thaler, D., "Multi-Link Subnet Issues", <a href="./rfc4903">RFC 4903</a>,
June 2007.
<span class="grey">Singh, 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="./rfc5942">RFC 5942</a> IPv6 Subnet Model July 2010</span>
[<a id="ref-RFC4943">RFC4943</a>] Roy, S., Durand, A., and J. Paugh, "IPv6 Neighbor
Discovery On-Link Assumption Considered Harmful",
<a href="./rfc4943">RFC 4943</a>, September 2007.
Authors' Addresses
Hemant Singh
Cisco Systems, Inc.
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Phone: +1 978 936 1622
EMail: shemant@cisco.com
URI: <a href="http://www.cisco.com/">http://www.cisco.com/</a>
Wes Beebee
Cisco Systems, Inc.
1414 Massachusetts Ave.
Boxborough, MA 01719
USA
Phone: +1 978 936 2030
EMail: wbeebee@cisco.com
URI: <a href="http://www.cisco.com/">http://www.cisco.com/</a>
Erik Nordmark
Oracle, Inc.
17 Network Circle
Menlo Park, CA 94025
USA
Phone: +1 650 786 2921
EMail: erik.nordmark@oracle.com
Singh, et al. Standards Track [Page 11]
</pre>
|