Internet-Draft | Anycast Affiliation | March 2022 |
Zhang | Expires 8 September 2022 | [Page] |
This document specifies the advertisement of addresses affiliated with an anycast address in ISIS/OSPF/BGP, and describes one example use of such advertisement in VxLAN interconnect with EVPN.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 8 September 2022.¶
Copyright (c) 2022 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 (https://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 Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
[I-D.boutros-bess-vxlan-evpn] describes how Ethernet VPN (EVPN) [RFC7432] can be used to interconnect VXLAN/NVGRE networks over an MPLS/IP network. In the following diagram copied from that draft, a pair of gateways PE1/PE2, which are both VXLAN/NVGRE VTEPs and EVPN PEs, connect a VXLAN/NVGRE site to the EVPN Data Center Interconnect (DCI).¶
+--------------+ | | +---------+ +----+ MPLS +----+ +---------+ +-----+ | |---|PE1 | |PE3 |--| | +-----+ |VTEP1|--| | +----+ +----+ | |--|VTEP3| +-----+ | VXLAN | +----+ +----+ | VXLAN | +-----+ +-----+ | |---|PE2 | |PE4 |--| | +-----+ |VTEP2|--| | +----+Backbone+----+ | |--|VTEP4| +-----+ +---------+ +--------------+ +---------+ +-----+ |<--- Underlay IGP ---->|<-Overlay BGP->|<--- Underlay IGP --->| CP |<----- VXLAN --------->|<EVPN/PBB-EVPN>|<------ VXLAN ------->| DP |<----MPLS----->| Legend: CP = Control Plane View DP = Data Plane View¶
PE1/PE2 use a common anycast address as the source address of VXLAN/NVGRE packets towards other VXLAN/NVGRE VTEPs. This serves two purposes as stated in [I-D.boutros-bess-vxlan-evpn]:¶
Notice that load-balancing is only possible with ECMP - a VTEP uses the anycast address as the destination address in its VXLAN/NVGRE packets towards the DCI, and ECMP-based load-balancing can happen on any router from the source VTEP towards PE1/PE2.¶
However, if the source VTEP knows that PE1/PE2's specific non-anycast address that are associated with the anycast address, it can load-balance traffic using those specific addresses, even when there is no ECMP to PE1/PE2.¶
There are two ways for a VTEP to learn the affiliation of an address to an anycast address:¶
This document specifies the dynamic advertisement of anycast address affiliation via IGP/BGP, which can actually serve other general purposes as well.¶
Even though if a node advertises anycast and non-anycast local addresses using existing methods (e.g. with ISIS's N-bit) then others can derive that those addresses are owned by the same advertiser, it is desired to explicitly announce the non-anycast addresses affiliated with an anycast address for the following reasons:¶
For example, in the above VXLAN-EVPN interconnect scenario, if PE2 looses all its EVPN peers, it may withdraw anycast address affiliation advertisement and then the VTEPs can stop sending traffic to it.¶
A new "Anycast Affiliation sub-TLV" is defined for ISIS extended Reachability TLVs [RFC7794]. It MAY be advertised with an anycast host prefix. Its value part includes a list of affiliated local addresses. The number of affiliated addresses is determined from the length of the sub-TLV.¶
A new "Anycast Affiliation sub-TLV" is defined for OSPFv2 Extended Prefix TLVs [RFC7684]. It MAY be advertised with an anycast host prefix. Its value part includes a list of affiliated local addresses. The number of affiliated addresses is determined from the length of the sub-TLV.¶
A new "Anycast Affiliation sub-TLV" is defined for OSPFv3 Intra-Area-Prefix TLV and Inter-Area-Prefix TLV [RFC8362]. It MAY be advertised with an anycast host prefix. Its value part includes a list of affiliated local addresses. The number of affiliated addresses is determined from the length of the sub-TLV.¶
IPv4 (or IPv6) Address Specific Extended Communities with an "Anycast Affiliation" sub-type (or type in case of IPv6) MAY be attached to the NLRI of an anycast host prefix, one such extended community for each affiliated address. The Global Administrator field of the extended community is set to the affiliated address, and the Local Administrator field is set to 0.¶
To be provided.¶
IANA is requested to allocate the following:¶
The author thanks Shraddha Hegde for her inputs and comments.¶