rfc-9625

EVPN Optimized Inter-Subnet Multicast (OISM) Forwarding

W. Lin, Z. Zhang, J. Drake, E. Rosen (Editor), J. Rabadan, A. Sajassi
date2024-08 streamIETF areartg wgbess statusPROPOSED STANDARD pages63 canonicalhttps://www.rfc-editor.org/rfc/rfc9625 doi10.17487/RFC9625
Ethernet VPN (EVPN) provides a service that allows a single Local Area Network (LAN), comprising a single IP subnet, to be divided into multiple segments. Each segment may be located at a different site, and the segments are interconnected by an IP or MPLS backbone. Intra-subnet traffic (either unicast or multicast) always appears to the end users to be bridged, even when it is actually carried over the IP or MPLS backbone. When a single tenant owns multiple such LANs, EVPN also allows IP unicast traffic to be routed between those LANs. This document specifies new procedures that allow inter-subnet IP multicast traffic to be routed among the LANs of a given tenant while still making intra-subnet IP multicast traffic appear to be bridged. These procedures can provide optimal routing of the inter-subnet multicast traffic and do not require any such traffic to egress a given router and then ingress that same router. These procedures also accommodate IP multicast traffic that originates or is destined to be external to the EVPN domain.

Extracted elements (26)

design-rationale §2.6

It is RECOMMENDED that the default IP multicast tunnels be distinct from the BUM tunnels when P2MP tunnels are used. Using shared BUM tunnels forces PEs interested only in IP multicast to pull all BUM traffic from source BDs to which they have no local ACs, causing unnecessary bandwidth consumption.

routing, mpls

design-rationale §2.5

SMET routes scoped to the SBD rather than individual BDs enable inter-subnet ASM multicast routing without requiring PIM Rendezvous Points, shared trees, or other PIM RP infrastructure, as long as all sources and receivers remain within the Tenant Domain.

routing

design-rationale §2.1

The SBD concept allows a PE not provisioned with a source BD to still forward inter-subnet multicast correctly by treating all such frames as having originated from the SBD. This avoids requiring every PE to be provisioned with every BD in the Tenant Domain.

routing

interoperability-note §6.1.2

Interworking between EVPN OISM and MVPN domains is handled by an MEG (MVPN/EVPN Gateway), which must perform both OISM and MVPN Layer 3 multicast procedures. The solution must support heterogeneous tunneling, e.g., MVPN using MPLS P2MP while EVPN uses IR or VXLAN.

routing, mpls, vpn

interoperability-note §6.1.4

Interworking with external PIM domains is handled by a PEG (PIM/EVPN Gateway). The PEG manages First Hop Router / Last Hop Router responsibilities for sources and receivers crossing the EVPN boundary and must handle both ASM and SSM group models.

routing

interoperability-note §5

Interworking with non-OISM PEs (supporting only RFC 7432) requires an IP Multicast Gateway (IPMG) that interfaces OISM tunnels with the BUM tunnels of legacy PEs. The IPMG acts as the IPMG Designated Forwarder for the relevant BDs to avoid duplicate delivery when bridging between the two forwarding domains.

routing

normative-requirement §3.1 MUST

An EVPN PE supporting OISM MUST be provisioned with the SBD of each Tenant Domain to which it is attached. The SBD-RT MUST NOT be the same as the RT associated with any other BD; this restriction is necessary for the route-to-BD association rules to produce correct results.

routing

normative-requirement §1.5.1 MUST

An OISM PE provisioned with several BDs in the same Tenant Domain MUST originate an IMET route for each such BD. It SHOULD attach the EVPN Multicast Flags Extended Community to each such IMET route but MUST attach it to at least one.

routing

normative-requirement §1.5.1 MUST

An OISM PE SHOULD attach the Multicast Flags Extended Community with the OISM-supported flag set to all IMET routes it originates. If PE1 imports IMET routes from PE2 and at least one indicates PE2 is an OISM PE, PE1 MUST assume PE2 follows OISM procedures for all BDs in the Tenant Domain.

routing

normative-requirement §2.3 MUST

At an ingress PE, an IP multicast frame received from an AC is (1) tunneled unchanged to interested remote PEs, and (2) sent up the BD's IRB interface for inter-subnet forwarding. IP multicast sent down a non-SBD IRB interface goes ONLY to local ACs of that BD; remote delivery has already occurred via step 1.

routing, mpls

normative-requirement §3.2.2 MUST

If an egress PE withdraws its IMET route for a source BD, the ingress PE MUST immediately stop using the label from that IMET route and MUST use the SBD-IMET label from that egress PE instead. Implementations must handle BD-specific IMET routes arriving after the SBD-IMET route.

routing, mpls

normative-requirement §3.3 MUST

If receivers for (*,G) exist in a given Tenant Domain, there MUST NOT be anycast sources for group G within that Tenant Domain. Unlike PIM's RPF-based deduplication, OISM distributes all (S,G) flows with the same anycast source address independently, causing duplicate delivery to (*,G) receivers.

routing, security

normative-requirement §2.6 MUST

Link-local IP multicast traffic (IPv4 224/24 and IPv6 FF02/16) MUST always be carried on the BUM tunnels and ONLY on the BUM tunnels. Such traffic is excluded from the definition of 'IP multicast packet' for all other OISM procedures.

routing, mpls

normative-requirement §3.3 MUST

PEs in a Tenant Domain MUST be provisioned to know which of three SMET-origination cases applies: no BD has a multicast router (Case 1), more than one BD may (Case 2), or exactly one BD may (Case 3). In Case 2, per-BD SMET routes MUST NOT be originated to avoid duplicate ingress of externally-sourced traffic.

routing

normative-requirement §3.2.6 MUST

S-PMSI A-D routes for selective tunnels MUST carry the SBD-RT so all Tenant Domain PEs import them. Each such route MUST also carry the RT of the source BD and have the source BD's Tag ID in its NLRI. For RSVP-TE P2MP selective tunnels, the LIR flag of the PTA SHOULD NOT be set because OISM PEs know which egress PEs are interested.

routing, mpls

normative-requirement §2.2 MUST

The IMET route for the SBD MUST carry a Multicast Flags Extended Community in which the OISM SBD flag is set. IMET routes for non-SBD BDs SHOULD carry an EVI-RT EC constructed from the SBD-RT to indicate the BD's corresponding SBD.

routing

normative-requirement §1.2.3 MUST

To support OISM procedures, an EVPN PE MUST also support RFC 9135 (IRB) and RFC 9251 (intra-subnet selective multicast). Certain procedures in RFC 9251 are modified when OISM is supported.

routing, mpls

normative-requirement §3.3 MUST

Traffic originating in an actual BD MUST NOT be sent down the SBD IRB interface, as that traffic has already been distributed throughout the Tenant Domain via inter-PE tunneling. The SBD IRB interface OIF list must exclude locally-sourced intra-domain traffic to prevent duplicate delivery.

routing

normative-requirement §1.5.1 MUST

Under OISM, IMET routes for a particular BD are distributed to all PEs attached to the Tenant Domain, not just those attached to that BD. SMET routes are originated per-Tenant-Domain (for the SBD) rather than per-BD, carrying the SBD-RT so every ingress PE learns the interest of every egress PE.

routing

normative-requirement §2.2 MUST

When a received IMET, SMET, S-PMSI, or Leaf route contains conflicting or ambiguous Route Targets (e.g., SBD-RTs from multiple Tenant Domains, or RTs from two different ordinary BDs), the route MUST be treated as malformed and the treat-as-withdraw procedure of RFC 7606 MUST be applied.

routing, security

normative-requirement §3.2.4 MUST

When BIER is used and an EVPN PE may be an ingress for externally-sourced traffic, that PE MUST originate an SBD-IMET route. IMET routes for all other BDs in the Tenant Domain MUST carry the SBD-RT, and every IMET route MUST carry a PTA with an upstream-assigned MPLS label uniquely identifying its source BD.

routing, mpls

normative-requirement §3.2.2 MUST

When IR is used, each EVPN PE MUST originate an SBD-IMET route. The SBD-IMET route MUST carry a PTA whose MPLS Label field specifies a downstream-assigned label mapping uniquely to the SBD at the originating PE.

routing, mpls

protocol-element §2.1

Each Tenant Domain must be associated with a Supplementary Broadcast Domain (SBD). The SBD is treated as a real BD in the control plane but has no Attachment Circuits. It serves as the apparent source BD when a receiving PE is not attached to the actual source BD of a tunneled frame.

routing, mpls

protocol-element §2.2

Five cases govern how a receiving PE associates an incoming route with a BD. Case 4 covers routes carrying only the SBD-RT (route belongs to SBD regardless of Tag ID). Case 5 covers routes carrying both an ordinary BD-RT and the SBD-RT (route belongs to the ordinary BD, not the SBD).

routing

security-consideration §9

The OISM control plane relies on BGP Route Target communities to scope route distribution; the route-validation rules in Section 2.2 require treat-as-withdraw for routes carrying ambiguous or conflicting RTs, guarding against misconfigured or malicious route advertisements that could misdirect multicast forwarding state.

security, routing

wire-format §3.2.4

For BIER encapsulation of OISM frames, a 4-octet MPLS label stack entry (RFC 3032) is prepended to the Ethernet frame with the Label field set to the upstream-assigned label for the source BD. The resulting MPLS packet is then encapsulated in a BIER encapsulation (RFC 8296) with the BIER Proto field set to indicate 'MPLS packet with upstream-assigned label at top of stack'.

routing, mpls