RFC 6769

Simple Virtual Aggregation (S-VA)

πŸ“… published October 2012, from ietf

RFC 6769: Simple Virtual Aggregation (S-VA) πŸ’–

Okay bestie, this one is Informational, so it's published for info and isn't a Standards Track spec 🧚. It came out in October 2012 with ISSN 2070-1721. The authors are R. Raszuk (NTT MCL), J. Heitz (Ericsson), A. Lo (Arista), L. Zhang (UCLA), and X. Xu (Huawei). The title block doesn't list any Obsoletes or Updates, so it doesn't replace or update anything 🌸.

Abstract ✨

Every BGP router in the Default-Free Zone (DFZ) is required to carry every route in the Default-Free Routing Table (DFRT) 🌈. This doc describes Simple Virtual Aggregation (S-VA), a technique that lets some BGP routers skip installing all of those routes into the Forwarding Information Base (FIB) πŸ’….

Here's the trick: some routers in an Autonomous System (AS) announce an aggregate (the VA prefix) on top of the routes they already announce. That lets other routers skip installing any route covered by the VA prefix into the FIB, as long as that route has the same next-hop as the VA prefix πŸŽ€.

The VA prefixes announced inside an AS are not announced to any other AS. This is super low operational complexity, because it's a confined BGP speaker solution. It doesn't depend on network-wide configuration and doesn't need any form of intra-domain tunneling 🫢.

Status of This Memo ✨

This document is not an Internet Standards Track specification; it is published for informational purposes πŸ¦‹.

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). Not all documents approved by the IESG are a candidate for any level of Internet Standard; see Section 2 of RFC 5741.

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at http://www.rfc-editor.org/info/rfc6769.

Copyright (c) 2012 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) 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 πŸ“œ.

Table of Contents πŸ—‚οΈ

   1. Introduction ....................................................3
      1.1. Scope of This Document .....................................3
      1.2. Requirements Notation ......................................3
      1.3. Terminology ................................................3
   2. Operation of S-VA ...............................................4
   3. Deployment Considerations .......................................6
   4. Security Considerations .........................................7
   5. Acknowledgements ................................................7
   6. Normative References ............................................7
   7. Informative References ..........................................7

1. Introduction ✨

Okay so this doc describes a technique called Simple Virtual Aggregation (S-VA) 🧚. It lets some routers skip storing some routes in the Forwarding Information Base (FIB), and they still advertise and receive the full Default-Free Routing Table (DFRT) in BGP πŸ’–.

Here's a typical scenario. Core routers in the ISP keep the full DFRT in the FIB and the Routing Information Base (RIB). Edge routers keep the full DFRT in the BGP Local RIB (Loc-RIB), but they don't install certain routes into the RIB and FIB. Edge routers may install a default route pointing to core routers, to Area Border Routers (ABR) that are installed on the Point of Presence (POP), to core boundary routers, or to Autonomous System Border Routers (ASBRs) πŸ“.

S-VA must be enabled on an edge router that needs to save its RIB and FIB space. The core routers must announce a new prefix called Virtual Aggregate (VA prefix) ✨.

1.1. Scope of This Document

The VA prefix is not intended to be announced from one AS into another, only between routers of the same AS πŸ™ˆ.

S-VA can be used for both IPv4 unicast and multicast address families and IPv6 unicast and multicast address families 🌈.

S-VA does not need to operate on every router in an AS πŸ’….

1.2. Requirements Notation

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 [RFC2119] πŸ“–.

1.3. Terminology

Let's get the vocab down, because it matters 🧠.

  • RIB/FIB-Installing Router (FIR): A router that does not suppress any routes and announces the VA prefix. Typically, a core router, a POP to core boundary router, or an ASBR would be configured as an FIR πŸ‘‘.
  • RIB/FIB-Suppressing Router (FSR): An S-VA router that installs the VA prefix, but does not install routes that are covered by and have the same next-hop as the VA prefix into its FIB. Typically, an edge router would be configured as an FSR πŸ¦‹.
  • Suppress: Not to install a route that is covered by the VA prefix into the global RIB or FIB πŸ™…β€β™€οΈ.
  • Legacy Router: A router that does not run S-VA and has no knowledge of S-VA πŸ•°οΈ.
  • Global Routing Information Base (RIB): All routing protocols in a router install their selected routes into the RIB. The routes in the RIB are used to resolve next-hops for other routes, to be redistributed to other routing protocols, and to be installed into the FIB πŸ’œ.
  • Local/Protocol Routing Information Base (Loc-RIB): The Loc-RIB contains the routes that have been selected by the local BGP speaker's Decision Process as in [RFC4271] πŸŽ€.
  • NLRI: Network Layer Reachability Information [RFC4271] 🌸.

2. Operation of S-VA πŸ‘‘

There are three types of routers in S-VA: FIB-Installing routers (FIR), FIB-Suppressing routers (FSR), and, optionally, legacy routers 🧚. Any router can be an FIR or an FSR, but the simplest form of deployment is AS border routers as FIRs and customer-facing edge routers as FSRs πŸ’–.

When a FIR announces a VA prefix, it sets the path attributes as follows πŸ’…. The ORIGIN MUST be set to INCOMPLETE (value 2). The NEXT_HOP MUST be set to the same value as that of the routes that are intended to be covered by the VA prefix. The ATOMIC_AGGREGATE and AGGREGATOR attributes SHOULD NOT be included. The FIR MUST attach a NO_EXPORT community attribute [RFC1997]. The NLRI SHOULD be 0/0 🫢.

A FIR SHOULD NOT FIB-suppress any routes. Read that twice, bestie πŸ™ˆ.

An FSR must detect the VA prefix or prefixes (including 0/0) and install them in all of Loc-RIB, RIB, and FIB. The FSR MAY suppress any more-specific routes that carry the same next-hop as the VA prefix ✨.

Generally, any more-specific route that carries the same next-hop as the VA prefix is eligible for suppression. However, provided that there is at least one less-specific prefix with a different next-hop between the VA prefix and the suppressed prefixes, then those suppressed prefixes must be reinstalled 🌈.

Here's an example with three prefixes, where the VA-prefix (prefix 1) is the least specific and covers prefix 2 and prefix 3 πŸ“.

Prefix 2 is less specific than prefix 3 and covers the latter. If all three have the same next-hop, then only the bigger one, i.e., VA-Prefix, is announced. However, if prefix 2 has a different next-hop, then it will need to be announced separately. In this case, it is important to also announce prefix 3 separately πŸ’œ.

Similarly, when Internal BGP (IBGP) multipath is enabled, and when multiple VA prefixes form a multipath, only those more-specific prefixes of which the set of next-hops are identical to the set of next-hops of the VA prefix multipath are subject to suppression πŸ¦‹.

The expected behavior is illustrated in Figure 1. This figure shows an AS with a FIR, FIR1, and an FSR, FSR1. FSR1 is an ASBR and is connected to two external ASBRs, EP1 and EP2 πŸŽ€.

        +------------------------------------------+
        |      Autonomous System                   |   +----+
        |                                          |   |EP1 |
        |                                      /---+---|    |
        |   To   ----\ +----+          +----+ /    |   +----+
        | Other       \|FIR1|----------|FSR1|/     |
        |Routers      /|    |          |    |\     |
        |        ----/ +----+          +----+ \    |   +----+
        |                                      \---+---|EP2 |
        |                                          |   |    |
        |                                          |   +----+
        +------------------------------------------+

Figure 1

Suppose that FSR1 has been enabled to perform S-VA. Originally, it receives all routes from FIR1 (doing next-hop-self) as well as from EP1 and EP2. FIR1 now will advertise a VA prefix 0/0 with the next-hop set to itself. This will cause FSR1 to suppress all routes with the same next-hop as the VA prefix. However, FSR1 will not suppress any routes received from EP1 and EP2, because their next-hops are different from that of the VA prefix πŸ”₯.

Several FIRs may announce different S-VA prefixes. For example, in a POP, each edge router can announce into the POP an S-VA prefix that covers the addresses of the customers it services 🌸.

Several FIRs may announce the same S-VA prefix. In this case, an FSR must choose to install only one of them. For example, two redundant ASBRs, both of which announce the complete DFRT, may each also announce the default route as an S-VA prefix into the AS 🧚.

S-VA may be used to split traffic among redundant exit routers. For example, suppose in Figure 1 that EP1 and EP2 are two redundant ASBRs that announce the complete DFRT. Each may also announce two S-VA prefixes into the AS: 0/1 and 128/1. EP1 might announce 0/1 with higher preference and EP2 might announce 128/1 with higher preference. FIR1 will now install into its FIB 0/1 pointing to EP1 and 128/1 pointing to EP2. If either EP1 or EP2 were to fail, then FSR1 would switch the traffic to the other exit router with a single FIB installation of one S-VA prefix πŸ’–.

3. Deployment Considerations πŸš€

okay so BGP routes can be used to resolve next-hops for static routes or other BGP routes 🧭 but the default route doesn't mean you can actually reach any destination, so a router can be set up to not resolve next-hops using the default route. in that case, S-VA should not suppress a route that another route might use to resolve its next-hop from going into the RIB πŸ’… it can still suppress it from going into the FIB tho ✨

selected BGP routes in the RIB can get redistributed into other protocols πŸ¦‹ if they're gone from the RIB, they won't get redistributed anymore πŸ’€ this matters SO much when redistribution is conditional, like based on prefix length or community value 🫢 whenever a redistribution policy is in place, the S-VA implementation should refrain from suppressing installation into the RIB of the routes that match that policy. it can still suppress them from going into the FIB 🌸

a router can originate a network route or an aggregate route into BGP πŸŽ€ but some addresses inside that route might not actually exist πŸ™ˆ if this router gets a packet for an unreachable address inside an originated route, it must not send that packet to the VA prefix route 😭 there are a few ways to handle this. one is to have the FIR do the aggregation instead of the FSR πŸ‘‘ another is to install a black hole route for the nonexistent addresses on the originating router πŸ•³οΈ and honestly this isn't just an S-VA thing, it applies to default routes in general πŸ’œ

like any aggregate, an S-VA prefix can cover more address space than the prefixes it actually summarizes 🧚 so the S-VA prefix might route a packet that has no real destination behind it at all 🌈 an FSR will forward that packet on to the FIR πŸ”₯

and if an S-VA prefix changes its next-hop or gets removed, a bunch of routes might need to be downloaded into the FIB before things converge again 😩✨


4. Security Considerations πŸ”

the authors aren't aware of any new security considerations from S-VA, not one πŸ™…β€β™€οΈ the proposed optimization is local, so the functionality isn't exposed externally at all 🫣 and having more specifics that get used as VA prefixes is already normal BGP behavior in current networks πŸ’–


5. Acknowledgements 🫢

the concept of Virtual Aggregation comes from Paul Francis πŸ‘ in this document, the authors just simplified some parts of how it behaves so that some operators can adopt it more easily πŸ“

the authors would like to thank Clarence Filsfils, Nick Hilliard, S. Moonesamy, and Tom Petch for their reviews and really valuable input πŸ’œπŸ™Œ


6. Normative References πŸ“š

  • [RFC1997] Chandra, R., Traina, P., and T. Li, "BGP Communities Attribute", RFC 1997, August 1996.
  • [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997.
  • [RFC5082] Gill, V., Heasley, J., Meyer, D., Savola, P., Ed., and C. Pignataro, "The Generalized TTL Security Mechanism (GTSM)", RFC 5082, October 2007.

7. Informative References πŸ¦‹

  • [RFC4271] Rekhter, Y., Ed., Li, T., Ed., and S. Hares, Ed., "A Border Gateway Protocol 4 (BGP-4)", RFC 4271, January 2006.

Authors' Addresses πŸŽ€

Robert Raszuk
NTT MCL
101 S Ellsworth Avenue Suite 350
San Mateo, CA 94401
USA

EMail: robert@raszuk.net


Jakob Heitz
Ericsson
300 Holger Way
San Jose, CA 95134
USA

EMail: jakob.heitz@ericsson.com


Alton Lo
Arista Networks
5470 Great America Parkway
Santa Clara, CA 95054
USA

EMail: altonlo@aristanetworks.com


Lixia Zhang
UCLA
3713 Boelter Hall
Los Angeles, CA 90095
USA

EMail: lixia@cs.ucla.edu


Xiaohu Xu
Huawei Technologies
Huawei Building, No.3 Xinxi Rd.,
Shang-Di Information Industry Base, Hai-Dian District
Beijing 100085
P.R. China

Phone: +86 10 82836073
EMail: xuxh@huawei.com
πŸ“¦ where this page comes from