MPLS To SRV6
MPLS To SRV6
Evolution Guide
Authors: Fenghai Guo, Yan Liu
Copyright
Authors: Fenghai Guo, Yan Liu
Key Contributors: Lanjun Luo, Wei Shao, Menghuan Chen, Aishan Zhou
Release Date: 2023-08-14
Issue: 02
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and the
customer. All or part of the products, services and features described in this document may not be within the
purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information,
and recommendations in this document are provided "AS IS" without warranties, guarantees or
representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Preface
Author Introduction
Fenghai Guo: Senior engineer of Huawei's Information Digitalization and
Experience Assurance (IDEA) Department, DC. After joining Huawei in 2011, he
has been engaged in working on technical documentation for key features of
datacom products for a long time, and has developed multiple eBooks such as
EVPN.
Yan Liu: Engineer of Huawei's IDEA Department, DC. After joining Huawei in 2016,
she has been engaged in working on technical documentation for Huawei routers,
and has produced a series of SRv6-related technical videos named IP New
Technology Series (Advanced).
i
Preface
paths. After that, Chapter 6 provides examples for the detailed solution design of
the recommended direct evolution path. Finally, Chapter 7 introduces some
extended applications for SRv6 networks. Understanding these contents helps you
understand the strategies, solutions, and applications for the evolution from MPLS
to SRv6 in a more comprehensive and in-depth manner.
Intended Audience
This book is intended for network planning engineers, network design engineers,
mid- and senior-level managers at service providers and enterprises, and readers
who want to understand cutting-edge IP network technologies.
Symbol Conventions
ii
Preface
Acknowledgments
In writing and publishing this book, we received extensive help and support from
both inside and outside Huawei. We sincerely thank Meng Zuo, Zhigang Wang,
Zhenbin Li, Yanmiao Wang, Junlin Quan, Zhaokun Ding, Keyi Zhu, Yuefeng Qiu,
Wenjun Meng, Tao Han, Hongkun Li, Yue Liu, and other leaders and experts from
Huawei Data Communication Product Line for their guidance and support. Our
thanks also go to Hui Tian, Shujun Han, Danni Ma, and other experts from China
Academy of Information and Communications Technology, who not only provided
valuable technical guidance but also carefully reviewed the book.
This book focuses on the most cutting-edge IPv6 technologies, which are still
evolving and deepening. While we have made significant efforts to ensure
accuracy, there might be omissions or deficiencies in the book. Your comments
and feedback are warmly welcomed.
i
Preface
Table of Contents
ii
Table of Contents
Chapter 7 Summary and Outlook ............................................................................... 53
ii
Table of Contents
Chapter 1
Overview of Network
Evolution from MPLS to SRv6
Since its inception in 1996, Multiprotocol Label Switching (MPLS) has been widely
deployed on IPv4 backbone networks, metropolitan area networks (MANs), mobile
transport networks, and many other networks after nearly 30 years of
development However, no technology can stay in the center of the stage forever,
and MPLS is no exception. With the gradual popularization of IPv6, services such
as 5G and cloud services develop rapidly, imposing urgent requirements for the
upgrade and reconstruction of traditional IPv4/MPLS networks deployed by
carriers and enterprise users. In addition, to meet the higher requirements of 5G
and cloud services on networks, MPLS inevitably needs to continuously evolve.
So, what will MPLS evolve to? Segment Routing over IPv6 (SRv6) stands out with
many advantages, such as protocol simplification, high compatibility, and network
programmability, becoming the next-generation IP transport technology that is
most likely to replace MPLS. Of course, network technology updates do not occur
overnight. It is a gradual evolutionary process. During this process, various
evolution paths and implementation strategies emerge, each with its own
advantages and disadvantages. Carriers and enterprise users can select
appropriate solutions based on their own service status and network conditions to
smoothly upgrade their networks.
1
Overview of Network Evolution from MPLS to SRv6
Chapter 2
Background of Network
Evolution from MPLS to SRv6
IP networks have developed from the Internet era represented by IPv4 to the all-
IP era represented by MPLS, and are gradually entering the intelligent connectivity
era oriented to 5G and cloud services.
Focusing on the technical implementation of MPLS and the new requirements for
networks in the new era, we will discuss in detail why MPLS networks need to
evolve and in what direction they will evolve.
2
Background of Network Evolution from MPLS to SRv6
2.1 Challenges Facing MPLS Networks
Working as a Layer 2.5 technology, MPLS runs between Layer 2 and Layer 3. It
supports multiple network-layer protocols such as IPv4 and IPv6, and is compatible
with multiple link-layer technologies such as ATM and Ethernet. The combination
of IP and MPLS provides QoS guarantee on connectionless IP networks. In addition,
MPLS label-based forwarding resolves the issue of poor forwarding performance
on IP networks. This is why IPv4/MPLS became successful in a period of time.
However, with the advent of the 5G and cloud era, traditional IPv4/MPLS networks
face the following challenges:
As the Internet and cloud computing develop, more and more cloud data centers
(DCs) are built. To meet the requirements of multi-tenant networking, multiple
overlay technologies were proposed, among which Virtual eXtensible Local Area
Network (VXLAN) is a typical example. In the past, quite a few attempts were
made to provide VPN services by introducing MPLS to DCs. However, these
attempts all wound up in failure due to multiple factors, including numerous
network boundaries, complex management, and insufficient scalability.
MPLS has only a 20-bit label space, with fixed label fields and lengths. This means
that the scalability of the label space is poor. In addition, the 32-bit fixed encoding
format is adopted for MPLS label encapsulation. Although MPLS labels provide
3
Background of Network Evolution from MPLS to SRv6
certain scalability, as more and more new services develop and require packet
headers to be extended to carry data, MPLS faces more challenges.
When multiple services (such as L2VPN and L3VPN services) coexist, protocols
such as Label Distribution Protocol (LDP), Resource Reservation Protocol (RSVP),
IGP, and BGP may also coexist on devices. This leads to complex service
deployment and management, making it difficult to achieve large-scale service
deployment in the 5G and cloud era.
As shown in Figure 2-1, not only connectivity of everything but also intelligent
connectivity of everything will be realized in the 5G and cloud era. This new era
will also spawn various vertical industries, including smart home, smart city,
Internet of vehicles (IoV), and industrial control. The service characteristics of these
vertical industries vary greatly. For example, smart home requires networks to
support numerous device connections, and services such as IoV and industrial
control require ultra-high reliability and ultra-low latency.
4
Background of Network Evolution from MPLS to SRv6
Figure 2-1 Network requirements in the 5G and cloud era
5
Background of Network Evolution from MPLS to SRv6
Figure 2-2 Evolution from MPLS to SR-MPLS
The other option is to perform evolution from MPLS to SRv6, as shown in Figure
2-3. This evolution direction helps evolve an existing network from IPv4/MPLS to
SRv6.
6
Background of Network Evolution from MPLS to SRv6
Next, let's compare the advantages and disadvantages of the two evolution
directions from the following aspects.
Compatibility
An IP network typically involves multiple types of devices, which may be from
different vendors. As such, device compatibility is a very important factor for the
deployment of new technologies during network evolution.
If a transport network needs to evolve from MPLS to SR-MPLS, the following two
modes can be used, as shown in Figure 2-4.
Mode 1: MPLS/SR-MPLS dual stack In this mode, SR-MPLS can be deployed only
after the entire network is upgraded.
Mode 2: MPLS and SR-MPLS interworking In this mode, the Segment Routing
Mapping Server (SRMS) function needs to be deployed for each border node
between the MPLS and SR-MPLS domains to stitch together MPLS and SR LSPs.
7
Background of Network Evolution from MPLS to SRv6
Figure 2-4 Two modes for the evolution from MPLS to SR-MPLS
8
Background of Network Evolution from MPLS to SRv6
Figure 2-5 Evolution from MPLS to SRv6
Scalability
As described in the previous section, one of the disadvantages of MPLS is that
cross-domain deployment is difficult. Even if cross-domain MPLS VPN technologies
can meet cross-domain deployment requirements, these technologies are
complex, slowing down service provisioning. Although SR-MPLS provides
programmability, issues such as the poor extensibility of MPLS encapsulation
prevent SR-MPLS from meeting the requirements of Service Function Chaining
(SFC), In-situ Operations, Administration, and Maintenance (IOAM), and other
services, which require metadata to be carried. In addition, because MPLS labels
do not contain reachability information, they must be bound to routable IP
addresses. As such, in cross-domain scenarios, the binding between 32-bit host
routes and labels must be propagated across domains. On a large-scale network,
numerous MPLS entries need to be generated on border nodes, placing a heavy
burden on the control and forwarding planes and reducing network scalability.
One highlight of SRv6 is that it makes cross-domain deployment easier. The native
IPv6 attribute enables SRv6 to work based on aggregated routes. As such, only a
limited number of aggregated routes need to be imported to border nodes on a
large-scale cross-domain network. This not only reduces the requirements on
network device capabilities but also improves network scalability.
9
Background of Network Evolution from MPLS to SRv6
Programmability
SRv6 has stronger network programming capabilities than SR-MPLS. Its network
programmability is reflected in the Segment Routing header (SRH). Generally, the
SRH provides a three-dimensional programming space, as shown in Figure 2-6.
Cloud-Network Convergence
As described in the previous section, traditional MPLS cannot be deployed on the
cloud. Because the data plane of SR-MPLS is the same as that of MPLS, it is also
difficult for SR-MPLS to support cloud-network convergence. By contrast, the data
plane of SRv6 is based on IPv6. As such, if both the cloud and network are based
on IPv6, data plane protocols can be unified to effectively support cloud-network
convergence.
10
Background of Network Evolution from MPLS to SRv6
by Linux since version 4.10, with version 4.14 supporting the most functions
provided by the Function field in an SRv6 SID. This provides technical support for
the cloud-based deployment and E2E implementation of SRv6.
Compatibility Excellent. Thanks to the support for Poor. All devices in the involved
on-demand upgrade and the domain need to be upgraded to
excellent compatibility, smooth support SR-MPLS, causing
evolution can be implemented, significant network changes. In
allowing services to be quickly addition, the poor compatibility
provisioned on demand. In addition, makes service provisioning
upgrading the entire network is not complex.
required, maximizing the ROI.
Scalability Easy. With IPv6 reachability, SRv6 can Complex. Only SR-MPLS TE can
be easily deployed across ASs. Host be used across ASs, and inter-
routes do not need to be advertised AS controllers are required. The
across ASs, and only aggregated local PE requires the loopback
routes need to be imported. This host routes of remote PEs. All
greatly reduces the number of routes the loopback host routes of
and simplifies routing policies. remote PEs need to be leaked.
11
Background of Network Evolution from MPLS to SRv6
Item (Recommended) Evolution from Evolution from MPLS to SR-
MPLS to SRv6 MPLS
Cloud-network Easy. Cloud data center networks Difficult. It is difficult for DCNs,
convergence (DCNs) can easily support IPv6. including virtual machines, to
support MPLS.
With SRv6, carrier networks can be
deployed in DCs and even extended
to user terminals.
12
Background of Network Evolution from MPLS to SRv6
Chapter 3
Evolution from MPLS to SRv6
There are two typical paths for the evolution from MPLS to SRv6, as shown in
Figure 3-1. Indirect evolution means that a network is upgraded from IPv4/MPLS
to SR-MPLS and then to SRv6, whereas direct evolution means that a network is
directly upgraded from IPv4/MPLS to SRv6.
13
Evolution from MPLS to SRv6
some carriers may choose to evolve IPv4/MPLS networks to SR-MPLS networks,
and then to SRv6 networks, provided that SRv6 grows in popularity.
14
Evolution from MPLS to SRv6
To retain the HVPN model and continue to use L3VPN, you can evolve only tunnels.
In this case, paths 2 and 4 are supported. You can choose an evolution path based
on the device capability. If all devices support SRv6, select path 2. Otherwise, select
path 4.
The EVPN or L3VPN solution can be used to deploy a new VPN for 5G services.
The E2E VPN or HVPN solution can be used for service deployment. In terms of
tunnels, you can choose an evolution path as required. Specifically, if SRv6 is
supported, paths 5 and 6 are recommended. Otherwise, SR-MPLS needs to be
deployed, and paths 3 and 4 are recommended.
If the seamless solution needs to be retained for services, only tunnels need to
evolve, and no VPN needs to be newly deployed for 5G services, you are advised
to continue to use the L3VPN solution and evolve only tunnels. In this case, path
5 is recommended.
If both tunnels and services need to evolve to the target solution, path 1 is
recommended.
The EVPN or L3VPN solution can be used to deploy a new VPN for 5G services. In
terms of tunnels, you can choose an evolution path as required. Only one layer of
tunnel is used, and BGP-LSP is not involved. If SRv6 is supported, path 1 is
15
Evolution from MPLS to SRv6
recommended. Otherwise, SR-MPLS needs to be deployed, and path 3 is
recommended.
Moreover, to support more advanced network functions (e.g., SRv6 TE) in the
future, only some key nodes such as autonomous system boundary routers
(ASBRs) and PEs need to be upgraded to support SRv6. This means that a
networkwide or E2E upgrade is not required. All these benefits are brought about
by the SRv6 smooth evolution capability.
16
Evolution from MPLS to SRv6
Chapter 4
Strategies for Indirect
Evolution
Indirect evolution refers to the evolution from IPv4/MPLS to SR-MPLS and then to
SRv6. If a network does not meet the conditions for deploying SRv6, indirect
evolution can be performed. This evolution mainly involves the following steps:
Step 2: evolution from SR-MPLS to SRv6 to achieve data plane unification and E2E
IPv6-only forwarding.
17
Strategies for Indirect Evolution
Interworking between SR-MPLS BE and LDP involves the following key scenarios:
3. SR-MPLS over LDP: SR-MPLS networks exchange data traffic over an LDP
network, as shown in Figure 4-3.
18
Strategies for Indirect Evolution
Figure 4-3 SR-MPLS over LDP
4. LDP over SR-MPLS: LDP networks exchange data traffic over an SR-MPLS
network, as shown in Figure 4-4.
Evolution Strategies
When deploying SR-MPLS, carriers do not need to replace network hardware.
Instead, they only need to upgrade software to enable SR. In addition, SR-MPLS
can be directly enabled on an MPLS network without the need to disuse or replace
original tunnels. As previously described, SR-MPLS can coexist with LDP. Therefore,
SR-MPLS allows an LDP network to be incrementally upgraded to an SR-MPLS
network, and the interworking technology can be used to achieve E2E traffic
forwarding.
Table 4-1 describes the strategies for the evolution from MPLS to SR-MPLS.
19
Strategies for Indirect Evolution
Table 4-1 Evolution strategies
From inside to The hierarchical network The core network The traffic on the
outside architecture of a service does not involve core network is
provider consists of core, a large number the heaviest.
aggregation, and access of devices, Once a fault
networks. In this strategy, SR- facilitating fast occurs, using this
MPLS-oriented evolution starts evolution to SR- strategy may
from the core network, moves MPLS. This cause huge
to the aggregation network, strategy is traffic impact on
and is finally performed on the recommended the core network,
access network. for experienced adversely
operators. affecting services.
20
Strategies for Indirect Evolution
Evolution Phases
The evolution from MPLS LDP to SR-MPLS can be divided into the following
phases:
Initial state: All nodes on the MPLS backbone network run LDP, as shown in Figure
4-5.
Phase 1: SR-MPLS and LDP coexist, and LDP tunnels are the preferred ones.
After SR-MPLS is enabled, the control plane of each involved device still selects
LDP tunnels, as shown in Figure 4-6. This is because LDP tunnels are selected by
default in scenarios where traffic recurses to tunnels.
Figure 4-6 LDP tunnels preferred when SR-MPLS and LDP coexist
21
Strategies for Indirect Evolution
Phase 2: SR-MPLS tunnels are preferentially selected.
Figure 4-7 SR-MPLS tunnels preferred when SR-MPLS and LDP coexist
Phase 3: LDP tunnels are removed so that only SR-MPLS tunnels are retained on
the MPLS backbone network, as shown in Figure 4-8.
22
Strategies for Indirect Evolution
4.2 Strategies for the Evolution from
SR-MPLS to SRv6
5G networks have come. To promote the development of such networks, users
hope to use IPv6 addresses to deploy VPNs more easily. SRv6 is therefore
introduced, extending the IPv6 header to implement label forwarding-like
processing through existing IPv6 forwarding technologies. SRv6 instantiates
certain IPv6 addresses as segment IDs (SIDs), each of which has its own explicit
functions. Different SID operations are performed to achieve simplified VPNs and
flexible path planning.
Evolution Strategies
In the previous section, we described the strategies for the evolution from MPLS
to SR-MPLS. When a network is ready for SRv6 deployment, you can consider the
evolution from SR-MPLS to SRv6. This evolution mainly involves the following
strategies:
23
Strategies for Indirect Evolution
2. SR-MPLS and SRv6 interwork, as shown in Figure 4-10.
24
Strategies for Indirect Evolution
Strategy Description Advantage Disadvantage
SR-MPLS and Deploy a single Protocols are simplified. This The network is
SRv6 stack on PEs and is because only SRv6 instead complex in terms
interworking also VPN of SR-MPLS needs to be of layers, and
interworking nodes deployed for new sites. VPN interworking
on the network. nodes need to be
Only one BGP peer needs to
deployed.
Deploy both SRv6 be configured for each PE to
and MPLS on VPN receive only one copy of Achieving mutual
interworking nodes routes. access between
and configure old and new sites
route re- requires traffic to
origination or be detoured to
stitching. the VPN
interworking
nodes.
Evolution Phases
The following uses L3VPN as an example to describe the evolution phases of
L3VPN service tunnels from SR-MPLS to SRv6 based on the SR-MPLS and SRv6
coexistence strategy. Figure 4-11 shows the network deployment mode for the
evolution.
25
Strategies for Indirect Evolution
Figure 4-11 Evolution from SR-MPLS to SRv6
The overall evolution process can be divided into the following phases:
1. Evolution from IGP IPv4 to IGP IPv4 and IPv6 dual stack
26
Strategies for Indirect Evolution
2. Evolution from the BGP peer relationship to the BGP and BGP4+ dual-stack
peer relationship
3. Deployment of SRv6 and SR-MPLS dual-stack tunnels for L3VPN
Phase 2: Switch L3VPN services to SRv6 tunnels. This means that service tunnels
are evolved from SR-MPLS to SRv6.
27
Strategies for Indirect Evolution
Chapter 5
Strategies for Direct Evolution
Because dual-stack deployment for IGP and BGP is mature, this chapter focuses
on tunnel evolution strategies. Depending on the network scenarios, there are two
tunnel evolution strategies, as shown in Figure 5-1.
28
Strategies for Direct Evolution
of endpoints, which cannot be upgraded to SRv6 at the same time, the
coexistence strategy can be used for evolution.
2. Evolution based on the interworking strategy: This strategy applies to
scenarios where SRv6 areas are newly created on a network or a network
contains not only MPLS areas but also SRv6 areas (upgraded from certain
MPLS areas). In such scenarios, interworking nodes need to be configured for
the two types of areas to interwork.
29
Strategies for Direct Evolution
network, the coexistence strategy is typically used for evolution. This strategy
supports two solutions: dual-stack coexistence and overlay coexistence.
Dual-Stack Coexistence
If this solution is used for evolution, you need to consider dual stack coexistence
from the following two aspects:
1. Control protocols
− IGP dual stack coexistence. For example, IPv4 and IPv6 dual stack is
enabled for IS-IS, or OSPF and OSPFv3 coexist.
− BGP dual stack coexistence: MPLS VPN and SRv6 VPN both use BGP as
the service signaling protocol. The former uses IPv4 addresses to
establish BGP sessions, whereas the latter uses IPv6 addresses. In this
case, the same BGP address family, such as the BGP EVPN address family,
needs to be used for the coexistence of MPLS VPN and SRv6 VPN.
2. Service transport
− New services are carried over SRv6, and existing services are still carried
over MPLS.
− Existing services carried over MPLS can be smoothly migrated to SRv6.
− If a service flow passes through a large number of network nodes, these
nodes may not be upgraded to SRv6 at the same time. In this case, the
service flow needs to be carried over both SRv6 and MPLS.
The following uses the evolution from MPLS L3VPN to SRv6 L3VPN as an example
to describe how the dual-stack coexistence solution is implemented. On the
network shown in Figure 5-2, SRv6 is not initially deployed, so that all services are
carried over MPLS tunnels. The dual-stack coexistence solution is used to enable
all services on the network to be carried over SRv6 through the following phases:
1. Create an SRv6 forwarding plane. Specifically, deploy IGP IPv6 on all nodes on
the network, upgrade PE1, PE3, and PE4 to SRv6-capable devices, establish
BGP4+ peer relationships between the three nodes and RRs, and deploy L3VPN
over SRv6.
2. Configure route-policies to allow new and existing services to coexist.
Specifically, on PE1, PE3, and PE4, configure VPN routes to be advertised by
different dual-stack peers. The routes advertised by IPv4 peers carry MPLS
30
Strategies for Direct Evolution
labels and will automatically recurse to MPLS tunnels. By contrast, the routes
advertised by IPv6 peers carry SIDs and will automatically recurse to SRv6
tunnels. When PE1, PE3, and PE4 receive both VPN routes carrying MPLS
labels and VPN routes carrying SIDs, route-policies are used to determine the
preferred routes, thereby controlling the tunnels used to carry services.
3. After all services on the entire network are carried over SRv6, you can delete
BGP peer and MPLS configurations to achieve the evolution to the target
network.
31
Strategies for Direct Evolution
nodes can be incrementally upgraded to support SRv6. Depending on the usage
scenario, this solution supports the following four implementation modes:
Mode 1: native IPv6 overlay. On the network shown in Figure 5-3, SRv6 is deployed
on the PEs. Only basic IPv6 protocols are deployed on the Ps functioning as transit
nodes, so that SRv6 services are forwarded over native IPv6 on these nodes. This
mode applies to SRv6 evolution on carrier- or enterprise-operated networks.
Mode 2: 6PE overlay. On the network shown in Figure 5-4, 6PE is deployed on the
Ps functioning as transit nodes, and BGP is configured to advertise the locator and
LSR ID routes of the ingress and egress PEs. In this case, SRv6 services are
forwarded through IPv6 over MPLS on the transit nodes. This mode applies to
scenarios where dual-stack is difficult to deploy on the intermediate network and
6PE can be deployed for transition.
32
Strategies for Direct Evolution
Figure 5-4 6PE overlay mode
Mode 3: L3VPN overlay. On the network shown in Figure 5-5, L3VPNv6 is deployed
on the intermediate network, and the Ps use VPN instances to advertise the locator
and LSR ID VPN routes of the ingress and egress PEs. SRv6 services are forwarded
through MPLS L3VPNv6 on the intermediate network. In this case, only one VPN
instance needs to be deployed on the intermediate network for locator and LSR
ID route learning, enabling all SRv6 VPN services to be forwarded in overlay mode
in this VPN instance. This mode applies to scenarios where a third-party network
that supports MPLS L3VPNv6 is traversed.
33
Strategies for Direct Evolution
Figure 5-5 L3VPN overlay mode
34
Strategies for Direct Evolution
Figure 5-6 L2VPN overlay mode
35
Strategies for Direct Evolution
On the network shown in Figure 5-7, SRv6 is not initially deployed, so that all
services are carried over MPLS tunnels. A new area named A1 is created, with only
SRv6 deployed. To enable all services on the network to be carried over SRv6
through the interworking strategy, perform the following steps:
1. Deploy VPN over SRv6 in the new area A1. Specifically, upgrade PE2 and PE3
to SRv6-capable devices, configure IGP IPv6 on PE2 and PE3, and deploy VPN
over SRv6 between the two devices. To carry L3 services, configure L3VPN or
EVPN L3VPN as the VPN solution. To carry L2 services, configure EVPN VPLS
or EVPN VPWS as the VPN solution.
2. Configure PE2 as the interworking node to ensure that services in the old and
new areas can interwork. According to the types of carried services, the
interworking function on PE2 can be configured using either of the following
methods:
− For L3VPN or EVPN L3VPN services, configure route re-origination on
PE2 to enable SRv6 and MPLS to interwork.
− For EVPN VPLS or EVPN VPWS services, deploy a bridge domain (BD) on
PE2 and bind the EVPN instance in the SRv6 area and the VSI in the MPLS
area to the BD to enable SRv6 and MPLS to interwork.
3. After the old area named A0 is upgraded, all services are switched to VPN
over SRv6, thereby achieving evolution to the target network.
36
Strategies for Direct Evolution
Chapter 6
Solution Design for SRv6-
oriented Direct Evolution
Protocol layer evolution: This phase mainly involves IPv6 address planning,
IGP evolution, BGP evolution, and SRv6 deployment.
Service layer evolution: In this phase, a proper evolution strategy (coexistence
or interworking) needs to be selected based on the service scenario on the
live network to achieve the VPN service-layer upgrade.
37
Solution Design for SRv6-oriented Direct Evolution
planning, comply with the following rules for IPv6 address allocation on the target
network:
1. Uniformity: All IPv6 addresses on the entire network, including basic network
addresses and service addresses, are uniformly planned.
2. Uniqueness: Thanks to the large IPv6 address space, each IPv6 address can be
unique on the entire network.
3. Separation: This rule covers two aspects: 1. Service addresses and basic
network addresses are separately planned to facilitate traffic path and security
control on edge nodes. 2. SRv6 locators, loopback addresses, and link
addresses are planned in different address blocks to avoid address overlapping.
4. Hierarchy and aggregatability: Address planning must ensure the aggregation
and advertisement of IPv6 addresses between different IGP areas and between
ASs. Aggregation greatly reduces the number of routes on the network and
significantly reduces the risk of route flapping spreading from one area to
another, providing basic assurance for E2E SRv6 deployment on large-scale
networks. To facilitate aggregation, IPv6 addresses must be allocated
hierarchically according to the following requirements.
− A separate IPv6 network prefix is allocated to each backbone network.
− A separate IPv6 network prefix is allocated to each metro network.
− Each pair of metro aggregation devices (active and standby) is allocated
a separate IPv6 subnet prefix from the corresponding metro network
prefix.
− Each access network's IGP area is allocated a separate IPv6 subnet prefix
from the network prefix of the corresponding metro aggregation devices.
− Each access device is allocated a separate IPv6 subnet prefix from the
network prefix of the corresponding access network's IGP area.
5. Security: Key source tracing information, including address attributes and
locations, must be embedded into IPv6 addresses to implement fast source
tracing of IPv6 addresses.
6. Scalability: In IPv6 address allocation, a certain address space needs to be
reserved in each address block for future service development.
7. Readability: IPv6 addresses are typically expressed in hexadecimal notation.
Therefore, it is recommended that each IPv6 address be divided into groups
of 4 bits to improve readability.
38
Solution Design for SRv6-oriented Direct Evolution
After understanding IPv6 address allocation rules, clarify the IPv6 address
allocation requirements of the target network in the following sequence:
Based on the preceding steps, you can obtain the number of IPv6 addresses
required by the target network and allocate IPv6 addresses layer by layer according
to the preceding allocation rules.
39
Solution Design for SRv6-oriented Direct Evolution
to be independently performed for the IS-ISv4 and IS-ISv6 topologies without
mutual influence.
4. Interface configuration: Enable IS-ISv6 and configure IPv6 costs for involved
interfaces.
5. Reliability design: Enable BFD for IS-ISv6 to implement fast detection and IS-
ISv6 FRR to implement fast recovery. Fast route convergence does not need
to be separately configured for IS-ISv6. Instead, basic IS-IS settings can be
directly used to implement this function.
40
Solution Design for SRv6-oriented Direct Evolution
On the public network, it is recommended that only EBGP peer relationships
be established. You are advised not to establish IBGP peer relationships
between common devices except RRs.
On a VPN, considering network scalability and the route specifications of
devices, you are advised not to establish any cross-domain BGP peer
relationship between the PEs at both ends of the network. Instead, you are
advised to hierarchically establish BGP peer relationships layer by layer.
On a network with a controller deployed, because the controller uses BGP-LS
to collect information such as the topology, bandwidth, and link delay, BGP-
LS IPv6 peer relationships need to be established between common nodes and
RRs and between RRs and the controller.
Then, determine whether to deploy standalone RRs based on the following rules:
Based on the preceding rules, the key points of BGP evolution design are
summarized as follows (as shown in Figure 6-2):
41
Solution Design for SRv6-oriented Direct Evolution
nodes, and then establish EBGP peer relationships between the edge nodes of
different ASs to implement inter-AS route advertisement.
4. Traffic path optimization:
− During the evolution, route priorities can be set for different peers,
avoiding complex route-policy design.
− Depending on the VPN used by services, the Add-Path function can be
deployed in the BGP EVPN or BGP VPNv6 address family view to
implement VPN FRR or equal-cost load balancing.
− To prevent loops, you can set the same reflection cluster ID for
standalone RRs deployed at the aggregation and core layers but different
reflection cluster IDs for non-standalone RRs deployed at the access layer.
42
Solution Design for SRv6-oriented Direct Evolution
protocol layer design for the target network. Currently, they mainly include SRv6
BE and SRv6 TE Policy. Figure 6-3 shows how the two solutions are implemented.
SRv6 BE Deployment
SRv6 BE is a tunneling technology that provides basic SRv6 capabilities. After basic
protocol layer configuration is complete, perform the following operations to
deploy SRv6 BE:
43
Solution Design for SRv6-oriented Direct Evolution
1. Enable SRv6 forwarding.
2. Configure SRv6 SIDs, based on which SRv6 paths are created. SRv6 SIDs can
be statically configured (recommended) or dynamically generated through IS-
IS.
3. Configure segment lists and specify the SIDs through which each SRv6 TE
Policy explicitly passes.
4. Create SRv6 TE Policies, set color attributes and endpoint information, and
configure multiple candidate paths for each SRv6 TE Policy. In addition, set
different preferences for the candidate paths, so that the valid candidate path
with the highest preference functions as the primary and the one with the
second highest preference as the backup.
5. According to the types of carried services, configure different tunnel policies
to steer the services into corresponding SRv6 TE Policies.
Typically, on a traditional MPLS VPN, MPLS L3VPN is used to carry L3 services, and
MPLS VPLS or MPLS VPWS is used to carry L2 services. By contrast, typically, on
an SRv6 VPN (the evolution target), L3VPN over SRv6 or EVPN L3VPN over SRv6
is used to carry L3 services, and EVPN VPLS over SRv6 or EVPN VPWS over SRv6 is
used to carry L2 services. This means that there are many combination scenarios
for service layer evolution. This section uses the evolution from MPLS L3VPN to
EVPN L3VPN over SRv6 for L3 services and the evolution from MPLS VPLS to EVPN
VPLS over SRv6 for L2 services as examples.
44
Solution Design for SRv6-oriented Direct Evolution
Coexistence Strategy-based Service Evolution
Solutions
Solution 1: evolution from MPLS L3VPN to EVPN L3VPN over SRv6. For this
evolution, if you want to gradually replace MPLS L3VPN on service nodes with
EVPN L3VPN over SRv6, using a coexistence strategy-based evolution solution is
recommended. In this solution, MPLS L3VPN and EVPN L3VPN over SRv6 can share
the same VPN instance, and service access interfaces do not need to be bound to
VPN instances again. During the evolution, SRv6 and MPLS tunnels coexist,
meaning that different tunnels are used for services destined for different remote
PEs. Specifically, an SRv6 tunnel is used to carry the EVPN L3VPN services sent to
the SRv6-capable remote PE, whereas an MPLS tunnel is used to carry the common
L3VPN services sent to the SRv6-incapable remote PE. The following uses the
networking scenario shown in Figure 6-4 as an example to describe how to
implement the service evolution solution.
On the network shown in Figure 6-4, assume that PE2 and the RR have been
upgraded to support SRv6, and the newly added node PE1 supports SRv6. The goal
45
Solution Design for SRv6-oriented Direct Evolution
is to evolve MPLS L3VPN to EVPN L3VPN over SRv6 BE. The procedure for service
layer evolution is as follows:
46
Solution Design for SRv6-oriented Direct Evolution
relationship on PE2 to enable PE2 to preferentially select the EVPN
route carrying an SRv6 VPN SID and received through the BGP4+ peer
relationship. In this way, traffic from PE2 to PE1 is forwarded over SRv6
BE.
e. PE3 receives only the route carrying an MPLS VPN label from the RR.
As such, traffic from PE3 to PE1 is still forwarded over an MPLS tunnel.
Similarly, PE1 receives only the route carrying an MPLS VPN label from
PE3 through the BGP peer relationship. As such, traffic from PE1 to PE3
is also carried over an MPLS tunnel.
6. After all BGP peers support SRv6, you can delete the BGP peer relationship
and MPLS configuration from PE1.
Solution 2: evolution from MPLS VPLS to EVPN VPLS over SRv6. VPLS is an MP2MP
L2VPN service. There are two methods for the evolution from MPLS VPLS to EVPN
VPLS over SRv6. One method is to directly deploy EVPN VPLS over SRv6 on all PEs,
unbind VPLS instances from all access interfaces, and then bind EVPN instances to
the interfaces. The other method is to configure EVPN VPLS over SRv6 for PEs one
by one to enable EVPN VPLS over SRv6 to coexist with MPLS VPLS, and then delete
the original VPLS instances after all PEs are upgraded. When there are a large
number of L2VPN access interfaces, method 1 is difficult to implement, causing
method 2 to be indispensable. In this case, a coexistence strategy-based service
evolution solution can be used to achieve smooth evolution of services on the live
network. The following uses the networking scenario shown in Figure 6-5 as an
example to describe how to implement the service evolution solution.
47
Solution Design for SRv6-oriented Direct Evolution
Figure 6-5 Coexistence strategy-based service evolution solution 2
Assume that PE2 and PE4 are newly added nodes that support SRv6, and PE3 with
services does not support SRv6. The goal is to evolve MPLS VPLS to EVPN VPLS
over SRv6 BE. The procedure for service layer evolution is as follows:
48
Solution Design for SRv6-oriented Direct Evolution
Interworking Strategy-based Service Evolution
Solutions
Solution 1: evolution from MPLS L3VPN to EVPN L3VPN over SRv6. For this
evolution, if EVPN L3VPN over SRv6 is deployed only in new areas, MPLS L3VPN
is still kept in existing areas, and there is a clear boundary between the two types
of areas, using an interworking strategy-based evolution solution is recommended.
In this solution, the key point is to configure the service interworking function on
edge nodes. The following uses the networking scenario shown in Figure 6-6 as
an example to describe how to implement the service evolution solution.
On the network shown in Figure 6-6, assume that the area A0 consisting of PE1,
PE2, PE3, and PE4 runs only MPLS L3VPN. Newly added nodes PE5 and PE6 support
SRv6, and they form the area A1 together with PE3 and PE4. It is expected that
only EVPN L3VPN over SRv6 BE runs in the area A1. The goal is to enable all the
devices on the network to run EVPN L3VPN over SRv6 BE after replacing PE1 and
PE2 with SRv6-capable devices, while ensuring that both the original and new
services run properly before this goal is achieved. In this case, you need to
49
Solution Design for SRv6-oriented Direct Evolution
configure service interworking on PE3 and PE4. The procedure for service layer
evolution is as follows:
Solution 2: evolution from MPLS VPLS to EVPN VPLS over SRv6. During the
evolution from MPLS VPLS to EVPN VPLS over SRv6, if some nodes on the live
network cannot be upgraded to EVPN nodes, using an interworking strategy-based
evolution solution is recommended. On the network shown in Figure 6-7, MPLS
VPLS is deployed on the access network between the UPEs and SPEs, whereas
EVPN VPLS over SRv6 BE is deployed on the aggregation network between the
SPEs and NPEs.
50
Solution Design for SRv6-oriented Direct Evolution
Figure 6-7 Interworking strategy-based service evolution solution 2
The goal is to enable all the devices on the network to run EVPN VPLS over SRv6
BE after replacing the UPEs with SRv6-capable devices, while ensuring that both
the original and new services run properly before this goal is achieved. In this case,
you need to configure service interworking on the SPEs. The procedure for service
layer evolution is as follows:
51
Solution Design for SRv6-oriented Direct Evolution
6. After the UPEs are upgraded, configure all services to run EVPN VPLS over
SRv6 BE, and then delete the interworking configuration on the SPEs.
52
Solution Design for SRv6-oriented Direct Evolution
Chapter 7
Summary and Outlook
With the booming of 5G, Internet of Things (IoT), and cloud services, people-to-
people communication has been further extended to connections between things
and between people and things. This causes the number of nodes and connections
that networks need to support to be increased to an unprecedented scale. In
addition, the ever enriching service scenarios and connection applications pose
higher requirements on IP networks. For example, how to flexibly provide
differentiated connection services for different services, how to monitor network
conditions in real time, and how to adjust networks based on the network status
in a timely manner. To meet these requirements, it is urgent to combine IPv6
infrastructure networks with other technologies to develop IPv6 Enhanced
networks. SRv6 — a key IPv6 Enhanced technology — will become a main
transport protocol for multiple services on IPv6 infrastructure networks. Currently,
a large number of IPv4/MPLS networks exist, meaning that there will be many
application requirements and a huge development space for MPLS-to-SRv6
evolution solutions. In the future, the evolution may be combined with intelligent
network management platforms, including SDN controllers (such as iMaster NCE)
and smart O&M tools, to make live network evolution smoother, more convenient,
and more efficient.
In this book, the strategies, solutions, and extended applications for the evolution
from MPLS to SRv6 are only examples provided based on existing cases. With the
deepening of the evolution from MPLS to SRv6, more scenarios will be explored,
53
Summary and Outlook
allowing evolution strategies and solutions to be continuously enriched and
optimized. We will continue to follow up and revise this book in a timely manner.
54
Summary and Outlook
Contact Us
[email protected]
55
Summary and Outlook