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
|
<pre>Internet Engineering Task Force (IETF) P. Pillay-Esnault
Request for Comments: 6565 Cisco Systems
Category: Standards Track P. Moyer
ISSN: 2070-1721 Pollere, Inc.
J. Doyle
Jeff Doyle and Associates
E. Ertekin
M. Lundberg
Booz Allen Hamilton
June 2012
<span class="h1">OSPFv3 as a Provider Edge to Customer Edge (PE-CE) Routing Protocol</span>
Abstract
Many Service Providers (SPs) offer Virtual Private Network (VPN)
services to their customers using a technique in which Customer Edge
(CE) routers are routing peers of Provider Edge (PE) routers. The
Border Gateway Protocol (BGP) is used to distribute the customer's
routes across the provider's IP backbone network, and Multiprotocol
Label Switching (MPLS) is used to tunnel customer packets across the
provider's backbone. Support currently exists for both IPv4 and IPv6
VPNs; however, only Open Shortest Path First version 2 (OSPFv2) as
PE-CE protocol is specified. This document extends those
specifications to support OSPF version 3 (OSPFv3) as a PE-CE routing
protocol. The OSPFv3 PE-CE functionality is identical to that of
OSPFv2 except for the differences described in this document.
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/rfc6565">http://www.rfc-editor.org/info/rfc6565</a>.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
Copyright Notice
Copyright (c) 2012 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">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. Specification of Requirements ...................................<a href="#page-4">4</a>
<a href="#section-3">3</a>. Requirements ....................................................<a href="#page-4">4</a>
<a href="#section-3.1">3.1</a>. OSPFv3 Specificities .......................................<a href="#page-5">5</a>
<a href="#section-4">4</a>. BGP/OSPFv3 Interaction Procedures for PE Routers ................<a href="#page-5">5</a>
<a href="#section-4.1">4.1</a>. VRFs and OSPFv3 Instances ..................................<a href="#page-5">5</a>
<a href="#section-4.1.1">4.1.1</a>. Independent OSPFv3 Instances in PEs .................<a href="#page-6">6</a>
<a href="#section-4.1.2">4.1.2</a>. OSPFv3 Domain Identifier ............................<a href="#page-6">6</a>
<a href="#section-4.2">4.2</a>. OSPFv3 Areas ...............................................<a href="#page-7">7</a>
<a href="#section-4.3">4.3</a>. VRFs and Routes ............................................<a href="#page-7">7</a>
<a href="#section-4.3.1">4.3.1</a>. OSPFv3 Routes on PEs ................................<a href="#page-8">8</a>
<a href="#section-4.3.2">4.3.2</a>. VPN-IPv6 Routes Received from MP-BGP ................<a href="#page-9">9</a>
<a href="#section-4.4">4.4</a>. BGP Extended Communities Attribute ........................<a href="#page-12">12</a>
<a href="#section-4.5">4.5</a>. Loop Prevention Techniques ................................<a href="#page-14">14</a>
<a href="#section-4.5.1">4.5.1</a>. OSPFv3 Down Bit ....................................<a href="#page-15">15</a>
<a href="#section-4.5.2">4.5.2</a>. Other Possible Loops ...............................<a href="#page-15">15</a>
<a href="#section-5">5</a>. OSPFv3 Sham Links ..............................................<a href="#page-15">15</a>
<a href="#section-5.1">5.1</a>. Creating a Sham Link ......................................<a href="#page-16">16</a>
<a href="#section-5.2">5.2</a>. OSPF Protocol on Sham Link ................................<a href="#page-16">16</a>
<a href="#section-5.3">5.3</a>. OSPF Packet Forwarding on Sham Link .......................<a href="#page-17">17</a>
<a href="#section-6">6</a>. Multiple Address Family Support ................................<a href="#page-17">17</a>
<a href="#section-7">7</a>. Security Considerations ........................................<a href="#page-18">18</a>
<a href="#section-8">8</a>. IANA Considerations ............................................<a href="#page-18">18</a>
<a href="#section-9">9</a>. Acknowledgments ................................................<a href="#page-18">18</a>
<a href="#section-10">10</a>. References ....................................................<a href="#page-18">18</a>
<a href="#section-10.1">10.1</a>. Normative References .....................................<a href="#page-18">18</a>
<a href="#section-10.2">10.2</a>. Informative References ...................................<a href="#page-19">19</a>
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
[<a id="ref-RFC4364">RFC4364</a>] offers Service Providers (SPs) a method for providing Layer
3 Virtual Private Network (VPN) services to subtending customer
networks. Using the procedures defined in [<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>], Provider Edge
(PE) routers separate customer VPN routing information into Virtual
Routing and Forwarding (VRF) tables. The Border Gateway Protocol
(BGP) is used to disseminate customer network VPN routes between PE
VRFs configured in the same VPN.
The initial BGP/MPLS IP VPN specification enabled PE routers to learn
routes within customer sites through static routing, or through a
dynamic routing protocol instantiated on the PE-CE link.
Specifically, [<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>] (and its predecessor, [<a href="./rfc2547" title=""BGP/MPLS VPNs"">RFC2547</a>]) included
support for dynamic routing protocols such as BGP, RIP, and OSPFv2.
The OSPFv2 as the Provider/Customer Edge Protocol specification
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] further updates the operation of OSPFv2 as the PE-CE
routing protocol by detailing additional extensions to enable intra-
domain routing connectivity between OSPFv2-based customer sites.
While [<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>] was defined for IPv4-based networks, [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>]
extends support to IPv6 VPNs. It is expected that OSPFv3 will be
used as the IGP for some IPv6 VPNs just as the OSPFv2 was used for
IPv4 VPNs. The advantages of using OSPFv3 as a PE-CE protocol are
the same as for the IPv4 VPN deployment.
This document defines the mechanisms required to enable the operation
of OSPFv3 as the PE-CE routing protocol. In doing so, it reuses, and
extends where necessary, methods defined in [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>] and [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>].
This document also includes the specifications for maintaining intra-
domain routing connectivity between OSPFv3-based customer sites
across an SP backbone.
We presuppose familiarity with the contents of [<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>], [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>],
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>], [<a href="./rfc4576" title=""Using a Link State Advertisement (LSA) Options Bit to Prevent Looping in BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4576</a>], [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>], and [<a href="./rfc2328" title=""OSPF Version 2"">RFC2328</a>].
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Specification of Requirements</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="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Requirements</span>
The benefits and considerations associated with deploying OSPFv3 as
the PE-CE routing protocol are similar to those described in
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>]. The requirements described in <a href="./rfc4577#section-3">Section 3 of [RFC4577]</a>
remain semantically identical for the deployment of OSPFv3.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
[<a id="ref-RFC5340">RFC5340</a>] describes the modifications required to OSPF to support
IPv6. In that specification, many of the fundamental mechanisms
associated with OSPFv2 remain unchanged for OSPFv3. Consequently,
the operation of OSPFv3 as the PE-CE routing protocol is very similar
to OSPFv2 as the PE-CE protocol.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. OSPFv3 Specificities</span>
<a href="./rfc5340#section-2">Section 2 of [RFC5340]</a> describes the differences between OSPFv3 and
OSPFv2. Several of these changes will require modifications to the
architecture described in [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>]. These differences and their
corresponding impact to [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] are described below:
New LSA types:
For an IPv6 VPN architecture where customers interface with
providers through OSPFv3, traditional BGP/OSPF interactions
specify that VPN-IPv6 reachability information redistributed into
OSPFv3 will be expressed as AS-External OSPFv3 LSAs. Instead, it
may be desirable to view these LSAs as inter-area-prefix LSAs.
The OSPF Route Type Extended Communities attribute defined in
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] is extended to include OSPFv3 route types. These new
encodings are defined in <a href="#section-4.4">Section 4.4</a>.
Multiple instances over a link:
OSPFv3 operates on a per-link basis as opposed to OSPFv2, which
operates on a per-IP-subnet basis. The support of multiple OSPFv3
protocol instances on a link changes the architecture described in
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>]. [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] specifies that each interface belongs to no
more than one OSPF instance. For OSPFv3, multiple instances can
be established over a single interface and associated with the
same VRF.
In addition to establishing multiple OSPFv3 instances over a
single PE-CE link, multiple OSPFv3 instances can also be
established across a sham link. This enables multiple OSPFv3
instances associated with a VRF to independently establish intra-
area connectivity to other OSPFv3 instances attached to a remote
PE VRF. Support for multiple OSPFv3 instances across the sham
link is described in <a href="#section-5">Section 5</a>.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. BGP/OSPFv3 Interaction Procedures for PE Routers</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. VRFs and OSPFv3 Instances</span>
The relationship between VRFs, interfaces, and OSPFv3 instances on a
PE router is described in the following section.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
As defined in [<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>], a PE router can be configured with one or
more VRFs. Each VRF configured on the PE corresponds to a customer
VPN and retains the destinations that are reachable within that VPN.
Each VRF may be associated with one or more interfaces, which allows
multiple sites to participate in the same VPN. If OSPFv3 is
instantiated on an interface associated with a VRF, the VRF will be
populated with OSPFv3 routing information.
As OSPFv3 supports multiple instances on a single interface, it is
therefore possible that multiple customer sites can connect to the
same interface of a PE router (e.g., through a Layer 2 switch) using
distinct OSPFv3 instances. A PE interface can be associated with
only one VRF, and all OSPFv3 instances running on the same interface
MUST be associated with the same VRF. Configurations where a PE
interface is associated with multiple VRFs are out of scope for this
document.
<span class="h4"><a class="selflink" id="section-4.1.1" href="#section-4.1.1">4.1.1</a>. Independent OSPFv3 Instances in PEs</span>
Similar to [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>], the PE must associate at least one OSPFv3
instance for each OSPFv3 domain to which it attaches, and each
instance of OSPFv3 MUST be associated with a single VRF.
The support of multiple PE-CE OSPFv3 instances per PE interface does
not change the paradigm that an OSPF instance can be associated with
only a single VRF. Furthermore, for each instance instantiated on
the interface, the PE establishes adjacencies with corresponding CEs
associated with the instance. Note that although multiple instances
may populate a common VRF, they do not leak routes to one another,
unless configured to do so.
<span class="h4"><a class="selflink" id="section-4.1.2" href="#section-4.1.2">4.1.2</a>. OSPFv3 Domain Identifier</span>
The OSPFv3 Domain ID describes the administrative domain of the OSPF
instance that originated the route. It has an AS-wide significance
and is one of the parameters used to determine whether a VPN-IPv6
route should be translated as an Inter-area-prefix LSA or External
LSA. Each OSPFv3 instance MUST have a primary Domain ID that is
transported along with the VPN-IPv6 route in a BGP attribute over the
VPN backbone. Each OSPFv3 instance may have a set of secondary
Domain IDs that applies to other OSPFv3 instances within its
administrative domain.
The primary Domain ID may either be configured or be set to a value
of NULL. The secondary Domain IDs are only allowed if a non-NULL
primary Domain ID is configured. The Domain ID MUST be configured on
a per-OSPFv3 instance basis.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
The Domain ID is used to determine whether an incoming VPN-IPv6 route
belongs to the same domain as the receiving OSPFv3 instance. An
incoming VPN-IPv6 route is said to belong to the same domain if a
non-NULL incoming Domain ID matches either the local primary or one
of the secondary Domain IDs. If the local Domain ID and incoming
Domain ID are NULL, it is considered a match.
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. OSPFv3 Areas</span>
Sections <a href="#section-4.1.4">4.1.4</a> and <a href="#section-4.2.3">4.2.3</a> of [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] describe the characteristics of
a PE router within an OSPFv2 domain. The mechanisms and expected
behavior described in [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] are applicable to an OSPFv3 domain.
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. VRFs and Routes</span>
From the perspective of the CE, the PE appears as any other OSPFv3
neighbor. There is no requirement for the CE to support any
mechanisms of IPv6 BGP/MPLS VPNs or for the CE to have any awareness
of the VPNs, thereby enabling any OSPFv3 implementation to be used on
a CE.
Because the export and import policies might cause different routes
to be installed in different VRFs of the same OSPFv3 domain, the VPN
backbone cannot be considered as a single router from the perspective
of the domain's CEs. Rather, each CE should view its connected PE as
a separate router.
The PE uses OSPFv3 to distribute routes to CEs, and MP-BGP [<a href="./rfc4760" title=""Multiprotocol Extensions for BGP-4"">RFC4760</a>]
to distribute VPN-IPv6 routes to other (remote) PE routers as defined
in [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>]. An IPv6 prefix installed in the VRF by OSPFv3 is
changed to a VPN-IPv6 prefix by the addition of an 8-octet Route
Distinguisher (RD) as discussed in <a href="./rfc4659#section-2">Section 2 of [RFC4659]</a>. This VPN-
IPv6 route can then be redistributed into MP-BGP according to an
export policy that adds a Route Target (RT) Extended Communities
attribute to the Network Layer Reachability Information (NLRI)
[<a href="./rfc4360" title=""BGP Extended Communities Attribute"">RFC4360</a>].
Domain IDs are used to distinguish between OSPFv3 instances. When an
OSPFv3 distributed route is redistributed into MP-BGP, the Domain ID,
OSPFv3 Router ID, Area, OSPFv3 Route Type, and Options fields
(External Route Type) are also carried in Extended Community
Attributes of the MP-BGP route.
A PE receiving a VPN-IPv6 NLRI from MP-BGP uses an import policy to
determine, based on the RT, whether the route is eligible to be
installed in one of its local VRFs. The BGP decision process selects
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
which of the eligible routes are to be installed in the associated
VRF, and the selected set of VPN-IPv6 routes are converted into IPv6
routes by removing the RD before installation.
An IPv6 route learned from MP-BGP and installed in a VRF might or
might not be redistributed into OSPFv3, depending on the local
configuration. For example, the PE might be configured to advertise
only a default route to CEs of a particular OSPFv3 instance.
Further, if the route is to be redistributed into multiple OSPFv3
instances, the route might be advertised using different LSA types in
different instances.
If an IPv6 route learned from MP-BGP is to be redistributed into a
particular OSPFv3 instance, the OSPF Domain Identifier Extended
Communities attribute of the VPN-IPv6 route is used to determine
whether the OSPFv3 instance from which the route was learned is the
same as the OSPFv3 instance into which the route is to be
redistributed.
<span class="h4"><a class="selflink" id="section-4.3.1" href="#section-4.3.1">4.3.1</a>. OSPFv3 Routes on PEs</span>
VRFs may be populated by both OSPFv3 routes from a CE or VPN-IPv6
routes from other PEs via MP-BGP. OSPFv3 routes are installed in a
VRF using the OSPFv3 decision process. They may be redistributed
into BGP and disseminated to other PEs participating in the VPN. At
these remote PEs, the VPN-IPv6 routes may be imported into a VRF and
redistributed into the OSPFv3 instance(s) associated with that VRF.
As specified in [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>], routes imported and exported into a VRF
are controlled by the Route Target (RT) Extended Communities
attribute. OSPFv3 routes that are redistributed into BGP are given
an RT that corresponds to the VRF. This RT is examined at remote
PEs. In order to import a route, a VRF must have an import RT that
is identical to the route's RT. For routes that are eligible to be
imported into the VRF, the standard BGP decision process is used to
choose the "best" route(s).
When a route is advertised from a CE to a PE via OSPFv3 and that
route is installed in the VRF associated with the CE, the route is
advertised to other locally attached CEs under normal OSPFv3
procedures.
The route is also redistributed into MP-BGP to be advertised to
remote PEs. The information necessary for accurate redistribution
back into OSPFv3 by the remote PEs is carried in the OSPF Route Type,
OSPF Domain ID, and OSPF Router ID Extended Communities attributes
(<a href="#section-4.4">Section 4.4</a>). The relevant local OSPFv3 information encoded into
these attributes are as follows:
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
The Area ID of the PE-CE link.
The Route Type, as determined by the LSA type from which the route
was learned.
The Options fields (External metric-type).
The Domain ID of the OSPFv3 process. If no Domain ID is
configured, the NULL identifier is used.
The PE's Router ID associated with the OSPFv3 instance.
A Multi-Exit-Discriminator (MED) attribute SHOULD also be set to the
value of the OSPFv3 metric associated with the route plus 1, when the
OSPFv3 route is redistributed into the MP-BGP.
<span class="h4"><a class="selflink" id="section-4.3.2" href="#section-4.3.2">4.3.2</a>. VPN-IPv6 Routes Received from MP-BGP</span>
When a PE receives a valid VPN-IPv6 route from MP-BGP and has
identified an association with a local VRF, it must determine:
Whether a route to the corresponding IPv6 prefix is to be
installed in the VRF;
Whether the installed IPv6 route is to be redistributed to one or
more local OSPFv3 instances; and
What OSPFv3 LSA type is to be used when advertising the route into
each OSPFv3 instance.
An IPv6 route derived from a received VPN-IPv6 route is not installed
in the associated local VRF if:
The BGP decision process identifies a better route to the
destination NLRI; or
A configured import policy prohibits the installation of the
route.
The PE advertises the IPv6 route learned from MP-BGP to attached CEs
via OSPFv3 if:
No configured filtering prohibits redistributing the route to
OSPFv3;
No configured policy blocks the route in favor of a less-specific
summary route; and
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
Redistribution of a BGP learned IPv6 route into OSPF is based on
local policy.
The subsequent sections discuss the advertisement of routes learned
from MP-BGP and the rules for determining to which LSA types and to
which CEs to advertise the routes.
When the PE sends an LSA to a CE, it sets the DN-bit in the LSA to
prevent looping. The DN-bit is discussed in <a href="#section-4.5.1">Section 4.5.1</a>.
<span class="h5"><a class="selflink" id="section-4.3.2.1" href="#section-4.3.2.1">4.3.2.1</a>. OSPF Inter-Area Routes</span>
A PE advertises an IPv6 route using an Inter-Area-Prefix (type
0x2003) LSA under the following circumstances:
The OSPFv3 domain from which the IPv6 route was learned is the
same (as determined by the Domain ID) as the domain of the OSPFv3
instance into which it is to be redistributed; and
The IPv6 route was advertised to a remote PE in an Intra-Area-
Prefix (type 0x2009) OR an Inter-Area-Prefix (type 0x2003) LSA.
Note that under these rules, the PE represents itself as an Area
Border Router (ABR) regardless of whether or not the route is being
advertised into the same area number from which the remote PE learned
it (that is, whether the VPN-IPv6 route carries the same or different
area numbers).
<span class="h5"><a class="selflink" id="section-4.3.2.2" href="#section-4.3.2.2">4.3.2.2</a>. OSPF Intra-Area Route</span>
A route is advertised as an intra-area route using an Intra-Area-
Prefix (type 0x2009) LSA only when sham links are used, as described
in <a href="#section-5">Section 5</a>. Otherwise, routes are advertised as either inter-area
(<a href="#section-4.3.2.1">Section 4.3.2.1</a>) or external / Not-So-Stubby Area (NSSA) (<a href="#section-4.3.2.3">Section</a>
<a href="#section-4.3.2.3">4.3.2.3</a>) routes.
<span class="h5"><a class="selflink" id="section-4.3.2.3" href="#section-4.3.2.3">4.3.2.3</a>. OSPF External Routes and NSSA Routes</span>
A PE considers an IPv6 route to be external under the following
circumstances:
The OSPFv3 domain from which the route was learned is different
(as determined by the Domain ID) from the domain of the OSPFv3
instance into which it is redistributed; or
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
The OSPFv3 domain from which the route was learned is the same as
the domain of the OSPFv3 instance into which it is redistributed,
AND it was advertised to the remote PE in an AS-External-LSA (type
0x4005) or an NSSA-LSA (type 0x2007); or
The route was not learned from an OSPFv3 instance.
To determine if the learned route is from a different domain, the
Domain ID associated with the VPN-IPv6 route (in the OSPF Domain ID
Extended Communities attribute or attributes) is compared with the
local OSPFv3 Domain ID, if configured. Compared Domain IDs are
considered identical if:
1. All 8 bytes are identical; or
2. Both Domain IDs are NULL (all zeroes).
Note that if the VPN-IPv6 route does not have a Domain ID in its
attributes, or if the local OSPFv3 instance does not have a
configured Domain ID (i.e., in either case), the route is considered
to have a NULL Domain ID.
An IPv6 route that is determined to be external might or might not be
advertised to a connected CE, depending on the type of area to which
the PE-CE link belongs and whether there is a configured policy
restricting its advertisement.
If there are multiple external routes to the same prefix, the
standard OSPFv3 decision process is used to select the "best" route.
If the external route is to be advertised and the area type of the
PE-CE link is NSSA, the PE advertises the route in an NSSA-LSA (type
0x2007); otherwise, the external route is advertised in an
AS-External-LSA (type 0x4005).
The DN-bit of the LSA advertising the external route MUST be set, as
described in <a href="#section-4.5.1">Section 4.5.1</a>.
If the VPN-IPv6 route indicates a route Type-1 metric, the PE should
advertise the external route with that metric-type; otherwise, the
metric-type of the external IPv6 route is set to Type-2 by default.
Note that, by default, a PE should advertise an external route with a
Type-2 metric if the IPv6 route's Domain ID is different than the
local OSPFv3 instance, unless specified otherwise by local policy.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. BGP Extended Communities Attributes</span>
OSPFv3 routes from one site are translated and delivered
transparently to the remote site as BGP VPN-IPv6 routes. The
original OSPFv3 routes carry OSPFv3-specific information that needs
to be communicated to the remote PE to ensure transparency. BGP
Extended Communities are used to carry the needed information to
enable the receiving side to reconstruct a database just as in the
OSPFv2 case.
All OSPFv3 routes added to the VRF routing table on a PE router are
examined to create a corresponding VPN-IPv6 route in BGP. Each of
the OSPFv3 routes MUST have the corresponding BGP Extended
Communities Attributes that contain and preserve the OSPFv3
information of the original OSPFv3 route. The BGP Extended
Communities attributes defined in [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] are reused for
convenience.
OSPF Domain Identifier Extended Communities Attribute
Each OSPFv3 Instance within a VRF MUST have a Domain ID. The Domain
ID is configured per OSPFv3 Instance. The OSPFv3 Domain ID is a
6-byte number, and its default value is 0. This attribute has a
2-byte type field, encoded with a value of 0x0005, 0x0105, or 0x0205.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type Value | Domain Identifier |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Domain Identifier Cont. |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The OSPF Domain Identifier Extended Communities Attribute
OSPFv3 Domain IDs field : 6 bytes
Each OSPFv3 Instance within a VRF MUST have a Domain ID and its
default value (if none is configured) is 0. The Domain ID is
configured per OSPFv3 Instance.
OSPF Router ID Extended Communities Attribute
The OSPFv3 Router ID is a 32-bit number as in OSPFv2. This attribute
has a 2-byte type field, encoded with a value of 0x0107.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type Value | Router ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Router ID Cont. | UNUSED |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The OSPF Router ID Extended Communities Attribute
OSPFv3 Router ID field : 4 bytes
The OSPFv3 Router ID is a 32-bit number as in OSPFv2. Setting
this field is OPTIONAL, and its default value is 0.
OSPF Route Type Extended Communities Attribute
The OSPF Route Type Extended Communities Attribute MUST be present.
It contains a 2-byte type field, encoded with a value of 0x0306. The
remaining 6 bytes are divided into 3 fields, an Area Number, a Route
Type, and an Options field.
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type Value | Area Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Area Number Cont. | Route Type | Options |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The OSPF Route Type Extended Communities Attribute
Area Number : 4 bytes
The area number indicates the 32-bit Area ID to which the route
belongs.
Route Types : 1 byte
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
To accommodate OSPFv3 LSA types (as registered by [<a href="./rfc5340" title=""OSPF for IPv6"">RFC5340</a>]), the
Route Type field is encoded as follows:
Route Type Route Type LSA Type Description
Code
-----------------------------------------------------------
3 Inter-area-prefix 0x2003 Inter-Area-Prefix-LSA
5 External 0x4005 AS-External-LSA
7 NSSA 0x2007 NSSA-LSA
1 or 2 Intra-area-prefix 0x2009 Intra-Area-Prefix-LSA
Route Type Field Encoding
Options : 1 byte
The Options field indicates the options that are associated with
the OSPFv3 route.
8 7 6 5 4 3 2 1
+---+---+---+---+---+---+---+---+
| | | | | | | | E |
+---+---+---+---+---+---+---+---+
The OSPFv3 Route Options Field
The least significant bit (i.e., bit E) in this field designates
the external metric-type. If the bit is clear, the route carries
a Type-1 external metric; if the bit is set, the route carries a
Type-2 external metric.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Loop Prevention Techniques</span>
In some topologies, it is possible for routing loops to occur due to
the nature and manner of route reachability propagation. One such
example is the case of a dual-homed CE router connected to two PEs;
those PE routers would receive reachability information both through
their CE and their peer PE. As there is transparent transport of
OSPFv3 routes over the VPN backbone, it is not possible for the PE
routers to determine whether they are within a loop.
The loop scenarios in OSPFv3 topologies are identical to those in the
OSPFv2 topologies described in Sections <a href="#section-4.2.5.1">4.2.5.1</a> and <a href="#section-4.2.5.2">4.2.5.2</a> of
[<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>]. Of the two loop prevention mechanisms described in the
aforementioned sections, only the DN-bit option will be supported in
the OSPFv3 implementation.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
<span class="h4"><a class="selflink" id="section-4.5.1" href="#section-4.5.1">4.5.1</a>. OSPFv3 Down Bit</span>
[<a id="ref-RFC4576">RFC4576</a>] describes the usage of the DN-bit for OSPFv2 and is
applicable for OSPFv3 for Inter-area-prefix LSAs, NSSA LSAs, and
External LSAs. Similarly, the DN-bit MUST be set in Inter-area-
prefix LSAs, NSSA LSAs, and AS-External LSAs, when these are
originated from a PE to a CE, to prevent those prefixes from being
re-advertised into BGP. As in [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>], any LSA with the DN-bit set
must not be used for route calculations on PE routers.
The DN-bit MUST be clear in all other LSA types. The OSPFv3 DN-bit
format is described in <a href="./rfc5340#appendix-A.4.1.1">Appendix A.4.1.1 of [RFC5340]</a>.
<span class="h4"><a class="selflink" id="section-4.5.2" href="#section-4.5.2">4.5.2</a>. Other Possible Loops</span>
The mechanism described in <a href="#section-4.5.1">Section 4.5.1</a> of this document is
sufficient to prevent looping if the DN-bit information attached to a
prefix is preserved in the OSPF domain. As described in <a href="./rfc4577#section-4.2.5.3">Section</a>
<a href="./rfc4577#section-4.2.5.3">4.2.5.3 of [RFC4577]</a>, caution must be exercised if mutual
redistribution that is performed on a PE causes loss of loop
prevention information.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. OSPFv3 Sham Links</span>
This section modifies the specification of OSPFv2 sham links (defined
in <a href="./rfc4577#section-4.2.7">Section 4.2.7 of [RFC4577]</a>) to support OSPFv3. Support for OSPFv3
sham links is an OPTIONAL feature of this specification.
A sham link enables a VPN backbone to act as an intra-area link. It
is needed when two sites are connected by an intra-area "backdoor"
link and the inter-area VPN backbone route would be less preferable
due to OSPF route preference rules. The figure below shows the
instantiation of a sham link between two VPN sites.
(VPN backbone)
(site-1) <-------- sham link --------> (site-2)
CE1 -------- PE1 -------- P ---------- PE2 -------- CE2
| |
|___________________________________________________|
<------------ backdoor link -------------->
(OSPF intra-area link)
Sham Link
Much of the operation of sham links remains semantically identical to
what was previously specified. There are, however, several
differences that need to be defined to ensure the proper operation of
OSPFv3 sham links.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
One of the primary differences between sham links for OSPFv3 and sham
links as specified in [<a href="./rfc4577" title=""OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4577</a>] is for configurations where multiple
OSPFv3 instances populate a VRF. It may be desirable to provide
separate intra-area links between these instances over the same sham
link. To achieve this, multiple OSPFv3 instances may be established
across the PE-PE sham link to provide intra-area connectivity between
PE-CE OSPFv3 instances.
Note that even though multiple OSPFv3 instances may be associated
with a VRF, a sham link is still thought of as a relation between two
VRFs.
Another modification to OSPFv2 sham links is that OSPFv3 sham links
are now identified by 128-bit endpoint addresses. Since sham link
endpoint addresses are now 128 bits, they can no longer default to
the RouterID, which is a 32-bit number. Sham link endpoint addresses
MUST be configured.
Sham link endpoint addresses MUST be distributed by BGP as routeable
VPN IPv6 addresses, each with an IPv6 address prefix that is 128 bits
long. As specified in <a href="./rfc4577#section-4.2.7.1">Section 4.2.7.1 of [RFC4577]</a>, these endpoint
addresses MUST NOT be advertised by OSPFv3; if there is no BGP route
to the sham link endpoint address, that address is to appear
unreachable, so that the sham link appears to be down.
If there is a BGP route to the remote sham link endpoint address, the
sham link appears to be up. Conversely, if there is no BGP route to
the sham link endpoint address, the sham link appears to be down.
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Creating a Sham Link</span>
The procedures for creating an OSPFv3 sham link are identical to
those specified in <a href="./rfc4577#section-4.2.7.2">Section 4.2.7.2 of [RFC4577]</a>. Note that the
creation of OSPFv3 sham links requires the configuration of both
local and remote 128-bit sham link endpoint addresses. The local
sham link endpoint address associated with a VRF MAY be used by all
OSPFv3 instances that are attached to that VRF. The OSPFv3 PE-PE
"link" Instance ID in the protocol packet header is used to
demultiplex multiple OSPFv3 instance protocol packets exchanged over
the sham link.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. OSPF Protocol on Sham Link</span>
Much of the operation of OSPFv3 over a sham link is semantically the
same as the operation of OSPFv2 over a sham link, as described in
<a href="./rfc4577#section-4.2.7.3">Section 4.2.7.3 of [RFC4577]</a>. This includes the methodology for
sending and receiving OSPFv3 packets over sham links, as well as
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
Hello/Router Dead Intervals. Furthermore, the procedures associated
with the assignment of sham link metrics adhere to those set forth
for OSPFv2. OSPFv3 sham links are treated as on-demand circuits.
Although the operation of the OSPFv3 protocol over the sham link is
the same as OSPFv2, multiple OSPFv3 instances may be instantiated
across this link. By instantiating multiple instances across the
sham link, distinct intra-area connections can be established between
PE-PE OSPFv3 instances associated with the endpoint addresses.
For example, if two OSPFv3 instances (O1, O2) attach to a VRF V1, and
on a remote PE, two other OSPFv3 instances (O3, O4) attach to a VRF
V2, it may be desirable to connect O1 and O3 with an intra-area link,
and O2 and O4 with an intra-area link. This can be accomplished by
instantiating two OSPFv3 instances across the sham link, which
connects V1 and V2. O1 and O3 can be mapped to one of the sham link
OSPFv3 instances; O2 and O4 can be mapped to the other sham link
OSPFv3 instance.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. OSPF Packet Forwarding on Sham Link</span>
The rules associated with route redistribution, stated in <a href="./rfc4577#section-4.2.7.4">Section</a>
<a href="./rfc4577#section-4.2.7.4">4.2.7.4 of [RFC4577]</a>, remain unchanged in this specification.
Specifically:
If the next-hop interface for a particular route is a sham link,
then the PE SHOULD NOT redistribute that route into BGP as a VPN-
IPv6 route.
Any other route advertised in an LSA that is transmitted over a
sham link MUST also be redistributed (by the PE flooding the LSA
over the sham link) into BGP.
When redistributing these LSAs into BGP, they are encoded with the
BGP Extended Communities Attributes, as defined in <a href="#section-4.4">Section 4.4</a> of
this document.
When forwarding a packet, if the preferred route for that packet has
the sham link as its next-hop interface, then the packet MUST be
forwarded according to the corresponding BGP route (as defined in
[<a href="./rfc4364" title=""BGP/MPLS IP Virtual Private Networks (VPNs)"">RFC4364</a>] and [<a href="./rfc4659" title=""BGP-MPLS IP Virtual Private Network (VPN) Extension for IPv6 VPN"">RFC4659</a>]).
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Multiple Address Family Support</span>
The support of multiple address families (AFs) in OSPFv3 is described
in [<a href="./rfc5838" title=""Support of Address Families in OSPFv3"">RFC5838</a>]. [<a href="./rfc5838" title=""Support of Address Families in OSPFv3"">RFC5838</a>] differentiates between AFs by using reserved
ranges of Instance IDs for each AF.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
The architecture described in this document is fully compatible with
[<a href="./rfc5838" title=""Support of Address Families in OSPFv3"">RFC5838</a>]. The OSPFv3 PE-CE protocol can support multiple address
families across a VPN backbone. All AFs redistributed from OSPFv3
into BGP on a PE MUST contain the BGP Extended Communities Attributes
as described in <a href="#section-4.4">Section 4.4</a>.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Security Considerations</span>
The extensions described in this document are specific to the use of
OSPFv3 as the PE-CE protocol and do not introduce any new security
concerns other than those already defined in <a href="./rfc4577#section-6">Section 6 of [RFC4577]</a>.
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. IANA Considerations</span>
An early version of this document resulted in the allocation of
OSPFv3 Route Attributes (0x0004) entry in the BGP IPv6 Address
Specific Extended Community. This allocation is no longer required.
IANA has marked the OSPFv3 Route Attributes (0x0004) entry in the BGP
IPv6 Address Specific Extended Community registry as deprecated. The
BGP Extended Communities Attributes in this document have already
been registered by IANA.
<span class="h2"><a class="selflink" id="section-9" href="#section-9">9</a>. Acknowledgments</span>
The authors would like to thank Kelvin Upson, Seiko Okano, Matthew
Everett, Dr. Vineet Mehta, Paul Wells, and Marek Karasek for their
support of this work. Thanks to Peter Psenak, Abhay Roy, Acee
Lindem, Nick Weeds, Robert Hanzl, and Daniel Cohn for their Last Call
comments. Special thanks to Stewart Bryant, Stephen Farrel, and Fred
Baker for their thorough review.
<span class="h2"><a class="selflink" id="section-10" href="#section-10">10</a>. References</span>
<span class="h3"><a class="selflink" id="section-10.1" href="#section-10.1">10.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-RFC2328">RFC2328</a>] Moy, J., "OSPF Version 2", STD 54, <a href="./rfc2328">RFC 2328</a>, April 1998.
[<a id="ref-RFC4360">RFC4360</a>] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended
Communities Attribute", <a href="./rfc4360">RFC 4360</a>, February 2006.
[<a id="ref-RFC4364">RFC4364</a>] Rosen, E. and Y. Rekhter, "BGP/MPLS IP Virtual Private
Networks (VPNs)", <a href="./rfc4364">RFC 4364</a>, February 2006.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
[<a id="ref-RFC4576">RFC4576</a>] Rosen, E., Psenak, P., and P. Pillay-Esnault, "Using a
Link State Advertisement (LSA) Options Bit to Prevent
Looping in BGP/MPLS IP Virtual Private Networks (VPNs)",
<a href="./rfc4576">RFC 4576</a>, June 2006.
[<a id="ref-RFC4577">RFC4577</a>] Rosen, E., Psenak, P., and P. Pillay-Esnault, "OSPF as the
Provider/Customer Edge Protocol for BGP/MPLS IP Virtual
Private Networks (VPNs)", <a href="./rfc4577">RFC 4577</a>, June 2006.
[<a id="ref-RFC4659">RFC4659</a>] De Clercq, J., Ooms, D., Carugi, M., and F. Le Faucheur,
"BGP-MPLS IP Virtual Private Network (VPN) Extension for
IPv6 VPN", <a href="./rfc4659">RFC 4659</a>, September 2006.
[<a id="ref-RFC4760">RFC4760</a>] Bates, T., Chandra, R., Katz, D., and Y. Rekhter,
"Multiprotocol Extensions for BGP-4", <a href="./rfc4760">RFC 4760</a>, January
2007.
[<a id="ref-RFC5340">RFC5340</a>] Coltun, R., Ferguson, D., Moy, J., and A. Lindem, "OSPF
for IPv6", <a href="./rfc5340">RFC 5340</a>, July 2008.
[<a id="ref-RFC5838">RFC5838</a>] Lindem, A., Ed., Mirtorabi, S., Roy, A., Barnes, M., and
R. Aggarwal, "Support of Address Families in OSPFv3", <a href="./rfc5838">RFC</a>
<a href="./rfc5838">5838</a>, April 2010.
<span class="h3"><a class="selflink" id="section-10.2" href="#section-10.2">10.2</a>. Informative References</span>
[<a id="ref-RFC2547">RFC2547</a>] Rosen, E. and Y. Rekhter, "BGP/MPLS VPNs", <a href="./rfc2547">RFC 2547</a>, March
1999.
<span class="grey">Pillay-Esnault, 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="./rfc6565">RFC 6565</a> OSPFv3 as a PE-CE Routing Protocol June 2012</span>
Authors' Addresses
Padma Pillay-Esnault
Cisco Systems
510 McCarty Blvd.
Milpitas, CA 95035
USA
EMail: ppe@cisco.com
Peter Moyer
Pollere, Inc.
325M Sharon Park Drive #214
Menlo Park, CA 94025
USA
EMail: pete@pollere.net
Jeff Doyle
Jeff Doyle and Associates
9878 Teller Ct.
Westminster, CO 80021
USA
EMail: jdoyle@doyleassociates.net
Emre Ertekin
Booz Allen Hamilton
5220 Pacific Concourse Drive
Los Angeles, CA 90045
USA
EMail: ertekin_emre@bah.com
Michael Lundberg
Booz Allen Hamilton
8283 Greensboro Drive
McLean, VA 22102
USA
EMail: lundberg_michael@bah.com
Pillay-Esnault, et al. Standards Track [Page 20]
</pre>
|