| Internet-Draft | extended ip mobility procedures | October 2026 |
| Narayanan, et al. | Expires 20 April 2027 | [Page] |
[RFC9721] introduces IP mobility procedures for EVPN-IRB that couple IP and MAC mobility sequence numbers. This coupling results in excessive control plane churn when a single IP migrates among multiple IP addresses associated with a single MAC address. This document proposes separating sequence number spaces for IP mobility (MAC-IP routes) and MAC mobility (MAC-only routes), reducing BGP updates from O(N) to O(1) when one IP moves among N IPs on a MAC, while maintaining full compatibility with an implementation conforming to the recommendations of [RFC9721]. Further, this document proposes an upgrade path for deployments transitioning to IP mobility as defined in [RFC9721] or this draft.¶
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 20 April 2027.¶
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.¶
The mobility procedures defined in [RFC9721] address the use case of determining the most recent IP-MAC binding when IP addresses and MAC addresses move independently in an EVPN overlay network. While this IP binding change is a common use case considered in [RFC9721], there are additional cases where the procedures defined in [RFC9721] may prove sub-optimal, causing severe control plane convergence overhead.¶
The following is an exhaustive list of IRB mobility scenarios that are considered:¶
The above cases are discussed in detail in sections 4.1.1 - 4.1.3.¶
While recommendations specified in [RFC9721] efficiently handle the cases 1-2, and case-3 when there are no IP addresses already associated with the destination MAC. Case-3 poses a unique challenge when there are already one or more IP addresses associated with the MAC. If the IP address moves to a new MAC address with a lower sequence number, the mobility procedures necessitate that the MAC-only and MAC-IP routes' sequence numbers be updated to a higher value to allow for the control plane to converge correctly. However, in case-3, since there are multiple IP addresses already associated with the target MAC address - following the recommendations would mean that one IP address moving would result in multiple EVPN RT-2 updates. The resulting overhead is directly proportional to the number of IP addresses mapped to the target MAC address.¶
This document updates the sequence number assignment procedures defined in [RFC9721] to handle this case, and have the control plane converge more efficiently without loss of determinism. While doing so, the recommendations of this draft remain fully compatible with another implementation that conforms to the recommendations of [RFC9721]. This document also covers the upgrade mechanism for an implementation conforming to [RFC7432] to upgrade to the recommendations outlined in this draft. Further, the draft also discusses the applicability for hosts behind an ESI multihoming to multiple PE devices.¶
Similar to [RFC9721], the mobility procedures defined in this draft apply to the following cases independent of the overlay encapsulation ( e.g, MPLS, SRv6, VXLAN )¶
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 BCP14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This sections discusses the necessary background topics relevant to the mobility procedures as presented in the existing RFC literature ([RFC7432] and [RFC9721])¶
In EVPN-IRB deployments, the reachability of the MAC address in the overlay network is derived from both the MAC-only and MAC-IP EVPN RT-2 routes. In such a scenario, [RFC7432] suggests that advertising the MAC-only route may be optional, as the MAC-IP route conveys all of the following:¶
As discussed in section 6.1 of [RFC9721], consider a deployment where MAC-IP routes and MAC-only routes pertaining to the same MAC address are advertised, but with different sequence numbers. The sequence number used for determining the reachability of the MAC address MUST be the highest of all alternatives available for the same MAC address across all MAC-only and MAC-IP routes.¶
Whereas, for the IP-MAC binding determination and IP address reachability determination for routing purposes, the sequence number attached to the corresponding MAC-IP route may be used.¶
The MAC-IP routes are considered children of the associated MAC-only route for the purposes of sequence number assignment. In other words, a local MAC-IP route always inherits the sequence number of the parent local MAC-only route. Further, if an IP move necessitates that we increase the sequence number of a MAC-IP route, the sequence number of the parent MAC-only route is updated, this directly results in sequence number update of all the child MAC-IP EVPN RT-2 routes.¶
In a scenario with hosts behind an all-active multihomed ESI, two or more PE devices could potentially advertise the same MAC-IP EVPN RT-2 routes. In such cases, [RFC9721] stipulates that the sequence number advertised for the MAC-only and all associated MAC-IP routes corresponding to the MAC address be synchronized to the higher value of the competing sequence numbers used across all the PEs with the same ES.¶
As a result, the MAC-only route and all the child MAC-IP routes from all the PEs in an ES will share the same sequence number.¶
This section describes the various mobility scenarios in EVPN-IRB deployment. Particularly, Section 4.1.3 highlights the shortcomings of the existing mobility procedures in tackling the mobility use case, and the motivation for the procedures introduced in this draft¶
The following procedures for addressing the following host mobility cases are discussed in this document:¶
This is the baseline scenario, and the most common one where the host's MAC address and IP address move to a new endpoint together. The existing MAC mobility procedures defined in [RFC7432], and updated in [RFC9721] are sufficient to cater to this use case.¶
In this scenario, a host's MAC address moves to a different endpoint in the overlay network, and acquires a new IP address. The recommendations as per [RFC7432] and [RFC9721] are sufficient to cater to this use case as well.¶
+------------------------+
| Underlay Network Fabric|
+------------------------+
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+
| PE1 | | PE2 | | PE3 | | PE4 | | PE5 | | PE6 |
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+
\ / \ / \ /
\ ESI-1 / \ ESI-2 / \ ESI-3 /
\ / \ / \ /
+\---/+ +\---/+ +\---/+
| \ / | | \ / | | \ / |
+--+--+ +--+--+ +--+--+
| | |
Server1 Server2 Server3
| | |
IP1-M1, IP2-M2 IP3-M3, IP4-M4 IP5-M5, IP6-M6
Consider M1 moving from ESI-1 to ESI-2 and acquiring a new IP address - IP7¶
When PE3/ PE4 chooses a sequence number for advertising IP7-M1, it considers the following:¶
The sequence number M1 was associated with in the overlay - S(M1): S(M1) will be the highest of the sequence numbers of all the MAC-only and MAC-IP EVPN RT-2 routes associated with M1. This is regardless of¶
Now, PE3/ PE4 would advertise MAC-IP for IP7-M1, and optionally a MAC-only for M1 with a sequence number of S(M1) + 1¶
In this scenario, a host's IP address moves to a different MAC address in the overlay network. The destination MAC address may be associated with one or more other IP addresses already.¶
This is the most interesting case as far as this document is concerned:¶
This can be illustrated with the following example:¶
+------------------------+
| Underlay Network Fabric|
+------------------------+
+-----+ +-----+ +-----+ +-----+
| PE1 | | PE2 | | PE3 | | PE4 |
+-----+ +-----+ +-----+ +-----+
\ / \ /
\ ESI-1 / \ ESI-2 /
\ / \ /
+\---/+ +\---/+
| \ / | | \ / |
+--+--+ +--+--+
| |
Server1 Server2
|
IP1-M1, IP2-M2 IP3,IP4,IP5,..IP9-M3
(Seq-2) (Seq-0)
Consider the above depicted scenario where the:¶
When IP1 moves from Server-1 to Server-2, PE3/ PE4 considers the following while picking a sequence number to advertise the new binding with:¶
S(M3) = 0¶
S(IP1) = 2¶
The new sequence number for advertising IP1-M3 would be max(S(M3), S(IP1)) +1 = 3¶
However, [RFC9721] recommends that an update in sequence number for one MAC-IP route, requires a re-advertisement of all the other MAC-IP routes associated with M3.¶
In this case - IP1 moving from Server-1 to Server-2 would result in an update to the following:¶
One IP moving, results in at least 8 path updates without including the update to the optional MAC-only route. The number of updates directly scales with the number of IP addresses associated with the given MAC in the server.¶
The solution components and sequence number scheme presented in this draft takes into account the following:¶
This section illustrates the effects on MAC-only routes and MAC-IP routes without the requirement of sequence number inheritance.¶
The requirement for identical sequence numbers stems from the fact that MAC-only routes are optional and MAC reachability can be derived from MAC-IP routes.¶
However, to ensure MAC-IP and MAC-only routes provides reachability to a MAC originated by the same PE device, it is sufficient to ensure either MAC-only or MAC-IP routes originated by the same PE for the same MAC has a sequence number greater than or equal to the sequence number for the MAC originated by another PE/ Ethernet Segment.¶
The BGP bestpath picks routes based on the sequence numbers attached:¶
This draft permits MAC-IP routes to have sequence numbers different from those of their MAC-only counterparts, provided that MAC reachability remains consistent.¶
While it is strictly not required for correctness, the draft proposes that the sequence numbers in the MAC-IP routes are at least as high as the sequence numbers in the corresponding MAC-only route if present. This helps better traceability of MACs and their corresponding MAC-IP routes.¶
This is the base case, and the MAC-only route plays no role in determining IP-MAC bindings and determining routing reachability for an IP address in the EVPN overlay network. Regardless of the sequence number contained in the MAC-only route, the sequence numbers in the MAC-IP route are sufficient to point to the correct PE.¶
The following sub sections discuss the scheme for sequence number assignment on various events that would require a sequence number recompute:¶
Regardless of whether a deployment chooses to advertise a MAC-only route, the local Mac route Mx sequence number MUST be computed as follows:¶
If a MAC-only route needs to be advertised, it shall use the sequence number computed above.¶
Local sequence number for MAC Mx MUST be computed first if not present. A local Mx-IPx sequence number MUST be computed as follows:¶
The sequence number for the MAC-only route for MAC Mx remains unchanged.¶
Upon receiving a remote MAC route update or a MAC-IP route update that's associated with MAC Mx carrying either a zero-ESID or a non-zero non-local ESID, with a sequence number that is¶
The following actions are REQUIRED on the receiving PE:¶
If the said update is a MAC-IP route with IPx, the receiving PE is REQUIRED to do the following in addition to the above:¶
Due to the removal of the requirement for sequence number inheritance in the proposed scheme, IP move across endpoints result in less number of route updates.¶
Consider the following scenario:¶
I1 moves to be behind PE2, and is now associated with MAC M2.¶
RFC9721 scheme: Mobility scheme as per [RFC9721] would have required all the routes associated with MAC M2 from PE2 to be updated to sequence number 6, resulting in a total of at least 10 route updates.¶
Route Updates with mobility scheme prescribed above: The mobility scheme prescribed above will result in exactly one route update from PE2 for I1-M2 MAC-IP route with a sequence number 6.¶
Consider the following scenario:¶
I1 moves to be behind ES1, and is now associated with MAC M2.¶
[RFC9721] scheme: The sequence number recomputation would result in the MAC M2's sequence number to be picked as 6, and this would result in route update for all the routes associated with MAC M2 from both PE2 and PE3, resulting in a total of at least 20 route updates¶
Route Updates with mobility scheme prescribed above¶
When MAC route is not advertised by PEs when MAC-IP is present:¶
Note that there's no change in either the MAC-only route's sequence number nor a change in the MAC-IP route's sequence number for IPs I2 through I10. There's exactly two updates that are required to conform to the scheme.¶
Similar to the extended mobility procedures defined in [RFC9721], the procedures defined in this draft are not backwards compatible with the procedures defined in [RFC7432]. An IP address moves from a speaker with extended mobility procedures defined in this draft to a speaker with mobility procedures according to [RFC7432], the resulting MAC-IP route does not trigger a re-compute, and instead acquires the current sequence number of the MAC route.¶
If the MAC route's sequence number happens to be lower than the original MAC-IP route, the speaker with extended mobility procedures will be unable to remove the stale MAC-IP route because the remote route has a lower sequence number than the advertised one. This necessitates the entire network to be upgraded to use the extended scheme for correctness. This section discusses procedures to allow a network with [RFC7432] EVPN speakers to upgrade to the extended mobility scheme discussed in this draft.¶
Under the recommendations of [RFC7432], it is left to a specific implementation on how a PE picks a winner when there exists multiple MAC-IP routes for a given IPx. Among the alternatives, a functional implementation that supports IP moves across MACs would pick the latest advertised MAC-IP route as the winner. Under the assumption that an [RFC7432] picks the latest MAC-IP route as the winner, we introduce a new "advertise-only" mode to help upgrade the network to the scheme discussed in this draft.¶
This is an intermediate mode in which the PE advertises routes by picking sequence numbers according to the scheme discussed in this draft. However, it continues to pick the winning route based on the latest received route criterion ( the [RFC7432] compliant ).¶
This operating procedure allows this mode to be compatible with both [RFC7432] mobility procedures, and the extended mobility procedures defined in this draft.¶
When a network where all the PEs are operating with [RFC7432] sequence number scheme has to be migrated to use the extended scheme covered in this draft, we first have all the PEs operate in advertise-only mode, prior to moving the PEs to follow the scheme recommended in this draft. This ensures that at no point in time, we have PEs that are not compatible with each other in terms of mobility schemes.¶
While the advertise-only mode is discussed for the mobility scheme prescribed in this draft, it does equally apply when one wants to upgrade their network with PEs speaking [RFC7432] mobility scheme to the scheme dictated in [RFC9721].¶
Consider a (i) PE (PE1) that follows the recommendations of [RFC7432] and picks the winning MAC-IP route based on the latest received route criterion (ii) another PE (PE2) that follows the recommendations of this draft operating in advertise-only mode. Following cases are discussed when these PEs interop with each other:¶
PE2 increments the sequence number of the MAC-IP route, PE1 picks the incoming MAC-IP route as the winner based on recency of the route¶
PE1 may advertise the MAC-IP route for IP-M1 with a lower sequence number, but advertise-only mode in PE2 allows it to pick the incoming MAC-IP route as the winner based on recency disregarding the higher sequence number in locally originated MAC-IP route for IP-M2¶
Consider a (i) PE (PE1) that follows the recommendations of this draft NOT operating in advertise-only mode, and (ii) another PE (PE2) that follows the recommendations of this draft operating in advertise-only mode. Following cases are discussed when these PEs interop with each other:¶
PE2 increments the sequence number of the MAC-IP route, PE1 picks the incoming MAC-IP route as the winner based on the higher sequence number criteria¶
Upon move to PE1, it advertises the MAC-IP route for IP-M1 with a higher sequence number, but advertise-only mode in PE2 picks the incoming MAC-IP route as the winner based solely on recency.¶
While the previous section describes the upgrade pathway from [RFC7432] mobility scheme to either [RFC9721] scheme or the mobility scheme prescribed in this draft, this section covers the interoperability of PEs operating in [RFC9721] scheme and the mobility scheme in this draft. The mobility schemes are completely compatible with each other.¶
+------------------------+
| Underlay Network Fabric|
+------------------------+
+-----+ +-----+
RFC9721 | PE1 | | PE2 | current draft
compliant +-----+ +-----+ compliant
| |
Host1 Host2
M1 / I1 M2 / I2, I3
MAC M1: 2 MAC M2: 5
MAC-IP I1/M1: 2 MAC-IP I2/M2: 3
MAC-IP I3/M2: 7
Consider the following:¶
The following interoperability scenarios are considered between PE1, which follows [RFC9721], and PE2, which follows the procedures in this draft. The scenarios cover both IP moves and MAC moves, including cases where MAC-IP bindings are learned in different orders.¶
There is a total of 1 route update from PE2¶
There are a total of 3 route updates from PE1¶
All the routes require an update when the MAC moves¶
Regardless of whether IP-MAC binding is learned first or whether the MAC is learned first, the scheme dictates that the sequence number of the MAC is computed first, and then subsequently used in the computation of the sequence number for the MAC-IP route.¶
Here are the sequence of events:¶
All the routes require an update when the MAC moves¶
All the routes require an update when the MAC moves¶
The security considerations discussed in [RFC9721] apply to this draft as well.¶
This document has no IANA actions.¶