Internet-Draft Anycast Affiliation March 2022
Zhang Expires 8 September 2022 [Page]
Workgroup:
lsr
Internet-Draft:
draft-zzhang-lsr-anycast-affiliation-00
Published:
Intended Status:
Standards Track
Expires:
Author:
Z. Zhang
Juniper Networks

Anycast Affiliation Advertisement

Abstract

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.

Status of This Memo

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.

Table of Contents

1. Background

[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.

2. Specifications

2.1. ISIS Encoding

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.

2.2. OSPF Encoding

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.

2.3. BGP Encoding

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.

3. Security Considerations

To be provided.

4. IANA Considerations

IANA is requested to allocate the following:

5. Acknowledgements

The author thanks Shraddha Hegde for her inputs and comments.

6. References

6.1. Normative References

[RFC7684]
Psenak, P., Gredler, H., Shakir, R., Henderickx, W., Tantsura, J., and A. Lindem, "OSPFv2 Prefix/Link Attribute Advertisement", RFC 7684, DOI 10.17487/RFC7684, , <https://www.rfc-editor.org/info/rfc7684>.
[RFC7794]
Ginsberg, L., Ed., Decraene, B., Previdi, S., Xu, X., and U. Chunduri, "IS-IS Prefix Attributes for Extended IPv4 and IPv6 Reachability", RFC 7794, DOI 10.17487/RFC7794, , <https://www.rfc-editor.org/info/rfc7794>.
[RFC8362]
Lindem, A., Roy, A., Goethals, D., Reddy Vallem, V., and F. Baker, "OSPFv3 Link State Advertisement (LSA) Extensibility", RFC 8362, DOI 10.17487/RFC8362, , <https://www.rfc-editor.org/info/rfc8362>.

6.2. Informative References

[I-D.boutros-bess-vxlan-evpn]
Boutros, S., Sajassi, A., Salam, S., Cai, D., Thoria, S., Singh, T., Drake, J., and J. Tantsura, "VXLAN DCI Using EVPN", Work in Progress, Internet-Draft, draft-boutros-bess-vxlan-evpn-02, , <https://www.ietf.org/archive/id/draft-boutros-bess-vxlan-evpn-02.txt>.
[RFC7432]
Sajassi, A., Ed., Aggarwal, R., Bitar, N., Isaac, A., Uttaro, J., Drake, J., and W. Henderickx, "BGP MPLS-Based Ethernet VPN", RFC 7432, DOI 10.17487/RFC7432, , <https://www.rfc-editor.org/info/rfc7432>.

Author's Address

Zhaohui Zhang
Juniper Networks

mirror server hosted at Truenetwork, Russian Federation.