Internet-Draft | EVPN Next Hop address encoding | September 2022 |
Dubrovsky | Expires 7 March 2023 | [Page] |
This document clarifies that the EVPN route Next Hop encoding is unaffected by whether the underlying BGP session is IPv4 or IPv6.¶
From that perspective, this document updates the EVPN specification to provide more comprehensive documentation of the encoding.¶
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 7 March 2023.¶
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.¶
For operational simplicity, a network administrator can choose to enable multiple AFI/SAFI over a single BGP session.¶
While [RFC7432] specifies that the Next Hop field of the MP_REACH_NLRI attribute can be set to the IPv4 or IPv6 address for EVPN routes, it does not clarify the exact encoding when the address family of a BGP session does not match the address family of the EVPN Next Hop address.¶
For the sake of interoperability, this document specifies the encoding and therefore, updates [RFC7432]. EVPN implementations MUST conform to the prescribed encoding.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
EVPN MP_REACH_NLRI can be advertised with either IPv4 or IPv6 next hop.¶
EVPN MP_REACH_NLRI IPv4 Next Hop encoding:¶
... |
Length of Next Hop Address = 4 |
Network Address of Next Hop = IPv4 address |
... |
EVPN MP_REACH_NLRI IPv6 next Hop encoding:¶
... |
Length of Next Hop Address = 16 |
Network Address of Next Hop = IPv6 address |
... |
The above encoding is done regardless of whether the BGP session is running over IPv4 or IPv6.¶
This memo includes no request to IANA.¶
This document should not affect the security of the Internet.¶
The author would like to thank Aamod Vyavaharkar and Kyuhwan Kim for their helpful feedback.¶