SPRING R. Shetty M Internet-Draft HPE Intended status: Standards Track R. Santhanakrishnan Expires: 30 May 2027 HPE Shraddha Hegde HPE 29 November 2026 Segment Routing over IPv6 (SRv6) and Virtual eXtensible Local Area Network (VXLAN) Service Interworking draft-mrajesh-spring-srv6-vxlan-interworking-00 Abstract This document specifies Option B-style service interworking between Segment Routing over IPv6 (SRv6) and Virtual eXtensible Local Area Network (VXLAN) domains. It defines three SRv6 endpoint behaviors that decapsulate an SRv6 packet and encapsulate its payload in VXLAN: End.DXV4 for IPv4 Layer 3 VPN or Ethernet VPN (EVPN) services, End.DXV6 for IPv6 Layer 3 VPN or EVPN services, and End.DXV2 for Layer 2 virtual services. Each behavior uses a VXLAN Network Identifier (VNI) associated with the local Segment Identifier (SID). It also describes VXLAN-to-SRv6 service interworking, which requires no new SRv6 endpoint behavior or SID. 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 30 May 2027. Copyright Notice Copyright (c) 2026 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. Table of Contents 1. Introduction 2. Conventions and Terminology 3. Service Interworking Model 4. SRv6 Endpoint Behaviors 4.1. Common Processing 4.2. End.DXV4 4.3. End.DXV6 4.4. End.DXV2 5. Service Interworking Procedures 5.1. Translation between VNI and SRv6 service SIDs 6. Service Provisioning and Forwarding 7. MTU Considerations 8. Security Considerations 9. IANA Considerations 10. References 10.1. Normative References 10.2. Informative References Acknowledgments Contributors Authors' Addresses 1. Introduction Networks may use SRv6 in one part of a network and VXLAN in another. EVPN can be used as a control plane for VXLAN overlays [RFC8365]. A service gateway between these domains needs to map an SRv6 service SID to the corresponding VXLAN service and forward the traffic into that service. Related interworking procedures are described in [I-D.ietf-spring-srv6-mpls-interworking]. This document focuses on service interworking between SRv6 and VXLAN in both directions. This document defines End.DXV4, End.DXV6, and End.DXV2 for this purpose. The behaviors decapsulate the outer IPv6 packet, construct the required VXLAN packet, and forward it using the configured VXLAN underlay. The VNI is associated with the local SID. For VXLAN-to-SRv6 service interworking, no new SRv6 SID is needed. The interworking node allocates a VNI for the service and advertises it to the VXLAN domain. On receiving a VXLAN packet carrying that VNI, the interworking node removes the VXLAN encapsulation and performs IPv6 encapsulation, where the IPv6 destination address is the SRv6 service SID that the remote PE advertised with the service prefix. The procedures for distributing SIDs, VNIs, and VXLAN tunnel endpoint information are outside the scope of this document. They may be provisioned by a control plane or by configuration. 2. Conventions and Terminology 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. The following terms are used in this document: EVPN: Ethernet VPN. FIB: Forwarding Information Base. MTU: Maximum Transmission Unit. PE: Provider Edge. SID: Segment Identifier. SRH: Segment Routing Header. SRv6: Segment Routing over IPv6. SRv6 SID: An IPv6 address identifying an SRv6 endpoint behavior, as defined in [RFC8986]. VXLAN: Virtual eXtensible Local Area Network. VNI: VXLAN Network Identifier, a 24-bit identifier defined in [RFC7348]. VTEP: VXLAN Tunnel Endpoint. Service context: Local forwarding state associated with a SID, including its VNI, VXLAN underlay information, and any service information required to construct the inner Ethernet frame. 3. Service Interworking Model An SRv6 domain delivers an IPv6 packet to the gateway with a service SID on top. The packet payload is an IPv4 packet, an IPv6 packet, or an Ethernet frame, depending on the service. The gateway removes the outer IPv6 header and its extension headers, applies the SID's behavior, and sends the resulting VXLAN packet to a VTEP using the configured VXLAN underlay. End.DXV4 and End.DXV6 receive IP packets. Since VXLAN carries an inner Ethernet frame, the gateway constructs an Ethernet header for these packets using the service context before adding the VXLAN header. End.DXV2 receives an Ethernet frame and preserves that frame as the VXLAN inner frame. The SID-to-VNI association and the VXLAN underlay parameters MUST be provisioned consistently at the gateway. How those parameters are distributed is outside the scope of this document. 4. SRv6 Endpoint Behaviors This section defines three endpoint behaviors for service interworking from SRv6 to VXLAN. A SID for any of these behaviors MUST be the last segment in an SR Policy [RFC9256]. 4.1. Common Processing The DXV endpoint behavior is the "Endpoint behavior with decapsulation and push of a VXLAN header (containing the VNI)". Each SID for a behavior in this section MUST be associated with one service context containing its VNI and VXLAN underlay information. The VXLAN header format is described in [RFC7348]. The pushed 8-octet VXLAN header MUST have the I flag set, all reserved fields set to zero, and the 24-bit VNI field set to the VNI associated with the SID. The outer UDP/IP encapsulation MUST use the configured VXLAN underlay information. 4.2. End.DXV4 End.DXV4 is for IPv4 Layer 3 VPN/EVPN services. The expected upper- layer header type is 4 (IPv4). When N receives a packet destined to S, where S is a local End.DXV4 SID, N does: S01. When an SRH is processed { S02. If (Segments Left != 0) { S03. Send an ICMP Parameter Problem to the Source Address, Code 0 (Erroneous header field encountered), Pointer set to the Segments Left field, interrupt packet processing and discard the packet. S04. } S05. Proceed to process the next header in the packet S06. } When processing the upper-layer header of a packet matching a FIB entry locally instantiated as an End.DXV4 SID, N does: S01. If (Upper-Layer Header type == 4 (IPv4)) { S02. Remove the outer IPv6 header with all its extension headers S03. Push a VXLAN header containing the VNI associated with S S04. Add the configured outer UDP/IP encapsulation S05. Forward the packet toward the configured VTEP S06. } Else { S07. Discard the packet S08. } 4.3. End.DXV6 End.DXV6 is for IPv6 Layer 3 VPN/EVPN services. The expected upper- layer header type is 41 (IPv6). When N receives a packet destined to S, where S is a local End.DXV6 SID, N does: S01. When an SRH is processed { S02. If (Segments Left != 0) { S03. Send an ICMP Parameter Problem to the Source Address, Code 0 (Erroneous header field encountered), Pointer set to the Segments Left field, interrupt packet processing and discard the packet. S04. } S05. Proceed to process the next header in the packet S06. } When processing the upper-layer header of a packet matching a FIB entry locally instantiated as an End.DXV6 SID, N does: S01. If (Upper-Layer Header type == 41 (IPv6)) { S02. Remove the outer IPv6 header with all its extension headers S03. Push a VXLAN header containing the VNI associated with S S04. Add the configured outer UDP/IP encapsulation S05. Forward the packet toward the configured VTEP S06. } Else { S07. Discard the packet S08. } 4.4. End.DXV2 End.DXV2 is for Layer 2 virtual services. The expected upper-layer header type is 143 (Ethernet). When N receives a packet destined to S, where S is a local End.DXV2 SID, N does: S01. When an SRH is processed { S02. If (Segments Left != 0) { S03. Send an ICMP Parameter Problem to the Source Address, Code 0 (Erroneous header field encountered), Pointer set to the Segments Left field, interrupt packet processing and discard the packet. S04. } S05. Proceed to process the next header in the packet S06. } When processing the upper-layer header of a packet matching a FIB entry locally instantiated as an End.DXV2 SID, N does: S01. If (Upper-Layer Header type == 143 (Ethernet)) { S02. Remove the outer IPv6 header with all its extension headers S03. Preserve the inner Ethernet frame S04. Push a VXLAN header containing the VNI associated with S S05. Add the configured outer UDP/IP encapsulation S06. Forward the packet toward the configured VTEP S07. } Else { S08. Discard the packet S09. } 5. Service Interworking Procedures 5.1. Translation between VNI and SRv6 service SIDs This procedure provides service interworking in both directions between SRv6 service PEs and EVPN VXLAN PEs. The interworking node participates in the SRv6 service control plane and the EVPN control plane. It translates eligible EVPN service routes into SRv6 service routes, and SRv6 service routes into EVPN service routes. For the SRv6-to-VXLAN direction, the interworking node associates each advertised SID with the corresponding VNI and VXLAN VTEP information: * The interworking node learns Layer 2 and Layer 3 service routes from EVPN VXLAN PEs, including the VNI and VXLAN forwarding information required for the service. * For each service route, the interworking node allocates an SRv6 SID according to the service type: End.DXV4 for IPv4 Layer 3 VPN/EVPN, End.DXV6 for IPv6 Layer 3 VPN/EVPN, or End.DXV2 for a Layer 2 virtual service. * The interworking node advertises the service route and its SRv6 service SID to SRv6 service PEs using the applicable BGP SRv6 service procedures [RFC9252]. * The interworking node installs a local service context associating the SID with the VNI, VXLAN VTEP, and any inner-Ethernet-header information required by End.DXV4 or End.DXV6. When an SRv6 service PE sends traffic to the advertised SID, the interworking node executes the corresponding End.DXV behavior and forwards the resulting VXLAN packet to the EVPN VXLAN PE. The forwarding operation uses the local SID service context. For the VXLAN-to-SRv6 direction, no new SRv6 endpoint behavior or SRv6 SID is needed at the interworking node: * The interworking node learns service routes from SRv6 service PEs, including the SRv6 service SID that each PE advertised with the service prefix [RFC9252]. * For each service, the interworking node allocates a local VNI and advertises the service route with that VNI and its own VTEP address to EVPN VXLAN PEs [RFC8365]. * The interworking node installs a local forwarding entry mapping the allocated VNI to the SRv6 service SID advertised by the SRv6 service PE. When an EVPN VXLAN PE sends a VXLAN packet carrying the allocated VNI, the interworking node removes the outer IP/UDP and VXLAN headers (pops the VXLAN encapsulation) and selects the forwarding entry identified by the VNI; no lookup is performed on the payload. For Layer 3 services, the inner Ethernet header is also removed. The interworking node then performs IPv6 encapsulation of the payload, where the IPv6 destination address is the SRv6 service SID mapped to the VNI, as per the H.Encaps or H.Encaps.Red behavior [RFC8986], and forwards the packet into the SRv6 domain. The SRv6 service PE then processes the packet using its own SRv6 service SID (for example, End.DT4, End.DT6, End.DT46, End.DX2, or End.DT2U [RFC8986]). Figure 1 illustrates service translation on the interworking (IW) border node between an EVPN VXLAN PE (PE1) and an SRv6 service PE (PE2). Each domain exchanges service routes with the IW node, possibly through its own service route reflectors (S-RR). +-------------+ +-------------+ | ..|S-RR|.. | | ..|S-RR|.. | | : +----+ : | | : +----+ : | | : : | | : : | |----+ +-------------------------------------------------+ +----| |PE1 | | IW border node | | PE2| |----+ | End.DXV SID -> VNI, VTEP PE1 | +----| | | VNI -> H.Encaps to PE2 SRv6 SID | | | +-------------------------------------------------+ | | VXLAN | | SRv6 | +-------------+ +-------------+ <--EVPN VXLAN-> <--SRv6 VPN---> Figure 1: Service translation The route translation and forwarding in each direction are: SRv6-to-VXLAN control plane: EVPN VXLAN PE --(EVPN route, VNI/VTEP)--> Interworking node Interworking node --(SRv6 route, SID)--> SRv6 service PE SRv6-to-VXLAN data plane: SRv6 service PE --(packet to End.DXV SID)--> Interworking node Interworking node --(VXLAN packet, VNI)--> EVPN VXLAN PE VXLAN-to-SRv6 control plane: SRv6 service PE --(SRv6 route, service SID)--> Interworking node Interworking node --(EVPN route, allocated VNI/VTEP)--> EVPN VXLAN PE VXLAN-to-SRv6 data plane: EVPN VXLAN PE --(VXLAN packet, allocated VNI)--> Interworking node Interworking node --(IPv6 pkt to PE service SID)--> SRv6 service PE 6. Service Provisioning and Forwarding Each local End.DXV4, End.DXV6, or End.DXV2 SID MUST be associated with exactly one service context. The service context MUST identify the VNI and the VXLAN underlay parameters needed to construct the outer encapsulation and select the VTEP. For End.DXV4 and End.DXV6, the service context MUST also provide the information required to construct the inner Ethernet header. This document does not define how that information is learned or selected. A gateway MUST NOT forward a packet using a VNI or underlay context that is not associated with the destination SID. The control-plane procedures for advertising or installing these associations are outside the scope of this document. 7. MTU Considerations VXLAN encapsulation adds outer IP, UDP, and VXLAN headers. End.DXV4 and End.DXV6 also add an inner Ethernet header. Deployments MUST account for this overhead when setting the SRv6-domain MTU and the VXLAN underlay MTU. A gateway SHOULD avoid fragmentation and SHOULD handle packets exceeding the effective path MTU according to the applicable IPv4 and IPv6 requirements. 8. Security Considerations These behaviors decapsulate an IPv6 packet and transmit the payload into a VXLAN service. Incorrect SID-to-VNI or SID-to-VTEP configuration could cause traffic to be delivered to an unintended service. Implementations MUST validate local SID and service-context associations and MUST NOT accept a VNI or VTEP selected solely from untrusted packet contents. VXLAN does not provide confidentiality or integrity protection. Deployments requiring those properties need appropriate protection in the underlay. Operators should also consider the larger encapsulated packet size, source-address validation, and controls against unauthorized traffic entering a VNI. 9. IANA Considerations IANA is requested to allocate three values in the "SRv6 Endpoint Behaviors" sub-registry under the "Segment Routing Parameters" registry [IANA-SR] as follows: +-------------+--------+-------------------------+------------------+ | Value | Hex | Endpoint behavior | Reference | +-------------+--------+-------------------------+------------------+ | TBD | TBD | End.DXV4 | This document | +-------------+--------+-------------------------+------------------+ | TBD | TBD | End.DXV6 | This document | +-------------+--------+-------------------------+------------------+ | TBD | TBD | End.DXV2 | This document | +-------------+--------+-------------------------+------------------+ End.DXV4 is for IPv4 Layer 3 VPN/EVPN to VXLAN, End.DXV6 is for IPv6 Layer 3 VPN/EVPN to VXLAN, and End.DXV2 is for Layer 2 virtual services to VXLAN. 10. References 10.1. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, . [RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, . [IANA-SR] IANA, "Segment Routing Parameters", . [RFC8986] Filsfils, C., et al., "Segment Routing over IPv6 (SRv6) Network Programming", RFC 8986, DOI 10.17487/RFC8986, February 2021, . [RFC9252] Dawra, G., Ed., et al., "BGP Overlay Services Based on Segment Routing over IPv6 (SRv6)", RFC 9252, DOI 10.17487/RFC9252, October 2022, . [RFC9256] Filsfils, C., et al., "Segment Routing Policy Architecture", RFC 9256, DOI 10.17487/RFC9256, May 2022, . 10.2. Informative References [I-D.ietf-spring-srv6-mpls-interworking] Agrawal, S., et al., "SRv6 and MPLS interworking", Work in Progress, Internet-Draft, draft-ietf-spring-srv6-mpls-interworking-03, 11 August 2026, . [RFC7348] Mahalingam, M., et al., "Virtual eXtensible Local Area Network (VXLAN): A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks", RFC 7348, DOI 10.17487/RFC7348, August 2014, . [RFC8365] Sajassi, A., Ed., et al., "A Network Virtualization Overlay Solution Using Ethernet VPN (EVPN)", RFC 8365, DOI 10.17487/RFC8365, March 2018, . Acknowledgments The authors would like to acknowledge the contributors and reviewers who provide feedback on this document. Venkataraman, Vasudevan Contributors Authors' Addresses Rajesh Shetty M HPE Email: rajesh.manur@hpe.com Santhanakrishnan, Ramprasad HPE Email: ramprasad.santhanakrishnan@hpe.com Hegde, Shraddha HPE Email: shraddha.hegde@hpe.com