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 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341
|
<pre>Internet Engineering Task Force (IETF) R. Asati
Request for Comments: 7552 C. Pignataro
Updates: <a href="./rfc5036">5036</a>, <a href="./rfc6720">6720</a> K. Raza
Category: Standards Track Cisco
ISSN: 2070-1721 V. Manral
Ionos Networks
R. Papneja
Huawei
June 2015
<span class="h1">Updates to LDP for IPv6</span>
Abstract
The Label Distribution Protocol (LDP) specification defines
procedures to exchange label bindings over either IPv4 or IPv6
networks, or both. This document corrects and clarifies the LDP
behavior when an IPv6 network is used (with or without IPv4). This
document updates RFCs 5036 and 6720.
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/rfc7552">http://www.rfc-editor.org/info/rfc7552</a>.
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
Copyright Notice
Copyright (c) 2015 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">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Topology Scenarios for Dual-Stack Environment ..............<a href="#page-5">5</a>
<a href="#section-1.2">1.2</a>. Single-Hop vs. Multi-Hop LDP Peering .......................<a href="#page-6">6</a>
<a href="#section-2">2</a>. Specification Language ..........................................<a href="#page-6">6</a>
<a href="#section-3">3</a>. LSP Mapping .....................................................<a href="#page-7">7</a>
<a href="#section-4">4</a>. LDP Identifiers .................................................<a href="#page-8">8</a>
<a href="#section-5">5</a>. Neighbor Discovery ..............................................<a href="#page-8">8</a>
<a href="#section-5.1">5.1</a>. Basic Discovery Mechanism ..................................<a href="#page-8">8</a>
<a href="#section-5.1.1">5.1.1</a>. Maintaining Hello Adjacencies .......................<a href="#page-9">9</a>
<a href="#section-5.2">5.2</a>. Extended Discovery Mechanism ..............................<a href="#page-10">10</a>
<a href="#section-6">6</a>. LDP Session Establishment and Maintenance ......................<a href="#page-10">10</a>
<a href="#section-6.1">6.1</a>. Transport Connection Establishment ........................<a href="#page-10">10</a>
6.1.1. Dual-Stack: Transport Connection Preference
and Role of an LSR .................................<a href="#page-12">12</a>
<a href="#section-6.2">6.2</a>. LDP Session Maintenance ...................................<a href="#page-14">14</a>
<a href="#section-7">7</a>. Binding Distribution ...........................................<a href="#page-15">15</a>
<a href="#section-7.1">7.1</a>. Address Distribution ......................................<a href="#page-15">15</a>
<a href="#section-7.2">7.2</a>. Label Distribution ........................................<a href="#page-16">16</a>
<a href="#section-8">8</a>. LDP Identifiers and Duplicate Next-Hop Addresses ...............<a href="#page-17">17</a>
<a href="#section-9">9</a>. LDP TTL Security ...............................................<a href="#page-18">18</a>
<a href="#section-10">10</a>. IANA Considerations ...........................................<a href="#page-18">18</a>
<a href="#section-11">11</a>. Security Considerations .......................................<a href="#page-19">19</a>
<a href="#section-12">12</a>. References ....................................................<a href="#page-19">19</a>
<a href="#section-12.1">12.1</a>. Normative References .....................................<a href="#page-19">19</a>
<a href="#section-12.2">12.2</a>. Informative References ...................................<a href="#page-20">20</a>
<a href="#appendix-A">Appendix A</a>. Additional Considerations .............................<a href="#page-21">21</a>
<a href="#appendix-A.1">A.1</a>. LDPv6 and LDPv4 Interoperability Safety Net ................<a href="#page-21">21</a>
<a href="#appendix-A.2">A.2</a>. Accommodating Implementations Not Compliant with <a href="./rfc5036">RFC 5036</a> ..21
<a href="#appendix-A.3">A.3</a>. Why prohibit IPv4-mapped IPv6 addresses in LDP? ............<a href="#page-22">22</a>
<a href="#appendix-A.4">A.4</a>. Why a 32-bit value even for the IPv6 LDP Router Id? ........<a href="#page-22">22</a>
Acknowledgments ...................................................<a href="#page-23">23</a>
Contributors ......................................................<a href="#page-23">23</a>
Authors' Addresses.................................................<a href="#page-24">24</a>
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
The LDP specification [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>] defines procedures and messages for
exchanging FEC-label bindings over either IPv4 or IPv6 networks, or
both (i.e., Dual-stack networks).
However, <a href="./rfc5036">RFC 5036</a> has the following deficiencies (i.e., lacks
details) in regard to IPv6 usage (with or without IPv4):
1. Label Switched Path (LSP) Mapping: No rule for mapping a
particular packet to a particular LSP that has an Address Prefix
Forwarding Equivalence Class (FEC) element containing the IPv6
address of the egress router
2. LDP Identifier: No details specific to IPv6 usage
3. LDP Discovery: No details for using a particular IPv6 destination
(multicast) address or the source address
4. LDP Session Establishment: No rule for handling both IPv4 and IPv6
Transport Address optional objects in a Hello message, and
subsequently two IPv4 and IPv6 transport connections
5. LDP Address Distribution: No rule for advertising IPv4 and/or IPv6
address bindings over an LDP session
6. LDP Label Distribution: No rule for advertising IPv4 and/or IPv6
FEC-label bindings over an LDP session, or for handling the
coexistence of IPv4 and IPv6 FEC Elements in the same FEC TLV
7. Next-Hop Address Resolution: No rule for accommodating the usage
of duplicate link-local IPv6 addresses
8. LDP Time to Live (TTL) Security: No rule for a built-in
Generalized TTL Security Mechanism (GTSM) in LDP with IPv6 (this
is a deficiency in [<a href="./rfc6720" title=""The Generalized TTL Security Mechanism (GTSM) for the Label Distribution Protocol (LDP)"">RFC6720</a>])
This document addresses the above deficiencies by specifying the
desired behavior/rules/details for using LDP in IPv6-enabled networks
(IPv6-only or Dual-stack networks). This document closes the IPv6
MPLS gap discussed in Sections <a href="#section-3.2.1">3.2.1</a>, <a href="#section-3.2.2">3.2.2</a>, and <a href="#section-3.3.1.1">3.3.1.1</a> of
[<a href="./rfc7439" title=""Gap Analysis for Operating IPv6-Only MPLS Networks"">RFC7439</a>].
Note that this document updates [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>] and [<a href="./rfc6720" title=""The Generalized TTL Security Mechanism (GTSM) for the Label Distribution Protocol (LDP)"">RFC6720</a>].
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Topology Scenarios for Dual-Stack Environment</span>
Two Label Switching Routers (LSRs) may involve Basic and/or Extended
LDP Discovery in IPv6 and/or IPv4 address families in various
topology scenarios.
This document addresses the following three topology scenarios in
which the LSRs may be connected via one or more Dual-stack
LDP-enabled interfaces (Figure 1), or one or more Single-stack
LDP-enabled interfaces (Figures 2 and 3):
R1------------------R2
IPv4+IPv6
Figure 1: LSRs Connected via a Dual-Stack Interface
IPv4
R1=================R2
IPv6
Figure 2: LSRs Connected via Two Single-Stack Interfaces
R1------------------R2---------------R3
IPv4 IPv6
Figure 3: LSRs Connected via a Single-Stack Interface
Note that the topology scenario illustrated in Figure 1 also covers
the case of a Single-stack LDP-enabled interface (say, IPv4) being
converted to a Dual-stack LDP-enabled interface (by enabling IPv6
routing as well as IPv6 LDP), even though the LDP-over-IPv4
(LDPoIPv4) session may already be established between the LSRs.
Note that the topology scenario illustrated in Figure 2 also
covers the case of two routers getting connected via an additional
Single-stack LDP-enabled interface (IPv6 routing and IPv6 LDP), even
though the LDPoIPv4 session may already be established between the
LSRs over the existing interface(s).
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
This document also addresses the scenario in which the LSRs do the
Extended Discovery in IPv6 and/or IPv4 address families:
IPv4
R1-------------------R2
IPv6
Figure 4: LSRs Involving IPv4 and IPv6 Address Families
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Single-Hop vs. Multi-Hop LDP Peering</span>
The LDP TTL Security mechanism specified by this document applies
only to single-hop LDP peering sessions, not to multi-hop LDP peering
sessions, in line with <a href="./rfc5082#section-5.5">Section 5.5 of [RFC5082]</a>. [<a href="./rfc5082" title=""The Generalized TTL Security Mechanism (GTSM)"">RFC5082</a>] describes
the Generalized TTL Security Mechanism (GTSM).
As a consequence, any LDP feature that relies on a multi-hop LDP
peering session would not work with GTSM and will warrant (statically
or dynamically) disabling GTSM. Please see <a href="#section-9">Section 9</a>.
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Specification 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" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
Abbreviations:
LDP Label Distribution Protocol
LDPoIPv4 LDP-over-IPv4 transport connection
LDPoIPv6 LDP-over-IPv6 transport connection
FEC Forwarding Equivalence Class
TLV Type Length Value
LSR Label Switching Router
LSP Label Switched Path
LSPv4 IPv4-signaled Label Switched Path
LSPv6 IPv6-signaled Label Switched Path
AFI Address Family Identifier
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
LDP Id LDP Identifier
Single-stack LDP LDP supporting just one address family
(for discovery, session setup, address/label
binding exchange, etc.)
Dual-stack LDP LDP supporting two address families
(for discovery, session setup, address/label
binding exchange, etc.)
Dual-stack LSR LSR supporting Dual-stack LDP for a peer
Single-stack LSR LSR supporting Single-stack LDP for a peer
Note that an LSR can be a Dual-stack and Single-stack LSR at the same
time for different peers. This document loosely uses the term
"address family" to mean "IP address family".
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. LSP Mapping</span>
<a href="./rfc5036#section-2.1">Section 2.1 of [RFC5036]</a> specifies the procedure for mapping a
particular packet to a particular LSP using three rules. Quoting the
third rule from [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>]:
If it is known that a packet must traverse a particular egress
router, and there is an LSP that has an Address Prefix FEC element
that is a /32 address of that router, then the packet is mapped to
that LSP.
This rule is correct for IPv4 (to set up LSPv4), but not for IPv6
(to set up LSPv6), since an IPv6 router may even have a /64 or /96
or /128 (or whatever prefix length) address. Hence, that rule is
updated here to use IPv4 or IPv6 addresses instead of /32 or /128
addresses, as shown below:
If it is known that a packet must traverse a particular egress
router, and there is an LSP that has an Address Prefix FEC element
that is an IPv4 or IPv6 address of that router, then the packet is
mapped to that LSP.
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. LDP Identifiers</span>
In line with <a href="./rfc5036#section-2.2.2">Section 2.2.2 of [RFC5036]</a>, this document specifies the
usage of a 32-bit (unsigned non-zero integer) LSR Id on an
IPv6-enabled LSR (with or without Dual-stacking).
This document also qualifies the first sentence of the last paragraph
of <a href="./rfc5036#section-2.5.2">Section 2.5.2 of [RFC5036]</a> to be per address family.
From <a href="./rfc5036#section-2.5.2">Section 2.5.2 of [RFC5036]</a>:
An LSR MUST advertise the same transport address in all Hellos
that advertise the same label space.
Updated by this document, as follows:
For a given address family, an LSR MUST advertise the same
transport address in all Hellos that advertise the same label
space.
This rightly enables the per-platform label space to be shared
between IPv4 and IPv6.
In summary, this document mandates the usage of a common LDP
Identifier (the same LSR Id and label space id) for both IPv4 and
IPv6 address families.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Neighbor Discovery</span>
If Dual-stack LDP is enabled (i.e., LDP enabled in both IPv6 and IPv4
address families) on an interface or for a targeted neighbor, then
the LSR MUST transmit both IPv6 and IPv4 LDP (Link or targeted)
Hellos and include the same LDP Identifier (assuming per-platform
label space usage) in them.
If Single-stack LDP is enabled (i.e., LDP enabled in either an IPv6
or IPv4 address family), then the LSR MUST transmit either IPv6 or
IPv4 LDP (Link or targeted) Hellos, respectively.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Basic Discovery Mechanism</span>
<a href="./rfc5036#section-2.4.1">Section 2.4.1 of [RFC5036]</a> defines the Basic Discovery mechanism for
directly connected LSRs. Following this mechanism, LSRs periodically
send LDP Link Hellos destined to the "all routers on this subnet"
group multicast IP address.
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
Interestingly enough, per the IPv6 addressing architecture [<a href="./rfc4291" title=""IP Version 6 Addressing Architecture"">RFC4291</a>],
IPv6 has three "all routers on this subnet" multicast addresses:
ff01:0:0:0:0:0:0:2 = Interface-local scope
ff02:0:0:0:0:0:0:2 = Link-local scope
ff05:0:0:0:0:0:0:2 = Site-local scope
[<a id="ref-RFC5036">RFC5036</a>] does not specify which particular IPv6 "all routers on this
subnet" group multicast IP address should be used by LDP Link Hellos.
This document specifies the usage of link-local scope (i.e.,
ff02:0:0:0:0:0:0:2) as the destination multicast IP address in IPv6
LDP Link Hellos. An LDP Link Hello packet received on any of the
other destination addresses MUST be dropped. Additionally, the
link-local IPv6 address MUST be used as the source IP address in IPv6
LDP Link Hellos.
Also, the LDP Link Hello packets MUST have their IPv6 Hop Limit set
to 255, be checked for the same upon receipt (before any LDP-specific
processing), and be handled as specified in <a href="./rfc5082#section-3">Section 3 of [RFC5082]</a>.
The built-in inclusion of GTSM automatically protects IPv6 LDP from
off-link attacks.
More importantly, if an interface is a Dual-stack LDP interface
(i.e., LDP enabled in both IPv6 and IPv4 address families), then the
LSR MUST periodically transmit both IPv6 and IPv4 LDP Link Hellos
(using the same LDP Identifier per <a href="#section-4">Section 4</a>) on that interface and
be able to receive them. This facilitates discovery of IPv6-only,
IPv4-only, and Dual-stack peers on the interface's subnet and ensures
successful subsequent peering using the appropriate (address family)
transport on a multi-access or broadcast interface.
<span class="h4"><a class="selflink" id="section-5.1.1" href="#section-5.1.1">5.1.1</a>. Maintaining Hello Adjacencies</span>
In the case of a Dual-stack LDP-enabled interface, the LSR SHOULD
maintain Link Hello adjacencies for both IPv4 and IPv6 address
families. This document, however, allows an LSR to maintain
Receive-side Link Hello adjacencies only for the address family that
has been used for the establishment of the LDP session (whether an
LDPoIPv4 or LDPoIPv6 session).
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Extended Discovery Mechanism</span>
The Extended Discovery mechanism (defined in <a href="./rfc5036#section-2.4.2">Section 2.4.2 of
[RFC5036]</a>), in which the targeted LDP Hellos are sent to a unicast
IPv6 address destination, requires only one IPv6-specific
consideration: the link-local IPv6 addresses MUST NOT be used as the
targeted LDP Hello packet's source or destination addresses.
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. LDP Session Establishment and Maintenance</span>
<a href="./rfc5036#section-2.5.1">Section 2.5.1 of [RFC5036]</a> defines a two-step process for LDP session
establishment, once the neighbor discovery has completed (i.e., LDP
Hellos have been exchanged):
1. Transport connection establishment
2. Session initialization
<a href="#section-6.1">Section 6.1</a> discusses the LDP considerations for IPv6 and/or
Dual-stacking in the context of session establishment, whereas
<a href="#section-6.2">Section 6.2</a> discusses the LDP considerations for IPv6 and/or
Dual-stacking in the context of session maintenance.
<span class="h3"><a class="selflink" id="section-6.1" href="#section-6.1">6.1</a>. Transport Connection Establishment</span>
<a href="./rfc5036#section-2.5.2">Section 2.5.2 of [RFC5036]</a> specifies the use of a Transport Address
optional object (TLV) in LDP Hello messages to convey the transport
(IP) address; however, it does not specify the behavior of LDP if
both IPv4 and IPv6 Transport Address objects (TLVs) are sent in a
Hello message or separate Hello messages. More importantly, it does
not specify whether both IPv4 and IPv6 transport connections should
be allowed if both IPv4 and IPv6 Hello adjacencies were present prior
to session establishment.
This document specifies the following:
1. An LSR MUST NOT send a Hello message containing both IPv4 and IPv6
Transport Address optional objects. In other words, there MUST be
at most one Transport Address optional object in a Hello message.
An LSR MUST include only the transport address whose address
family is the same as that of the IP packet carrying the Hello
message.
2. An LSR SHOULD accept the Hello message that contains both IPv4 and
IPv6 Transport Address optional objects but MUST use only the
transport address whose address family is the same as that of the
IP packet carrying the Hello message. An LSR SHOULD accept only
the first Transport Address optional object for a given address
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
family in the received Hello message and ignore the rest if the
LSR receives more than one Transport Address optional object for a
given address family.
3. An LSR MUST send separate Hello messages (each containing either
an IPv4 or IPv6 Transport Address optional object) for each IP
address family if Dual-stack LDP is enabled (for an interface or
neighbor).
4. An LSR MUST use a global unicast IPv6 address in an IPv6 Transport
Address optional object of outgoing targeted Hellos and check for
the same in incoming targeted Hellos (i.e., MUST discard the
targeted Hello if it failed the check).
5. An LSR MUST prefer using a global unicast IPv6 address in an
IPv6 Transport Address optional object of outgoing Link Hellos if
it had to choose between a global unicast IPv6 address and a
unique-local or link-local IPv6 address.
6. A Single-stack LSR MUST establish either an LDPoIPv4 or LDPoIPv6
session with a remote LSR as per the enabled address family.
7. A Dual-stack LSR MUST NOT initiate or accept the request for a TCP
connection for a new LDP session with a remote LSR if it already
has an LDPoIPv4 or LDPoIPv6 session for the same LDP Identifier
established with that remote LSR.
This means that only one transport connection is established,
regardless of IPv6 and/or IPv4 Hello adjacencies present between
two LSRs.
8. A Dual-stack LSR SHOULD prefer establishing an LDPoIPv6 session
(instead of an LDPoIPv4 session) with a remote Dual-stack LSR by
following the 'transport connection role' determination logic in
<a href="#section-6.1.1">Section 6.1.1</a>.
Additionally, to ensure the above preference in the case where
Dual-stack LDP is enabled on an interface, it would be desirable
that IPv6 LDP Link Hellos are transmitted before IPv4 LDP Link
Hellos, particularly when an interface is coming into service or
being reconfigured.
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h4"><a class="selflink" id="section-6.1.1" href="#section-6.1.1">6.1.1</a>. Dual-Stack: Transport Connection Preference and Role of an LSR</span>
<a href="./rfc5036#section-2.5.2">Section 2.5.2 of [RFC5036]</a> specifies the rules for determining
active/passive roles in setting up a TCP connection. These rules are
clear for Single-stack LDP but not for Dual-stack LDP, in which an
LSR may assume different roles for different address families,
causing the LDP session to not get established.
To ensure a deterministic transport connection (active/passive) role
in the case of Dual-stack LDP, this document specifies that the
Dual-stack LSR conveys its transport connection preference in every
LDP Hello message. This preference is encoded in a new TLV, named
the "Dual-Stack capability" TLV, as defined 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|1|0| Dual-Stack capability | Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|TR | Reserved | MBZ |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Figure 5: Dual-Stack Capability TLV
Where:
U and F bits: 1 and 0 (as specified by [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>])
Dual-Stack capability: TLV code point (Ox0701)
TR: Transport Connection Preference
This document defines the following two values:
0100: LDPoIPv4 connection
0110: LDPoIPv6 connection (default)
Reserved
This field is reserved. It MUST be set to zero on
transmission and ignored on receipt.
A Dual-stack LSR (i.e., an LSR supporting Dual-stack LDP for a peer)
MUST include the Dual-Stack capability TLV in all of its LDP Hellos
and MUST set the "TR" field to announce its preference for either an
LDPoIPv4 or LDPoIPv6 transport connection for that peer. The default
preference is LDPoIPv6.
<span class="grey">Asati, 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="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
A Dual-stack LSR MUST always check for the presence of the Dual-Stack
capability TLV in the received Hello messages and take appropriate
action, as follows:
1. If the Dual-Stack capability TLV is present and the remote
preference does not match the local preference (or does not get
recognized), then the LSR MUST discard the Hello message and log
an error.
If an LDP session was already in place, then the LSR MUST send a
fatal Notification message with status code of 'Transport
Connection Mismatch' (0x00000032) and reset the session.
2. If the Dual-Stack capability TLV is present and the remote
preference matches the local preference, then:
a) If TR=0100 (LDPoIPv4), then determine the active/passive roles
for the TCP connection using an IPv4 transport address as
defined in <a href="./rfc5036#section-2.5.2">Section 2.5.2 of RFC 5036</a>.
b) If TR=0110 (LDPoIPv6), then determine the active/passive roles
for the TCP connection by using an IPv6 transport address as
defined in <a href="./rfc5036#section-2.5.2">Section 2.5.2 of RFC 5036</a>.
3. If the Dual-Stack capability TLV is NOT present and
a) only IPv4 Hellos are received, then the neighbor is deemed as a
legacy IPv4-only LSR (supporting Single-stack LDP); hence, an
LDPoIPv4 session SHOULD be established (similar to that of 2a
above).
However, if IPv6 Hellos are also received at any time during
the life of the session from that neighbor, then the neighbor
is deemed as a noncompliant Dual-stack LSR (similar to that of
3c below), resulting in any established LDPoIPv4 session being
reset and a fatal Notification message being sent (with status
code of 'Dual-Stack Noncompliance', 0x00000033).
b) only IPv6 Hellos are received, then the neighbor is deemed as
an IPv6-only LSR (supporting Single-stack LDP) and an LDPoIPv6
session SHOULD be established (similar to that of 2b above).
However, if IPv4 Hellos are also received at any time during
the life of the session from that neighbor, then the neighbor
is deemed as a noncompliant Dual-stack LSR (similar to that of
3c below), resulting in any established LDPoIPv6 session being
reset and a fatal Notification message being sent (with status
code of 'Dual-Stack Noncompliance', 0x00000033).
<span class="grey">Asati, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
c) both IPv4 and IPv6 Hellos are received, then the neighbor is
deemed as a noncompliant Dual-stack neighbor and is not allowed
to have any LDP session. A Notification message should be sent
(with status code of 'Dual-Stack Noncompliance', 0x00000033).
A Dual-stack LSR MUST convey the same transport connection preference
("TR" field value) in all (link and targeted) Hellos that advertise
the same label space to the same peer and/or on the same interface.
This ensures that two LSRs linked by multiple Hello adjacencies using
the same label spaces play the same connection establishment role for
each adjacency.
A Dual-stack LSR MUST follow <a href="./rfc5036#section-2.5.5">Section 2.5.5 of [RFC5036]</a> and check for
matching Hello messages from the peer (either all Hellos also include
the Dual-Stack capability (with the same TR value) or none do).
A Single-stack LSR does not need to use the Dual-Stack capability in
Hello messages and SHOULD ignore this capability if received.
An implementation may provide an option to favor one AFI (say, IPv4)
over another AFI (say, IPv6) for the TCP transport connection, so as
to use the favored IP version for the LDP session and force
deterministic active/passive roles.
Note: An alternative to this new capability TLV could be a new Flag
value in an LDP Hello message; however, it would be used even in
Single-stack IPv6 LDP networks and linger on forever, even though
Dual-stack will not. Hence, the idea of this alternative has been
discarded.
<span class="h3"><a class="selflink" id="section-6.2" href="#section-6.2">6.2</a>. LDP Session Maintenance</span>
This document specifies that two LSRs maintain a single LDP session,
regardless of the number of Link or targeted Hello adjacencies
between them, as described in <a href="#section-6.1">Section 6.1</a>. This is independent of
whether:
- they are connected via a Dual-stack LDP-enabled interface(s) or via
two (or more) Single-stack LDP-enabled interfaces;
- a Single-stack LDP-enabled interface is converted to a Dual-stack
LDP-enabled interface (see Figure 1) on either LSR;
- an additional Single-stack or Dual-stack LDP-enabled interface is
added or removed between two LSRs (see Figure 2).
<span class="grey">Asati, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
If the last Hello adjacency for a given address family goes down
(e.g., due to Dual-stack LDP-enabled interfaces being converted into
Single-stack LDP-enabled interfaces on one LSR) and that address
family is the same as the one used in the transport connection, then
the transport connection (LDP session) MUST be reset. Otherwise, the
LDP session MUST stay intact.
If the LDP session is torn down for whatever reason (LDP disabled for
the corresponding transport, Hello adjacency expiry, preference
mismatch, etc.), then the LSRs SHOULD initiate the establishment of a
new LDP session as per the procedures described in <a href="#section-6.1">Section 6.1</a> of
this document.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Binding Distribution</span>
LSRs by definition can be enabled for Dual-stack LDP globally and/or
per peer so as to exchange the address and label bindings for both
IPv4 and IPv6 address families, independent of any LDPoIPv4 or
LDPoIPv6 session between them.
However, there might be some legacy LSRs that are fully compliant
with <a href="./rfc5036">RFC 5036</a> for IPv4 but are noncompliant for IPv6 (for example,
see <a href="./rfc5036#section-3.5.5.1">Section 3.5.5.1 of RFC 5036</a>), causing them to reset the session
upon receiving IPv6 address bindings or IPv6 FEC (Prefix) label
bindings from a peer compliant with this document. This is somewhat
undesirable, as clarified further in Appendices A.1 and A.2.
To help maintain backward compatibility (i.e., accommodate IPv4-only
LDP implementations that may not be compliant with <a href="./rfc5036#section-3.5.5.1">RFC 5036,
Section 3.5.5.1</a>), this specification requires that an LSR MUST NOT
send any IPv6 bindings to a peer if the peer has been determined to
be a legacy LSR.
The Dual-Stack capability TLV, which is defined in <a href="#section-6.1.1">Section 6.1.1</a>, is
also used to determine whether or not a peer is a legacy (IPv4-only
Single-stack) LSR.
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. Address Distribution</span>
An LSR MUST NOT advertise (via an Address message) any IPv4-mapped
IPv6 addresses (as defined in <a href="./rfc4291#section-2.5.5.2">Section 2.5.5.2 of [RFC4291]</a>) and MUST
ignore such addresses if ever received. Please see <a href="#appendix-A.3">Appendix A.3</a>.
If an LSR is enabled with Single-stack LDP for any peer, then it MUST
advertise (via an Address message) its local IP addresses as per the
enabled address family to that peer and process received Address
messages containing IP addresses as per the enabled address family
from that peer.
<span class="grey">Asati, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
If an LSR is enabled with Dual-stack LDP for a peer and
1. does not find the Dual-Stack capability TLV in the incoming IPv4
LDP Hello messages from that peer, then the LSR MUST NOT advertise
its local IPv6 addresses to the peer.
2. finds the Dual-Stack capability TLV in the incoming IPv4 (or IPv6)
LDP Hello messages from that peer, then it MUST advertise (via an
Address message) its local IPv4 and IPv6 addresses to that peer.
3. does not find the Dual-Stack capability TLV in the incoming IPv6
LDP Hello messages, then it MUST advertise (via an Address
message) only its local IPv6 addresses to that peer.
This last point helps to maintain forward compatibility (no need
to require this TLV in the case of IPv6 Single-stack LDP).
<span class="h3"><a class="selflink" id="section-7.2" href="#section-7.2">7.2</a>. Label Distribution</span>
An LSR MUST NOT allocate and MUST NOT advertise FEC-label bindings
for link-local or IPv4-mapped IPv6 addresses (defined in
<a href="./rfc4291#section-2.5.5.2">Section 2.5.5.2 of [RFC4291]</a>), and it MUST ignore such bindings if
ever received. Please see <a href="#appendix-A.3">Appendix A.3</a>.
If an LSR is enabled with Single-stack LDP for any peer, then it MUST
advertise (via a Label Mapping message) FEC-label bindings for the
enabled address family to that peer and process received FEC-label
bindings for the enabled address family from that peer.
If an LSR is enabled with Dual-stack LDP for a peer and
1. does not find the Dual-Stack capability TLV in the incoming IPv4
LDP Hello messages from that peer, then the LSR MUST NOT advertise
IPv6 FEC-label bindings to the peer (even if IP capability
negotiation for the IPv6 address family was done).
2. finds the Dual-Stack capability TLV in the incoming IPv4 (or IPv6)
LDP Hello messages from that peer, then it MUST advertise
FEC-label bindings for both IPv4 and IPv6 address families to that
peer.
3. does not find the Dual-Stack capability TLV in the incoming IPv6
LDP Hello messages, then it MUST advertise FEC-label bindings for
IPv6 address families to that peer.
This last point helps to maintain forward compatibility (no need
to require this TLV for IPv6 Single-stack LDP).
<span class="grey">Asati, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
An LSR MAY further constrain the advertisement of FEC-label bindings
for a particular address family by negotiating the IP capability for
a given address family, as specified in [<a href="./rfc7473" title=""Controlling State Advertisements of Non-negotiated LDP Applications"">RFC7473</a>]. This allows an
LSR pair to neither advertise nor receive the undesired FEC-label
bindings on a per-address-family basis to a peer.
If an LSR is configured to change an interface or peer from
Single-stack LDP to Dual-stack LDP, then an LSR SHOULD use Typed
Wildcard FEC procedures [<a href="./rfc5918" title=""Label Distribution Protocol (LDP) 'Typed Wildcard' Forward Equivalence Class (FEC)"">RFC5918</a>] to request the label bindings for
the enabled address family. This helps to relearn the label bindings
that may have been discarded before, without resetting the session.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. LDP Identifiers and Duplicate Next-Hop Addresses</span>
<a href="./rfc5036#section-2.7">RFC 5036, Section 2.7</a> specifies the logic for mapping the IP routing
next hop (of a given FEC) to an LDP peer so as to find the correct
label entry for that FEC. The logic involves using the IP routing
next-hop address as an index into the (peer address) database (which
is populated by the Address message containing a mapping between each
peer's local addresses and its LDP Identifier) to determine the LDP
peer.
However, this logic is insufficient to deal with duplicate IPv6
(link-local) next-hop addresses used by two or more peers. The
reason is that all interior IPv6 routing protocols (can) use
link-local IPv6 addresses as the IP routing next hops, and
"IP Version 6 Addressing Architecture" [<a href="./rfc4291" title=""IP Version 6 Addressing Architecture"">RFC4291</a>] allows a link-local
IPv6 address to be used on more than one link.
Hence, this logic is extended by this specification to use not only
the IP routing next-hop address but also the IP routing next-hop
interface to uniquely determine the LDP peer(s). The next-hop
address-based LDP peer mapping is to be done through the LDP peer
address database (populated by Address messages received from the LDP
peers), whereas next-hop interface-based LDP peer mapping is to be
done through the LDP Hello adjacency/interface database (populated by
Hello messages received from the LDP peers).
This extension solves the problem of two or more peers using the same
link-local IPv6 address (in other words, duplicate peer addresses) as
the IP routing next hops.
Lastly, for better scale and optimization, an LSR may advertise only
the link-local IPv6 addresses in the Address message, assuming that
the peer uses only the link-local IPv6 addresses as static and/or
dynamic IP routing next hops.
<span class="grey">Asati, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. LDP TTL Security</span>
This document mandates the use of the Generalized TTL Security
Mechanism (GTSM) [<a href="./rfc6720" title=""The Generalized TTL Security Mechanism (GTSM) for the Label Distribution Protocol (LDP)"">RFC6720</a>] for LDP Link Hello packets over IPv6 (see
<a href="#section-5.1">Section 5.1</a>).
This document further recommends enabling GTSM for the LDP/TCP
transport connection over IPv6 (i.e., LDPoIPv6). This GTSM inclusion
is intended to automatically protect IPv6 LDP peering sessions from
off-link attacks.
[<a id="ref-RFC6720">RFC6720</a>] allows for the implementation to statically (via
configuration) and/or dynamically override the default behavior
(enable/disable GTSM) on a per-peer basis. Such an option could be
set on either LSR in a peering session (since GTSM negotiation would
ultimately disable GTSM between the LSR and its peer(s)).
LDP Link Hello packets MUST have their IPv6 Hop Limit set to 255 and
be checked for the same upon receipt before any further processing,
as per <a href="./rfc5082#section-3">Section 3 of [RFC5082]</a>.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. IANA Considerations</span>
This document defines a new optional parameter for the LDP Hello
message and two new status codes for the LDP Notification message.
The "Dual-Stack capability" parameter has been assigned a code point
(0x0701) from the "TLV Type Name Space" registry. IANA has allocated
this code point from the IETF Consensus range 0x0700-0x07ff for the
Dual-Stack capability TLV.
The 'Transport Connection Mismatch' status code has been assigned a
code point (0x00000032) from the "Status Code Name Space" registry.
IANA has allocated this code point from the IETF Consensus range and
marked the E bit column with a '1'.
The 'Dual-Stack Noncompliance' status code has been assigned a code
point (0x00000033) from the "Status Code Name Space" registry. IANA
has allocated this code point from the IETF Consensus range and
marked the E bit column with a '1'.
<span class="grey">Asati, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h2"><a class="selflink" id="section-11" href="#section-11">11</a>. Security Considerations</span>
The extensions defined in this document only clarify the behavior of
LDP; they do not define any new protocol procedures. Hence, this
document does not add any new security issues to LDP.
While the security issues relevant for [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>] are relevant for
this document as well, this document reduces the chances of off-link
attacks when using an IPv6 transport connection by including the use
of GTSM procedures [<a href="./rfc5082" title=""The Generalized TTL Security Mechanism (GTSM)"">RFC5082</a>]. Please see <a href="#section-9">Section 9</a> for LDP TTL
Security details.
Moreover, this document allows the use of IPsec [<a href="./rfc4301" title=""Security Architecture for the Internet Protocol"">RFC4301</a>] for IPv6
protection; hence, LDP can benefit from the additional security as
specified in [<a href="./rfc7321" title=""Cryptographic Algorithm Implementation Requirements and Usage Guidance for Encapsulating Security Payload (ESP) and Authentication Header (AH)"">RFC7321</a>] as well as [<a href="./rfc5920" title=""Security Framework for MPLS and GMPLS Networks"">RFC5920</a>].
<span class="h2"><a class="selflink" id="section-12" href="#section-12">12</a>. References</span>
<span class="h3"><a class="selflink" id="section-12.1" href="#section-12.1">12.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>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC4291">RFC4291</a>] Hinden, R. and S. Deering, "IP Version 6 Addressing
Architecture", <a href="./rfc4291">RFC 4291</a>, DOI 10.17487/RFC4291,
February 2006, <<a href="http://www.rfc-editor.org/info/rfc4291">http://www.rfc-editor.org/info/rfc4291</a>>.
[<a id="ref-RFC5036">RFC5036</a>] Andersson, L., Ed., Minei, I., Ed., and B. Thomas, Ed.,
"LDP Specification", <a href="./rfc5036">RFC 5036</a>, DOI 10.17487/RFC5036,
October 2007, <<a href="http://www.rfc-editor.org/info/rfc5036">http://www.rfc-editor.org/info/rfc5036</a>>.
[<a id="ref-RFC5082">RFC5082</a>] Gill, V., Heasley, J., Meyer, D., Savola, P., Ed., and C.
Pignataro, "The Generalized TTL Security Mechanism
(GTSM)", <a href="./rfc5082">RFC 5082</a>, DOI 10.17487/RFC5082, October 2007,
<<a href="http://www.rfc-editor.org/info/rfc5082">http://www.rfc-editor.org/info/rfc5082</a>>.
[<a id="ref-RFC5918">RFC5918</a>] Asati, R., Minei, I., and B. Thomas, "Label Distribution
Protocol (LDP) 'Typed Wildcard' Forward Equivalence Class
(FEC)", <a href="./rfc5918">RFC 5918</a>, DOI 10.17487/RFC5918, August 2010,
<<a href="http://www.rfc-editor.org/info/rfc5918">http://www.rfc-editor.org/info/rfc5918</a>>.
<span class="grey">Asati, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h3"><a class="selflink" id="section-12.2" href="#section-12.2">12.2</a>. Informative References</span>
[<a id="ref-RFC4038">RFC4038</a>] Shin, M-K., Ed., Hong, Y-G., Hagino, J., Savola, P., and
E. Castro, "Application Aspects of IPv6 Transition",
<a href="./rfc4038">RFC 4038</a>, DOI 10.17487/RFC4038, March 2005,
<<a href="http://www.rfc-editor.org/info/rfc4038">http://www.rfc-editor.org/info/rfc4038</a>>.
[<a id="ref-RFC4301">RFC4301</a>] Kent, S. and K. Seo, "Security Architecture for the
Internet Protocol", <a href="./rfc4301">RFC 4301</a>, DOI 10.17487/RFC4301,
December 2005, <<a href="http://www.rfc-editor.org/info/rfc4301">http://www.rfc-editor.org/info/rfc4301</a>>.
[<a id="ref-RFC5340">RFC5340</a>] Coltun, R., Ferguson, D., Moy, J., and A. Lindem, "OSPF
for IPv6", <a href="./rfc5340">RFC 5340</a>, DOI 10.17487/RFC5340, July 2008,
<<a href="http://www.rfc-editor.org/info/rfc5340">http://www.rfc-editor.org/info/rfc5340</a>>.
[<a id="ref-RFC5920">RFC5920</a>] Fang, L., Ed., "Security Framework for MPLS and GMPLS
Networks", <a href="./rfc5920">RFC 5920</a>, DOI 10.17487/RFC5920, July 2010,
<<a href="http://www.rfc-editor.org/info/rfc5920">http://www.rfc-editor.org/info/rfc5920</a>>.
[<a id="ref-RFC6286">RFC6286</a>] Chen, E. and J. Yuan, "Autonomous-System-Wide Unique BGP
Identifier for BGP-4", <a href="./rfc6286">RFC 6286</a>, DOI 10.17487/RFC6286,
June 2011, <<a href="http://www.rfc-editor.org/info/rfc6286">http://www.rfc-editor.org/info/rfc6286</a>>.
[<a id="ref-RFC6720">RFC6720</a>] Pignataro, C. and R. Asati, "The Generalized TTL Security
Mechanism (GTSM) for the Label Distribution Protocol
(LDP)", <a href="./rfc6720">RFC 6720</a>, DOI 10.17487/RFC6720, August 2012,
<<a href="http://www.rfc-editor.org/info/rfc6720">http://www.rfc-editor.org/info/rfc6720</a>>.
[<a id="ref-RFC7321">RFC7321</a>] McGrew, D. and P. Hoffman, "Cryptographic Algorithm
Implementation Requirements and Usage Guidance for
Encapsulating Security Payload (ESP) and Authentication
Header (AH)", <a href="./rfc7321">RFC 7321</a>, DOI 10.17487/RFC7321, August 2014,
<<a href="http://www.rfc-editor.org/info/rfc7321">http://www.rfc-editor.org/info/rfc7321</a>>.
[<a id="ref-RFC7439">RFC7439</a>] George, W., Ed., and C. Pignataro, Ed., "Gap Analysis for
Operating IPv6-Only MPLS Networks", <a href="./rfc7439">RFC 7439</a>,
DOI 10.17487/RFC7439, January 2015,
<<a href="http://www.rfc-editor.org/info/rfc7439">http://www.rfc-editor.org/info/rfc7439</a>>.
[<a id="ref-RFC7473">RFC7473</a>] Raza, K. and S. Boutros, "Controlling State Advertisements
of Non-negotiated LDP Applications", <a href="./rfc7473">RFC 7473</a>,
DOI 10.17487/RFC7473, March 2015,
<<a href="http://www.rfc-editor.org/info/rfc7473">http://www.rfc-editor.org/info/rfc7473</a>>.
<span class="grey">Asati, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h2"><a class="selflink" id="appendix-A" href="#appendix-A">Appendix A</a>. Additional Considerations</span>
<span class="h3"><a class="selflink" id="appendix-A.1" href="#appendix-A.1">A.1</a>. LDPv6 and LDPv4 Interoperability Safety Net</span>
It is not safe to assume that implementations compliant with <a href="./rfc5036">RFC 5036</a>
have supported the handling of an IPv6 address family (IPv6
FEC-label) in a Label Mapping message all along.
If a router upgraded per this specification advertised both IPv4 and
IPv6 FECs in the same Label Mapping message, then an IPv4-only peer
(not knowing how to process such a message) may abort processing the
entire Label Mapping message (thereby discarding even the IPv4
FEC-labels), as per <a href="./rfc5036#section-3.4.1.1">Section 3.4.1.1 of [RFC5036]</a>.
This would result in LDPv6 being somewhat undeployable in existing
production networks.
<a href="#section-7">Section 7</a> of this document provides a good safety net and makes LDPv6
incrementally deployable without making any such assumption on the
routers' support for IPv6 FEC processing in current production
networks.
<span class="h3"><a class="selflink" id="appendix-A.2" href="#appendix-A.2">A.2</a>. Accommodating Implementations Not Compliant with <a href="./rfc5036">RFC 5036</a></span>
It is not safe to assume that implementations have been [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>]
compliant in gracefully handling an IPv6 address family (IPv6 Address
List TLV) in an Address message all along.
If a router upgraded per this specification advertised IPv6 addresses
(with or without IPv4 addresses) in an Address message, then an
IPv4-only peer (not knowing how to process such a message) may not
follow <a href="./rfc5036#section-3.5.5.1">Section 3.5.5.1 of [RFC5036]</a> and may tear down the LDP
session.
This would result in LDPv6 being somewhat undeployable in existing
production networks.
Sections <a href="#section-6">6</a> and <a href="#section-7">7</a> of this document provide a good safety net and make
LDPv6 incrementally deployable without making any such assumption on
the routers' support for IPv6 FEC processing in current production
networks.
<span class="grey">Asati, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
<span class="h3"><a class="selflink" id="appendix-A.3" href="#appendix-A.3">A.3</a>. Why prohibit IPv4-mapped IPv6 addresses in LDP?</span>
Per discussion with the 6MAN and V6OPS working groups, the
overwhelming consensus was to not promote IPv4-mapped IPv6 addresses
appearing in the routing table, as well as in LDP (address and label)
databases.
Also, <a href="./rfc4038#section-4.2">[RFC4038], Section 4.2</a> suggests that IPv4-mapped IPv6-addressed
packets should never appear on the wire.
<span class="h3"><a class="selflink" id="appendix-A.4" href="#appendix-A.4">A.4</a>. Why a 32-bit value even for the IPv6 LDP Router Id?</span>
The first four octets of the LDP Identifier, the 32-bit LSR Id (i.e.,
LDP router Id), identify the LSR and provide a globally unique value
within the MPLS network, regardless of the address family used for
the LDP session.
Please note that the 32-bit LSR Id value would not map to any IPv4
address in an IPv6-only LSR (i.e., Single-stack), nor would there be
an expectation of it being IP routable or DNS resolvable. In IPv4
deployments, the LSR Id is typically derived from an IPv4 address,
generally assigned to a loopback interface. In IPv6-only
deployments, this 32-bit LSR Id must be derived by some other means
that guarantees global uniqueness within the MPLS network, similar to
that of the BGP Identifier [<a href="./rfc6286" title=""Autonomous-System-Wide Unique BGP Identifier for BGP-4"">RFC6286</a>] and the OSPF router Id
[<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>].
This document reserves 0.0.0.0 as the LSR Id and prohibits its usage
with IPv6, in line with the OSPF router Id in OSPF version 3
[<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>].
<span class="grey">Asati, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
Acknowledgments
We acknowledge the authors of [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>], since some text in this
document is borrowed from [<a href="./rfc5036" title=""LDP Specification"">RFC5036</a>].
Thanks to Bob Thomas for providing critical feedback to improve this
document early on.
Many thanks to Eric Rosen, Lizhong Jin, Bin Mo, Mach Chen, Shane
Amante, Pranjal Dutta, Mustapha Aissaoui, Matthew Bocci, Mark Tinka,
Tom Petch, Kishore Tiruveedhula, Manoj Dutta, Vividh Siddha, Qin Wu,
Simon Perreault, Brian E. Carpenter, Santosh Esale, Danial Johari,
and Loa Andersson for thoroughly reviewing this document and for
providing insightful comments and multiple improvements.
Contributors
The following individuals contributed to this document:
Nagendra Kumar
Cisco Systems, Inc.
7200 Kit Creek Road
Research Triangle Park, NC 27709, United States
EMail: naikumar@cisco.com
Andre Pelletier
Cisco Systems, Inc.
2000 Innovation Drive
Kanata, ON K2K-3E8, Canada
EMail: apelleti@cisco.com
<span class="grey">Asati, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7552">RFC 7552</a> Updates to LDP for IPv6 June 2015</span>
Authors' Addresses
Rajiv Asati
Cisco Systems, Inc.
7025 Kit Creek Road
Research Triangle Park, NC 27709-4987
United States
EMail: rajiva@cisco.com
Carlos Pignataro
Cisco Systems, Inc.
7200 Kit Creek Road
Research Triangle Park, NC 27709-4987
United States
EMail: cpignata@cisco.com
Kamran Raza
Cisco Systems, Inc.
2000 Innovation Drive
Ottawa, ON K2K-3E8
Canada
EMail: skraza@cisco.com
Vishwas Manral
Ionos Networks
4100 Moorpark Ave., Ste. #122
San Jose, CA 95117
United States
Phone: +1 408 447 1497
EMail: vishwas@ionosnetworks.com
Rajiv Papneja
Huawei Technologies
2330 Central Expressway
Santa Clara, CA 95050
United States
Phone: +1 571 926 8593
EMail: rajiv.papneja@huawei.com
Asati, et al. Standards Track [Page 24]
</pre>
|