
Segment routing
Resilient, scalable, simplified and deterministic packet transport
What is segment routing?
Segment routing (SR) is a packet steering technology that offers a scalable approach for establishing predefined forwarding paths in the IP network. These paths override the default shortest path while meeting specific constraints such as available bandwidth, latency, protection or physical diversity. SR steers packets by encoding them with Segment Identifiers (SIDs) that contain the packet-processing instructions for each intermediate and destination router. This greatly reduces the need for a control plane to instantiate and maintain path state in the network, which simplifies network operations and reduces resource requirements.
Two types of SID encoding are defined:
- Segment Routing MPLS (SR-MPLS) encodes a 32-bit SID and programs it as an MPLS label to provide a tunnel to an IPv4 or IPv6 destination.
- Segment Routing IPv6 (SRv6) encodes a 128-bit SID and programs it as an IPv6 address to provide a tunnel to an IPv6 destination.
SR-MPLS combines all the proven attributes of MPLS protocols — shortest path and source routing, source-routed fast reroute (FRR) protection path, traffic engineering and bandwidth efficiency—into a single framework. It represents the more mature and natural choice for most brownfield and greenfield IPv4 and IPv6 transport networks.
SRv6 is emerging in edge data center and new IPv6 backbone use cases. It provides a framework for programmability of IPv6 networks that takes advantage of the large IPv6 address space.
The interworking of SRv6 with SR-MPLS domains is thus a crucial capability. The Nokia implementation of SR provides a comprehensive SR-MPLS to SRv6 interworking capability. We have deployed this implementation in public interoperability tests and real-world production environments.
What are the benefits of segment routing?
Making traffic engineering more scalable
SR offers a highly scalable approach for establishing predefined forwarding paths in the IP network. These paths override the default shortest path while meeting specific constraints such as available bandwidth and latency. The reduction in soft state held in the network and in signaling reduces network resource requirements.
Improving reliability and resilience
SR supports local and end-to-end path protection and restoration. It can be applied to pre-calculate backup paths that rapidly protect against the failure of the primary path. In ring and mesh topologies, SR improves reliability, resilience and service availability.
Automating and simplifying operations
SR was designed with automation in mind and supports auto-configuration, intent-based networking and model-driven management (MDM) operations. It simplifies operations by avoiding the need for additional signaling protocols (e.g., LDP, RSVP-TE). SR also provides a clear evolutionary path from MPLS to SRv6, driven by business and engineering needs.
Creating new revenue streams
In supporting high-scale, resilient and automated traffic-engineered paths, SR can form an infrastructure for a wealth of network services that could unlock new revenue. For example, SR can support new services with seamless end-to-end transport network slicing from the data center to the access network.
What are the principal applications of segment routing?
Operators can incrementally add the SR features they need to an existing LDP/RSVP network with the options they’re comfortable with. This eases the migration to SR and enables them to gain operational experience before introducing more powerful features.
The graphic above shows an incremental approach to deploying the principal applications of segment routing.
Shortest path routing is a good starting point for introducing SR as a replacement for LDP to enable better protection coverage. It only requires control plane extensions for IS-IS or OSPF. Global SR label blocks and node and link adjacencies can be configured for each router, after which SR-IS-IS or SR-OSPF tunnels can be used by IP services.
Constraint-based forwarding could be a logical next step because it enables more granular programming of the network, for example, to engineer low-latency paths for delay-sensitive applications, or to ensure that traffic flows are kept within a controlled set of links (data sovereignty).
By augmenting the SR shortest path with an IGP flexible algorithm (Flex-Algo), it becomes possible to add topology constraints and alternative link metrics to the shortest path calculation. This application invokes SR traffic engineering capabilities (SR Policy and Flex-Algo) and programmatic control, for example, with BGP and BGP-Link State (BGP-LS).
SR-TE capabilities can be further extended with BGP and BGP-LS to include BGP prefix and peer segments, and steer traffic to a particular egress point (i.e., egress peer engineering).
Path diversity and end-to-end protection enable highly available premium services as a more scalable alternative for MPLS fast reroute based on RSVP-TE. SR-TE LSPs with diverse primary and secondary paths are enabled by including Shared Risk Link Group (SRLG) constraints for the candidate paths.
Seamless Bidirectional Forwarding Detection (BFD) is used to quickly detect failures, including silent failures that are not visible to the control plane, and to trigger a failover to the secondary path if the primary path fails.
Peering engineering enables a headend router to steer traffic across a specific downstream peering link between two IGP domains. This is useful for applications such as traffic optimization, resiliency or load balancing across links that interconnect domains.
How does segment routing work?
SR is an ideal technology for engineering forwarding paths with granular policy constraints. These constraints can include the nodes and links to include in, or exclude from, the path, physical diversity, administrative state and path metrics such as available bandwidth, accumulative latency and maximum number of hops.
SR takes a source-based routing approach that only requires the ingress or headend router to maintain policy and state information about the path. In its simplest form, a segment route is a sequence of segments that must be traversed when forwarding packets along a constrained path to meet a given policy.
Nokia began supporting SR on routing platforms in 2015. We now offer a robust, comprehensive and versatile SR toolkit that has been validated and deployed by network operators for a variety of applications.
Protection, restoration and assurance of SR connectivity are supported by a range of mechanisms. Loop-free alternate (LFA ) provides a pre-computed path to be used in case of a local failure. Refinements to the basic LFA capability, such as topology independent LFA (TI-LFA), remote LFA (RLFA) and directed LFA (DLFA) provide strong coverage for various topologies and minimally impact service restoration. Seamless Bidirectional Forwarding Detection (SBFD) complements LFA and enables rapid and deterministic end-to-end path failure detection in as little as 30 ms.
Programmatic control of traffic-engineered path installation in headend routers can be achieved in various ways—for example, using the Path Computation Element Protocol (PCEP) from an overarching centralized Path Computation Element (PCE). Other distributed mechanisms include BGP, BGP-Link State (BGP-LS) and model-driven CLI (NETCONF/YANG).
Traffic engineering of paths can be achieved using SR-TE, SR-Policy or Flex-Algo. From a user perspective, SR-TE is similar to traditional traffic engineering mechanisms such as RSVP-TE but offers much greater scalability and a natural migration path. SR-TE paths can be computed locally or controlled by a PCE. SR Policies consist of multiple candidate paths. One of these paths is activated at a given time, and equal cost multipath (ECMP) is used to load-balance traffic.
If distributed path computation meets a service provider’s operational objectives, IGP Flex-Algos complement SR-TE by distributing prefix segments with specific optimization objectives and a wide range of standard and custom constraint metrics that can be advertised by supporting router nodes.
The control plane for SR is responsible for the advertisement of SIDs. The control plane for SR-MPLS can be IPv4 or IPv6, while SRv6 uses an IPv6 control plane. SIDs can be advertised statically, or more commonly by using IS-IS, OSPF or BGP protocols with extensions for SR and TE.
If a PCE is used, it will listen to the IGP to discover the topology. A prefix SID identifies the node on which a route can be found and is globally unique in the network. Adjacency SIDs are assigned to individual links on the nodes and are locally significant. A prefix segment is typically an ECMP-aware multi-hop path while an adjacency segment, in most cases, is a one-hop path. Other SID types include Anycast SID, a prefix advertised by a group of nodes known as an anycast set, and Binding SID, which can be used to steer traffic into a policy and support inter-domain transport tunneling.
The data plane can be based on MPLS (for SR-MPLS) or IPv6 (for SRv6). MPLS over User Datagram Protocol (UDP) can also be used for paths that transit IP-only network equipment. When deployed over an MPLS data plane, SIDs are allocated from a reserved block in the MPLS label space. To advertise segment reachability information within IPv4 or IPv6 routing domains, SR-MPLS and SRv6 can use IGP extensions for OSPF and IS-IS. This enables a straightforward migration that preserves all transport capabilities of LDP and RSVP-TE while improving failure recovery.
Read the application note
Hear more from our experts
Explore our related products and solutions
Product
7250 Interconnect Router
Scale up fixed and mobile aggregation networks and cell sites
Product
7250 Interconnect Router for data center fabrics
Deploy modular, high-performance data center switches for an open, leaf-spine architecture
Product
7750 Service Router
Leads the industry in IP edge and core
Ready to talk?
Please complete the form below.
The form is loading, please wait...