idnits 2.17.1 draft-ietf-idr-legacy-rtc-04.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** The abstract seems to contain references ([RFC4684]), which it shouldn't. Please replace those with straight textual mentions of the documents in question. == There are 1 instance of lines with non-RFC6890-compliant IPv4 addresses in the document. If these are example addresses, they should be changed. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == The document seems to contain a disclaimer for pre-RFC5378 work, but was first submitted on or after 10 November 2008. The disclaimer is usually necessary only for documents that revise or obsolete older RFCs, and that take significant amounts of text from those RFCs. If you can contact all authors of the source material and they are willing to grant the BCP78 rights to the IETF Trust, you can and should remove the disclaimer. Otherwise, the disclaimer is needed and you can ignore this comment. (See the Legal Provisions document at https://trustee.ietf.org/license-info for more information.) -- The document date (October 8, 2014) is 3460 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Unused Reference: 'RFC4271' is defined on line 321, but no explicit reference was found in the text == Unused Reference: 'RFC4364' is defined on line 327, but no explicit reference was found in the text Summary: 1 error (**), 0 flaws (~~), 5 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 Network Working Group P. Mohapatra 3 Internet-Draft Sproute Networks 4 Intended status: Standards Track A. Sreekantiah 5 Expires: April 11, 2015 K. Patel 6 B. Pithawala 7 Cisco Systems 8 A. Lo 9 Arista Networks 10 October 8, 2014 12 Automatic Route Target Filtering for legacy PEs 13 draft-ietf-idr-legacy-rtc-04.txt 15 Abstract 17 This document describes a simple procedure that allows "legacy" BGP 18 speakers to exchange route target membership information in BGP 19 without using mechanisms specified in [RFC4684]. The intention of 20 the proposed technique is to help in partial deployment scenarios and 21 is not meant to replace [RFC4684]. 23 Status of This Memo 25 This Internet-Draft is submitted in full conformance with the 26 provisions of BCP 78 and BCP 79. 28 Internet-Drafts are working documents of the Internet Engineering 29 Task Force (IETF). Note that other groups may also distribute 30 working documents as Internet-Drafts. The list of current Internet- 31 Drafts is at http://datatracker.ietf.org/drafts/current/. 33 Internet-Drafts are draft documents valid for a maximum of six months 34 and may be updated, replaced, or obsoleted by other documents at any 35 time. It is inappropriate to use Internet-Drafts as reference 36 material or to cite them other than as "work in progress." 38 This Internet-Draft will expire on April 11, 2015. 40 Copyright Notice 42 Copyright (c) 2014 IETF Trust and the persons identified as the 43 document authors. All rights reserved. 45 This document is subject to BCP 78 and the IETF Trust's Legal 46 Provisions Relating to IETF Documents 47 (http://trustee.ietf.org/license-info) in effect on the date of 48 publication of this document. Please review these documents 49 carefully, as they describe your rights and restrictions with respect 50 to this document. Code Components extracted from this document must 51 include Simplified BSD License text as described in Section 4.e of 52 the Trust Legal Provisions and are provided without warranty as 53 described in the Simplified BSD License. 55 This document may contain material from IETF Documents or IETF 56 Contributions published or made publicly available before November 57 10, 2008. The person(s) controlling the copyright in some of this 58 material may not have granted the IETF Trust the right to allow 59 modifications of such material outside the IETF Standards Process. 60 Without obtaining an adequate license from the person(s) controlling 61 the copyright in such materials, this document may not be modified 62 outside the IETF Standards Process, and derivative works of it may 63 not be created outside the IETF Standards Process, except to format 64 it for publication as an RFC or to translate it into languages other 65 than English. 67 Table of Contents 69 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 70 1.1. Requirements Language . . . . . . . . . . . . . . . . . . 3 71 2. Basic Idea . . . . . . . . . . . . . . . . . . . . . . . . . 3 72 3. Detailed Operation . . . . . . . . . . . . . . . . . . . . . 3 73 3.1. Legacy PE Behavior . . . . . . . . . . . . . . . . . . . 3 74 3.2. RR Behavior . . . . . . . . . . . . . . . . . . . . . . . 5 75 3.2.1. Generating Route Target Membership NLRIs for the 76 legacy PE clients . . . . . . . . . . . . . . . . . . 6 77 4. ROUTE_FILTER Community . . . . . . . . . . . . . . . . . . . 6 78 5. Deployment Considerations . . . . . . . . . . . . . . . . . . 7 79 6. Contributors . . . . . . . . . . . . . . . . . . . . . . . . 7 80 7. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . 7 81 8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7 82 9. Security Considerations . . . . . . . . . . . . . . . . . . . 7 83 10. References . . . . . . . . . . . . . . . . . . . . . . . . . 7 84 10.1. Normative References . . . . . . . . . . . . . . . . . . 7 85 10.2. Informational References . . . . . . . . . . . . . . . . 8 86 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 8 88 1. Introduction 90 [RFC4684] provides a powerful and general means for BGP speakers to 91 exchange and propagate Route Target reachability information and 92 constrain VPN route distribution to achieve high scale. However, it 93 requires that all the BGP speakers in the network are upgraded to 94 support this functionality. For example, in a network with route 95 reflectors (RR), if one PE client in the cluster doesn't support 96 constrained distribution, the cluster degenerates into storing and 97 processing all the VPN routes. The route reflectors need to request 98 and store all the network routes since they do not receive route 99 target membership information from the legacy PEs. The RR will also 100 generate all those routes to the legacy PEs and the legacy PEs will 101 end up filtering the routes and store the subset of VPN routes that 102 are of interest. 104 This document specifies a mechanism for such legacy PE devices using 105 existing configuration and toolset to provide similar benefits as 106 [RFC4684]. At the same time, it is backward-compatible with the 107 procedures defined in [RFC4684]. It also allows graceful upgrade of 108 the legacy router to be [RFC4684] capable. 110 1.1. Requirements Language 112 The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 113 "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 114 document are to be interpreted as described in RFC 2119 [RFC2119]. 116 2. Basic Idea 118 The basic idea is to make use of VPN unicast route exchange from the 119 legacy PEs to a new BGP speaker (e.g. an RR) to signal RT 120 membership. The legacy PEs announce a set of "special" routes with 121 mapped RTs to the RR along with a standard community (defined in this 122 document). The presence of the community triggers the RR to extract 123 the RTs and build RT membership information. 125 3. Detailed Operation 127 3.1. Legacy PE Behavior 129 The following simple steps are performed on the legacy PE device: 131 o Collect the "import route targets" of all the configured customer 132 VRFs. Let's call this set 'IRTS'. 134 o Create a special "route-filter VRF" with a route distinguisher(RD) 135 that's configured with the same value across the network for all 136 legacy PE devices. Note: the equivalence of the RD value is for 137 optimization - the operator may choose to use different values. 139 o Originate one or more routes in this VRF and attach a subset of 140 'IRTS' as "translated route-target extended communities" with each 141 route so as to evenly distribute the RTs (and to make sure they 142 can fit into one BGP UPDATE message). Collectively, the union of 143 the "translated route-target extended communities" of all these 144 routes is equal to the set 'IRTS'. The translated RTs are 145 attached as export route-targets for the routes originated in the 146 route-filter VRF. 148 o The translation of the IRTs is necessary in order to refrain from 149 importing "route-filter" VRF routes into VPN VRFs that would 150 import the same route-targets. The translation of the IRTS is 151 done as follows. For a given IRT, the equivalent translated RT 152 (TRT) is constructed by means of swapping the value of the high- 153 order octet of the Type field for the IRT (as defined in 154 [RFC4360]). 156 0 1 0 1 157 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 158 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 159 | 0x00 | 0x02 | | 0x01 | 0x02 | 160 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 161 |2B AS | |2B AS => IP(high) | 162 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<=>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 163 |Local Admin(high) | |Local Admin(high) => IP(low) | 164 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 165 |Local Admin(low) | |Local Admin(low) => Local Admin| 166 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 168 0 1 0 1 169 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 170 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 171 | 0x01 | 0x02 | | 0x02 | 0x02 | 172 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 173 |IP(high) | |IP(high) => 4B AS(high) | 174 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<=>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 175 |IP(low) | |IP(low) => 4B AS(low) | 176 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 177 |Local Admin | |Local Admin => Local Admin | 178 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 180 0 1 0 1 181 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 182 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 183 | 0x02 | 0x02 | | 0x00 | 0x02 | 184 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 185 |4B AS(high) | |4B AS(high) => 2B AS | 186 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<=>+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 187 |4B AS(low) | |4B AS(low) => Local Admin(high)| 188 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 189 |Local Admin | |Local Admin => Local Admin(low)| 190 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 191 As an example, if IRT R= 65500:12244(hex: 0x0002ffdc00002fd4), 192 equivalent route-filter TRT: 255.220.0.0:12244(hex: 193 0x0102ffdc00002fd4). One shortcoming of the translation mechanism 194 is a possible collision between IRTs and TRTs if the network has 195 been configured with RTs of multiple higher order octet types 196 (2-byte AS, IP address, and 4-byte AS). It is expected that such 197 a configuration is rare in practice. 199 o As an alternative to the translation of the IRTS, the subset of 200 the 'IRTS' can be attached as-is (without swapping the type field 201 as described earlier) as "export route-target extended 202 communities" with each route so as to evenly distribute the RTs 203 (and to make sure they can fit into one BGP UPDATE message). In 204 this case, the IRT subsets can be attached in outbound policy to 205 avoid the route-filter VRFs from being imported into VPN VRFs. 206 Also in this case, the route-filter VRF routes must be tagged with 207 a different special community (from that associated with the 208 translated RTs) as described in Section 4 so that the receiving 209 BGP speaker can distinguish the two cases. 211 o The routes are marked with NO_ADVERTISE and NO_EXPORT well-known 212 communities as well as the appropriate new community that's 213 defined in this document Section 4. Note that there is no 214 specific provision made to disallow configuration of subsequent 215 route policies that can potentially alter the set of communities 216 attached to "route-filter" VRF routes. The protocol behavior in 217 such a case is undefined and the use of those policy statements is 218 discouraged. 220 3.2. RR Behavior 222 Upon receiving the "route-filter" routes, the BGP speaker does its 223 usual processing to store them in its local RIB. It recognizes them 224 as route-filter routes based on the association of the new standard 225 community as defined in this document. If required (as indicated by 226 the community value), it translates the attached route-target 227 extended communities (TRT) to equivalent import route-targets (IRT). 228 Finally it creates the route-target filter list for each legacy 229 client by collecting the entire set of route targets. From this 230 point onwards, the behavior is similar to that defined in [RFC4684]. 231 The RR does not propagate the routes further because of their 232 association with NO_ADVERTISE community. Also the VPN EoR that is 233 sent by the legacy PE should also be used as an indication that the 234 legacy PE is done sending the route-filter information as per the 235 procedures defined in [RFC4684] for implementing a EoR mechanism to 236 signal the completion of initial RT membership exchange. 238 3.2.1. Generating Route Target Membership NLRIs for the legacy PE 239 clients 241 The RR MAY also translate the received extended communities from 242 legacy clients into route target membership NLRIs as if it had 243 received those NLRIs from the client itself. This is useful for 244 further propagation of the NLRIs to rest of the network to create RT 245 membership flooding graph. When the route_filter routes are received 246 with same RD (from all legacy PE speakers), processing of the paths 247 to generate equivalent NLRIs becomes fairly easy. 249 4. ROUTE_FILTER Community 251 This memo defines four BGP communities that are attached to BGP 252 UPDATE messages at the legacy PE devices and processed by the route 253 reflectors as defined above. They are as follows: 255 +----------------------------+--------------------------------------+ 256 | Community | Meaning | 257 +----------------------------+--------------------------------------+ 258 | ROUTE_FILTER_v4 | RTs are attached as-is for VPNv4 | 259 | | route filtering | 260 | ... | ... | 261 | ROUTE_FILTER_v6 | RTs are attached as-is for VPNv6 | 262 | | route filtering | 263 | ... | ... | 264 | ROUTE_FILTER_TRANSLATED_v4 | Translated RTs are attached for | 265 | | VPNv4 route filtering | 266 | ... | ... | 267 | ROUTE_FILTER_TRANSLATED_v6 | Translated RTs are attached for | 268 | | VPNv6 route filtering | 269 +----------------------------+--------------------------------------+ 271 In the absence of (or lack of support of) AF specific communities 272 (ROUTE_FILTER_v6, ROUTE_FILTER_TRANSLATED_v6), the ROUTE_FILTER_v4 or 273 ROUTE_FILTER_TRANSLATED_v4 MAY be treated by an implementation as a 274 default VPN route-filter community to build a combination VPN filter 275 for all VPN AFs (VPNv4, VPNv6) present on the RR. This is in 276 accordance with the procedures in [RFC4684] to build combination 277 route-filters for VPN AFs and AF specific route-filters defined in 278 [I-D.keyur-bgp-af-specific-rt-constrain]. If this is the case, then 279 subsequent receipt of any "route-filter" routes with AF specific 280 communities (ROUTE_FILTER_v6, ROUTE_FILTER_TRANSLATED_v6) will 281 override the default filters sent with ROUTE_FILTER_v4 or 282 ROUTE_FILTER_TRANSLATED_v4 for the VPNv6 AFI when support for the AF 283 specific communities exists. 285 5. Deployment Considerations 287 When both the legacy PE and the RR support extended community based 288 Outbound Route Filtering as in [I-D.chen-bgp-ext-community-orf] this 289 may be used as a alternate solution for the legacy PE to signal RT 290 membership information, in order to realize the same benefits as 291 [RFC4684]. Also extended community ORF can be used amongst the RRs 292 in lieu of [RFC4684] to realize similar benefits. 294 6. Contributors 296 Significant contributions were made by Stephane Litkowski, Luis M 297 Tomotaki and James Uttaro which the authors would like to 298 acknowledge. 300 7. Acknowledgments 302 The authors would like to thank Rob Shakir for his review and 303 comments. 305 8. IANA Considerations 307 IANA shall assign new code points from BGP first-come first-serve 308 communities for the four communities as listed in Section 4. 310 9. Security Considerations 312 There are no additional security risks introduced by this design. 314 10. References 316 10.1. Normative References 318 [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate 319 Requirement Levels", BCP 14, RFC 2119, March 1997. 321 [RFC4271] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway 322 Protocol 4 (BGP-4)", RFC 4271, January 2006. 324 [RFC4360] Sangli, S., Tappan, D., and Y. Rekhter, "BGP Extended 325 Communities Attribute", RFC 4360, February 2006. 327 [RFC4364] Rosen, E. and Y. Rekhter, "BGP/MPLS IP Virtual Private 328 Networks (VPNs)", RFC 4364, February 2006. 330 [RFC4684] Marques, P., Bonica, R., Fang, L., Martini, L., Raszuk, 331 R., Patel, K., and J. Guichard, "Constrained Route 332 Distribution for Border Gateway Protocol/MultiProtocol 333 Label Switching (BGP/MPLS) Internet Protocol (IP) Virtual 334 Private Networks (VPNs)", RFC 4684, November 2006. 336 10.2. Informational References 338 [I-D.chen-bgp-ext-community-orf] 339 Chen, E., Lo, A., and K. Patel, "Extended Community Based 340 Outbound Route Filter for BGP-4", draft-chen-bgp-ext- 341 community-orf-02 (work in progress), December 2011. 343 [I-D.keyur-bgp-af-specific-rt-constrain] 344 Patel, K., Raszuk, R., Djernaes, M., Dong, J., and M. 345 Chen, "IPv6 AF Extensions for Route Target Distribution", 346 draft-keyur-bgp-af-specific-rt-constrain-01 (work in 347 progress), March 2011. 349 Authors' Addresses 351 Pradosh Mohapatra 352 Sproute Networks 354 Email: mpradosh@yahoo.com 356 Arjun Sreekantiah 357 Cisco Systems 358 170 W. Tasman Drive 359 San Jose, CA 95134 360 USA 362 Email: asreekan@cisco.com 364 Keyur Patel 365 Cisco Systems 366 170 W. Tasman Drive 367 San Jose, CA 95134 368 USA 370 Email: keyupate@cisco.com 371 Burjiz Pithawala 372 Cisco Systems 373 170 W. Tasman Drive 374 San Jose, CA 95134 375 USA 377 Email: bpithaw@cisco.com 379 Alton Lo 380 Arista Networks 381 5470 Great America Parkway 382 Santa Clara, CA 95054 383 USA 385 Email: altonlo@aristanetworks.com