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
|
<pre>Internet Engineering Task Force (IETF) A. Matsumoto
Request for Comments: 7078 T. Fujisaki
Category: Standards Track NTT
ISSN: 2070-1721 T. Chown
University of Southampton
January 2014
<span class="h1">Distributing Address Selection Policy Using DHCPv6</span>
Abstract
<a href="./rfc6724">RFC 6724</a> defines default address selection mechanisms for IPv6 that
allow nodes to select an appropriate address when faced with multiple
source and/or destination addresses to choose between. <a href="./rfc6724">RFC 6724</a>
allows for the future definition of methods to administratively
configure the address selection policy information. This document
defines a new DHCPv6 option for such configuration, allowing a site
administrator to distribute address selection policy overriding the
default address selection parameters and policy table, and thus
allowing the administrator to control the address selection behavior
of nodes in their site.
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/rfc7078">http://www.rfc-editor.org/info/rfc7078</a>.
Copyright Notice
Copyright (c) 2014 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
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
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="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
[<a id="ref-RFC6724">RFC6724</a>] describes default algorithms for selecting an address when
a node has multiple destination and/or source addresses to choose
from by using an address selection policy. This specification
defines a new DHCPv6 option for configuring the default policy table.
Some problems were identified with the default address selection
policy as originally defined in [<a href="./rfc3484" title=""Default Address Selection for Internet Protocol version 6 (IPv6)"">RFC3484</a>]. As a result, <a href="./rfc3484">RFC 3484</a> was
updated and obsoleted by [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>]. While this update corrected a
number of issues identified from operational experience, it is
unlikely that any default policy will suit all scenarios, and thus
mechanisms to control the source address selection policy will be
necessary. Requirements for those mechanisms are described in
[<a href="./rfc5221" title=""Requirements for Address Selection Mechanisms"">RFC5221</a>], while solutions are discussed in [<a href="#ref-ADDR-SEL" title=""Considerations for IPv6 Address Selection Policy Changes"">ADDR-SEL</a>]. Those
documents have helped shape the improvements in the default address
selection algorithm in [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>] as well as the requirements for the
DHCPv6 option defined in this specification.
This option's concept is to serve as a hint for a node about how to
behave in the network. Ultimately, while the node's administrator
can control how to deal with the received policy information, the
implementation SHOULD follow the method described below uniformly to
ease troubleshooting and to reduce operational costs.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Conventions Used in This Document</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" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Terminology</span>
This document uses the terminology defined in [<a href="./rfc2460" title=""Internet Protocol, Version 6 (IPv6) Specification"">RFC2460</a>] and the
DHCPv6 specification defined in [<a href="./rfc3315" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">RFC3315</a>]
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Address Selection Options</span>
The Address Selection option provides the address selection policy
table and some other configuration parameters.
An Address Selection option contains zero or more policy table
options. Multiple policy table options in an Address Selection
option constitute a single policy table. When an Address Selection
option does not contain a policy table option, it may be used to just
convey the A and P flags for Automatic Row Additions and Privacy
Preference, respectively.
The format of the Address Selection option is given below.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_ADDRSEL | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Reserved |A|P| |
+-+-+-+-+-+-+-+-+ POLICY TABLE OPTIONS |
| (variable length) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 1: Address Selection Option Format
option-code: OPTION_ADDRSEL (84).
option-len: The total length of the Reserved field, A and P flags,
and POLICY TABLE OPTIONS in octets.
Reserved: Reserved field. The server MUST set this value to 0, and
the client MUST ignore its content.
A: Automatic Row Addition flag. This flag toggles the Automatic
Row Addition flag at client hosts, which is described in
<a href="./rfc6724#section-2.1">Section 2.1 of [RFC6724]</a>. If this flag is set to 1, it does not
change client host behavior; that is, a client MAY automatically
add additional site-specific rows to the policy table. If set
to 0, the Automatic Row Addition flag is disabled, and a client
SHOULD NOT automatically add rows to the policy table. If the
option contains a POLICY TABLE option, this flag is meaningless,
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
and automatic row addition SHOULD NOT be performed against the
distributed policy table. This flag SHOULD be set to 0 only
when the Automatic Row Addition at client hosts is harmful for
site-specific reasons.
P: Privacy Preference flag. This flag toggles the Privacy
Preference flag on client hosts, which is described in <a href="./rfc6724#section-5">Section 5
of [RFC6724]</a>. If this flag is set to 1, it does not change
client host behavior; that is, a client will prefer temporary
addresses [<a href="./rfc4941" title=""Privacy Extensions for Stateless Address Autoconfiguration in IPv6"">RFC4941</a>]. If set to 0, the Privacy Preference flag
is disabled, and a client will prefer public addresses. This
flag SHOULD be set to 0 only when the temporary addresses should
not be preferred for site-specific reasons.
POLICY TABLE OPTIONS: Zero or more Address Selection Policy
Table options, as described below. This option corresponds to a
row in the policy table defined in <a href="./rfc6724#section-2.1">Section 2.1 of [RFC6724]</a>.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| OPTION_ADDRSEL_TABLE | option-len |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| label | precedence | prefix-len | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |
| |
| prefix (variable length) |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 2: Address Selection Policy Table Option Format
option-code: OPTION_ADDRSEL_TABLE (85).
option-len: The total length of the label field, precedence field,
prefix-len field, and prefix field.
label: An 8-bit unsigned integer; this value is for correlation of
source address prefixes and destination address prefixes. This
field is used to deliver a label value in the [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>] policy
table.
precedence: An 8-bit unsigned integer; this value is used for
sorting destination addresses. This field is used to deliver a
precedence value in the [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>] policy table.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
prefix-len: An 8-bit unsigned integer; the number of leading bits in
the prefix that are valid. The value ranges from 0 to 128. If
an option with a prefix length greater than 128 is included, the
whole Address Selection option MUST be ignored.
prefix: A variable-length field containing an IP address or the
prefix of an IP address. An IPv4-mapped address [<a href="./rfc4291" title=""IP Version 6 Addressing Architecture"">RFC4291</a>] must
be used to represent an IPv4 address as a prefix value.
This field is padded with zeros up to the nearest octet boundary
when prefix-len is not divisible by 8. This can be expressed
using the following equation: (prefix-len + 7)/8
So, the length of this field should be between 0 and 16 bytes.
For example, the prefix 2001:db8::/60 would be encoded with a
prefix-len of 60; the prefix would be 8 octets and would contain
octets 20 01 0d b8 00 00 00 00.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Processing the Address Selection Option</span>
This section describes how to process a received Address Selection
option at the DHCPv6 client.
This option's concept is to serve as a hint for a node about how to
behave in the network. Ultimately, while the node's administrator
can control how to deal with the received policy information, the
implementation SHOULD follow the method described below uniformly to
ease troubleshooting and to reduce operational costs.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Handling Local Configurations</span>
[<a id="ref-RFC6724">RFC6724</a>] defines two flags (A and P) and the default policy table.
Also, users are usually able to configure the flags and the policy
table to satisfy their own requirements.
The client implementation SHOULD provide the following choices to the
user.
(a) replace the existing flags and active policy table with the
DHCPv6 distributed flags and policy table.
(b) preserve the existing flags and active policy table, whether
this be the default policy table or the user configured policy.
Choice (a) SHOULD be the default, i.e., that the policy table is not
explicitly configured by the user.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Handling Stale Distributed Flags and Policy Table</span>
When the information from the DHCP server goes stale, the flags and
the policy table received from the DHCP server SHOULD be deprecated.
The local configuration SHOULD be restored when the DHCP-supplied
configuration has been deprecated. In order to implement this, a
host can retain the local configuration even after the flags and the
policy table is updated by the distributed flags and policy table.
The received information can be considered stale in several cases,
e.g., when the interface goes down, the DHCP server does not respond
for a certain amount of time, or the Information Refresh Time has
expired.
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Handling Multiple Interfaces</span>
The policy table, and other parameters specified in this document,
are node-global information by their nature. One reason being that
the outbound interface is usually chosen after destination address
selection. So a host cannot make use of multiple address selection
policies even if they are stored per interface.
The policy table is defined as a whole, so the slightest addition/
deletion from the policy table brings a change in the semantics of
the policy.
It also should be noted that the absence of a DHCP-distributed policy
from a certain network interface should not infer that the network
administrator does not care about address selection policy at all,
because it may mean there is a preference to use the default address
selection policy. So, it should be safe to assume that the default
address selection policy should be used where no overriding policy is
provided.
Under the above assumptions, we can specify how to handle received
policy as follows.
In the absence of distributed policy for a certain network interface,
the default address selection policy SHOULD be used. A node should
use Address Selection options by default in any of the following two
cases:
1: A single-homed host SHOULD use default address selection options,
where the host belongs exclusively to one administrative network
domain, usually through one active network interface.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
2: Hosts that use advanced heuristics to deal with multiple received
policies that are defined outside the scope of this document
SHOULD use Address Selection options.
Implementations MAY provide configuration options to enable this
protocol on a per-interface basis.
Implementations MAY store distributed address selection policies per
interface. They can be used effectively on implementations that
adopt per-application interface selection.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. Implementation Considerations</span>
o The value 'label' is passed as an unsigned integer, but there is
no special meaning for the value; that is, whether it is a large
or small number. It is used to select a preferred source address
prefix corresponding to a destination address prefix by matching
the same label value within the DHCP message. DHCPv6 clients
SHOULD convert this label to a representation appropriate for the
local implementation (e.g., string).
o The maximum number of address selection rules that may be conveyed
in one DHCPv6 message depends on the prefix length of each rule
and the maximum DHCPv6 message size defined in [<a href="./rfc3315" title=""Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"">RFC3315</a>]. It is
possible to carry over 3,000 rules in one DHCPv6 message (maximum
UDP message size). However, it should not be expected that DHCP
clients, servers, and relay agents can handle UDP fragmentation.
Network administrators SHOULD consider local limitations to the
maximum DHCPv6 message size that can be reliably transported via
their specific local infrastructure to end nodes; therefore, they
SHOULD consider the number of options, the total size of the
options, and the resulting DHCPv6 message size when defining their
policy table.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Security Considerations</span>
A rogue DHCPv6 server could issue bogus address selection policies to
a client. This might lead to incorrect address selection by the
client, and the affected packets might be blocked at an outgoing ISP
because of ingress filtering, incur additional network charges, or be
misdirected to an attacker's machine. Alternatively, an IPv6
transition mechanism might be preferred over native IPv6, even if it
is available. To guard against such attacks, a legitimate DHCPv6
server should communicate through a secure, trusted channel, such as
a channel protected by IPsec, Secure Neighbor Discovery (SEND), and
DHCP authentication, as described in <a href="./rfc3315#section-21">Section 21 of [RFC3315]</a>. A
commonly used alternative mitigation is to employ DHCP snooping at
Layer 2.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
Another threat surrounds the potential privacy concern as described
in the security considerations section of [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>], whereby an
attacker can send packets with different source addresses to a
destination to solicit different source addresses in the responses
from that destination. This issue will not be modified by the
introduction of this option, regardless of whether or not the host is
multihomed.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. IANA Considerations</span>
IANA has assigned option codes to OPTION_ADDRSEL (84) and
OPTION_ADDRSEL_TABLE (85) from the "DHCP Option Codes" registry
(<a href="http://www.iana.org/assignments/dhcpv6-parameters/">http://www.iana.org/assignments/dhcpv6-parameters/</a>).
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. References</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.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-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-RFC6724">RFC6724</a>] Thaler, D., Draves, R., Matsumoto, A., and T. Chown,
"Default Address Selection for Internet Protocol Version 6
(IPv6)", <a href="./rfc6724">RFC 6724</a>, September 2012.
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Informative References</span>
[<a id="ref-ADDR-SEL">ADDR-SEL</a>] Chown, T., Ed., and A. Matsumoto, Ed., "Considerations for
IPv6 Address Selection Policy Changes", Work in Progress,
April 2013.
[<a id="ref-RFC2460">RFC2460</a>] Deering, S. and R. Hinden, "Internet Protocol, Version 6
(IPv6) Specification", <a href="./rfc2460">RFC 2460</a>, December 1998.
[<a id="ref-RFC3484">RFC3484</a>] Draves, R., "Default Address Selection for Internet
Protocol version 6 (IPv6)", <a href="./rfc3484">RFC 3484</a>, February 2003.
[<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-RFC4941">RFC4941</a>] Narten, T., Draves, R., and S. Krishnan, "Privacy
Extensions for Stateless Address Autoconfiguration in
IPv6", <a href="./rfc4941">RFC 4941</a>, September 2007.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
[<a id="ref-RFC5220">RFC5220</a>] Matsumoto, A., Fujisaki, T., Hiromi, R., and K. Kanayama,
"Problem Statement for Default Address Selection in Multi-
Prefix Environments: Operational Issues of <a href="./rfc3484">RFC 3484</a>
Default Rules", <a href="./rfc5220">RFC 5220</a>, July 2008.
[<a id="ref-RFC5221">RFC5221</a>] Matsumoto, A., Fujisaki, T., Hiromi, R., and K. Kanayama,
"Requirements for Address Selection Mechanisms", <a href="./rfc5221">RFC 5221</a>,
July 2008.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Acknowledgements</span>
The authors would like to thank to Dave Thaler, Pekka Savola, Remi
Denis-Courmont, Francois-Xavier Le Bail, Ole Troan, Bob Hinden,
Dmitry Anipko, Ray Hunter, Rui Paulo, Brian E. Carpenter, Tom Petch,
and the members of 6man's address selection design team for their
invaluable contributions to this document.
<span class="h2"><a class="selflink" id="appendix-B" href="#appendix-B">Appendix B</a>. Examples</span>
[<a id="ref-RFC5220">RFC5220</a>] gives several cases where address selection problems
happen. This section contains some examples for solving those cases
by using the DHCP option defined in this text to update the hosts'
policy table in a network, accordingly. There is also some
discussion of example policy tables in Sections <a href="#section-10.3">10.3</a> to <a href="#section-10.7">10.7</a> of <a href="./rfc6724">RFC</a>
<a href="./rfc6724">6724</a>.
<span class="h3"><a class="selflink" id="appendix-B.1" href="#appendix-B.1">B.1</a>. Ingress Filtering Problem</span>
In the case described in <a href="./rfc5220#section-2.1.2">Section 2.1.2 of [RFC5220]</a>, the following
policy table should be distributed when the Router performs static
routing and directs the default route to ISP1 as per Figure 2. By
putting the same label value to all IPv6 addresses (::/0) and the
local subnet (2001:db8:1000:1::/64), a host picks a source address in
this subnet to send a packet via the default route.
Prefix Precedence Label
::1/128 50 0
::/0 40 1
2001:db8:1000:1::/64 45 1
2001:db8:8000:1::/64 45 14
::ffff:0:0/96 35 4
2002::/16 30 2
2001::/32 5 5
fc00::/7 3 13
::/96 1 3
fec0::/10 1 11
3ffe::/16 1 12
<span class="h3"><a class="selflink" id="appendix-B.2" href="#appendix-B.2">B.2</a>. Half-Closed Network Problem</span>
In the case described in <a href="./rfc5220#section-2.1.3">Section 2.1.3 of [RFC5220]</a>, the following
policy table should be distributed. By splitting the closed network
prefix (2001:db8:8000::/36) from all IPv6 addresses (::/0) and giving
different labels, the closed network prefix will only be used when
packets are destined for the closed network.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
Prefix Precedence Label
::1/128 50 0
::/0 40 1
2001:db8:8000::/36 45 14
::ffff:0:0/96 35 4
2002::/16 30 2
2001::/32 5 5
fc00::/7 3 13
::/96 1 3
fec0::/10 1 11
3ffe::/16 1 12
<span class="h3"><a class="selflink" id="appendix-B.3" href="#appendix-B.3">B.3</a>. IPv4 or IPv6 Prioritization</span>
In the case described in <a href="./rfc5220#section-2.2.1">Section 2.2.1 of [RFC5220]</a>, the following
policy table should be distributed to prioritize IPv6. This case is
also described in [<a href="./rfc6724" title=""Default Address Selection for Internet Protocol Version 6 (IPv6)"">RFC6724</a>].
Prefix Precedence Label
::1/128 50 0
::/0 40 1
::ffff:0:0/96 100 4
2002::/16 30 2
2001::/32 5 5
fc00::/7 3 13
::/96 1 3
fec0::/10 1 11
3ffe::/16 1 12
<span class="h3"><a class="selflink" id="appendix-B.4" href="#appendix-B.4">B.4</a>. ULA or Global Prioritization</span>
In the case described in <a href="./rfc5220#section-2.2.3">Section 2.2.3 of [RFC5220]</a>, the following
policy table should be distributed, or the Automatic Row Addition
flag should be set to 1. By splitting the Unique Local Address (ULA)
in this site (fc12:3456:789a::/48) from all IPv6 addresses (::/0) and
giving it higher precedence, the ULA will be used to connect to
servers in the same site.
<span class="grey">Matsumoto, 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="./rfc7078">RFC 7078</a> DHCPv6 Address Selection Policy Opt January 2014</span>
Prefix Precedence Label
::1/128 50 0
fc12:3456:789a::/48 45 14
::/0 40 1
::ffff:0:0/96 35 4
2002::/16 30 2
2001::/32 5 5
fc00::/7 3 13
::/96 1 3
fec0::/10 1 11
3ffe::/16 1 12
Authors' Addresses
Arifumi Matsumoto
NTT NT Lab
3-9-11 Midori-Cho
Musashino-shi, Tokyo 180-8585
Japan
Phone: +81 422 59 3334
EMail: arifumi@nttv6.net
Tomohiro Fujisaki
NTT NT Lab
3-9-11 Midori-Cho
Musashino-shi, Tokyo 180-8585
Japan
Phone: +81 422 59 7351
EMail: fujisaki@nttv6.net
Tim Chown
University of Southampton
Southampton, Hampshire SO17 1BJ
United Kingdom
EMail: tjc@ecs.soton.ac.uk
Matsumoto, et al. Standards Track [Page 12]
</pre>
|