0% found this document useful (0 votes)
24 views4 pages

Understanding Segment Routing in MPLS

Uploaded by

Adnan Pervaiz
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views4 pages

Understanding Segment Routing in MPLS

Uploaded by

Adnan Pervaiz
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Segment Routing is a new routing paradigm designed to enhance the

optimization, simplicity, and scalability of IP/MPLS-based networks. Segment


Routing utilizes source-based routing scheme where a network node steers a
packet based on a list of instructions carried in the packet header. These
segments specify the desired network path or tunnel, either strictly or
loosely, thereby removing the necessity for transit nodes to store and
manage this path or tunnel information.
Segment Routing Overview
In an IP/MPLS network, segments can denote network links, nodes, or
services. The path an IP packet takes through the network is akin to a car’s
driving route, which includes roads, intersections, and a destination. Here,
intersections symbolize network node segments, roads between
intersections represent link segments, and the destination signifies a
network service. Specifically, in an IP/MPLS transport network, a node
segment corresponds to an MPLS-enabled router, a link segment to the
connection between two adjacent routers, and a service segment to a
customer VPN service, such as a Layer 3 VPN or Layer 2 VPN.

Each segment in the network is represented by a Segment Identifier or SID.


The SIDs are encoded differently in IPv4 and IPv6 networks. In IPv4 networks,
the SID is encoded as a standard MPLS label and can be stacked as multiple
MPLS labels. In IPv6, the SID is encoded as a standard IPv6 address
associated with the segment. The SIDs can be stacked as multiple IPv6
addresses within the IPv6 Segment Routing Extension Header. The active

Omantel - Concealed
segment is indicated by the IPv6 Destination Address (DA). As the packet is
forwarded along the path, a pointer helps copy the next segment in the stack
to the IPv6 Destination Address.
The segment value and type define the forwarding action for the router that
is processing the incoming packet. The SIDs within a Segment Routing
domain are normally advertised via OSPF or IS-IS protocol extensions for
Segment Routing. In advanced traffic engineering applications, the SIDs can
be advertised by BGP extensions or defined by a centralized controller and
then communicated to the edge routers using standard protocols such as
Path Computation Element Protocol (PCEP).

Benefits of SR
Segment Routing introduces source-based routing, where nodes choose
specific paths for packet forwarding by inserting an ordered list of segments.
This approach offers enhanced packet forwarding behavior, allowing
networks to transport packets through tailored paths based on application
requirements. Moreover, SR seamlessly integrates with existing MPLS
infrastructure, making it suitable for brownfield deployments and SDN-ready
networks.

Service Provider Segment Routing Use Cases


- Improved Analytics
- On-Demand Services
- Disjoint Path services
- Simplified provisioning
- Improved TE
Segment Routing Forwarding Plane.
When an IP packet is inserted into an SR domain, the first router adds a
segment, or a list of segments based on the destination address and the
local routing policy. The IP packet is then forwarded within the SR domain
based on the type and value of the SR segment and the routing algorithm.
The default routing algorithm within the SR domain is based on IGP ECMP-
aware shortest path algorithm.
Segment Routing Control Plane
IGP protocols running between adjacent routers maintain session information
and advertise IP Prefixes to enable routers to build a complete network
topology. In addition, IGP protocols run the Shortest Path Algorithm on each

Omantel - Concealed
router to determine the best route for each destination and then populate
these routes in the routing table
Segment Routing for IPV6
SR over IPv6 comes in two variants SRm6 and SRv6 both of which share
many of the same benefits but there are some below interesting features.
- The 128-bit address space supported by IPv6 provides approximately
3.4x1038 addresses, more than enough to support the massive growth
in network-attached devices.
- SRv6 and SRm6 use IPv6 extension headers to directly include IPv6-
based segment IDs (SIDs) into the IPv6 packet. This implies that
separate
- tunneling protocols such as L2TP, GRE, and even MPLS can be
eliminated from the network, simplifying overall network operations
and maintenance.
- One of the most intriguing aspects of utilizing IPv6 is its capacity to
unlock a wide array of network applications through a concept known
as “network programming” or “network engineering.”
There are differences in comparing SR-MPLS with SRm6 and SRv6 as
depicted below.

Segment Routing is an advanced approach to IP routing that allows


routers to embed routing instructions directly within IP packets, enabling

Omantel - Concealed
precise control over their path through the network. These instructions
are carried as segments, which can represent specific nodes, links, or
services. By utilizing the established packet forwarding mechanisms of
MPLS and IPv6, Segment Routing streamlines the control plane. This is
achieved by integrating label signaling with IGP link and route
advertisements, eliminating the complexity and scalability issues
associated with traditional path setup and label distribution protocols such
as LDP and RSVP-TE.

Omantel - Concealed

Common questions

Powered by AI

SRv6 offers unique benefits over MPLS by embedding segment information directly into IPv6 packets, thus removing the need for separate tunneling protocols and complex label distribution systems. This streamlining reduces the operational complexity often found in MPLS implementations. Furthermore, SRv6 benefits from the vast IPv6 address space, which supports a large number of segments and enhances flexibility and scalability. Additionally, the network programming capabilities introduced by SRv6 allow for more sophisticated traffic engineering and the development of new network applications compared to the static nature of traditional MPLS path computation. These advancements result in a more efficient, flexible, and scalable network architecture .

Segment Routing (SR) improves scalability and simplicity in IP/MPLS-based networks by utilizing a source-based routing scheme that eliminates the need for transit nodes to store and manage path or tunnel information. Instead, a network node steers packets based on a list of instructions (segments) carried within the packet header. These segments are represented by Segment Identifiers (SIDs) and can denote network links, nodes, or services. By stacking SIDs, SR provides an efficient way to encode desired network paths without the complexity and overhead of using separate tunneling protocols like LDP and RSVP-TE. This not only streamlines network operations but also enhances optimization and makes the network more adaptable to dynamic application needs .

The use of Segment Routing has profound implications for the scalability of future network architectures by reducing the reliance on stateful operations for path management and employing a simplified model for path encoding and forwarding. By embedding path information into packet headers, Segment Routing bypasses the need for complex label distribution and path setup protocols, allowing networks to efficiently scale without increased operational overhead. This is particularly impactful for supporting emerging technologies like IoT and 5G, which demand high scalability and adaptability. Moreover, SR's seamless integration with existing IP/MPLS infrastructures facilitates gradual architectural enhancements without necessitating disruptive transitions, thus supporting future growth and technology rollouts efficiently .

Segment Routing contributes to simplified provisioning in network management by allowing operators to define routing paths at the network's ingress point using segments, which are then embedded directly into packet headers. This approach minimizes the need for dynamic path computation and state maintenance by intermediate devices, as path management becomes largely stateless. Consequently, this reduces the complexity of network configurations and eases the operational load, enabling service providers to quickly deploy and manage new services and respond to network changes or demands in a more agile manner. As a result, overall operational efficiency and network responsiveness are greatly enhanced .

The source-based approach of Segment Routing addresses challenges associated with network path optimization by allowing traffic to follow customized, precise paths defined at the packet's entry into the network. This method overcomes limitations in traditional IP/MPLS networks where routing decisions are distributed and paths determined hop-by-hop. Source-based routing simplifies the control plane by embedding a path as a sequence of segments in the packet header, alleviating the need for complex operations in transit nodes, such as path storage and label management. It enables dynamic adaptation to changing network conditions or application-specific demands, improving overall efficiency and performance in large, complex networks .

Segment Routing eliminates the need for traditional label distribution protocols such as LDP and RSVP-TE by embedding routing instructions directly in packet headers through segment identifiers (SIDs). SIDs provide explicit instructions for each hop, using pre-established MPLS or IPv6 signaling mechanisms without requiring complex label distribution and path setup protocols. This integration with standard IGP algorithms for path computation streamlines operations and improves scalability, as the entire route can be determined and managed by the ingress node based on network policies without involving intermediate nodes in path state maintenance and label allocation .

In the Segment Routing (SR) control plane, Interior Gateway Protocols (IGP) such as OSPF or IS-IS advertise IP prefixes to enable routers to build a complete network topology. These protocols maintain session information between adjacent routers and run the Shortest Path Algorithm on each Omantel - Concealed router to determine the best route for each destination. This route information is then populated into the routing table, enabling efficient packet forwarding within the SR domain. The integration of label signaling into IGP link and route advertisements streamlines the control plane and helps in achieving enhanced scalability without the complexity of traditional path setup protocols .

SRv6 and SRm6 enhance network operations by embedding segment IDs directly into the IPv6 packets using extension headers, which eliminates the need for separate tunneling protocols like MPLS, L2TP, and GRE. This simplification reduces network complexity, eases operations and maintenance, and streamlines the route signaling processes. Additionally, SRv6 and SRm6 leverage the vast address space provided by IPv6, allowing the network to support massive growth in network-attached devices. These innovations also enable new applications in network programming and engineering, offering precise control and flexibility in packet routing that are not available in traditional IPv6 implementations .

A service provider would prefer using SR Segment Routing with existing MPLS infrastructure in contexts where network optimization, deployment simplicity, and minimal changes to existing hardware are priorities. SR seamlessly integrates with existing MPLS networks, allowing service providers to benefit from advanced traffic engineering, such as on-demand and disjoint path services, without the need for extensive capital investment. Additionally, for brownfield deployments—where maintaining current MPLS infrastructure while improving network performance and scalability is critical—SR allows enhanced analytics, simplified provisioning, and improved service delivery without overhauling the underlying network setup .

Segment Routing (SR) enables improved traffic engineering by allowing nodes to insert specific paths for packet forwarding based on an ordered list of segments. These segments guide packets through customized paths tailored for optimal performance according to application requirements. The integration with existing MPLS infrastructure allows SR to enhance packet forwarding behavior without requiring new hardware. By leveraging BGP extensions or centralized controllers, SR provides dynamic path computation and flexible route adjustments, offering a significant improvement over static label-switched paths in traditional MPLS. These capabilities help service providers implement on-demand services, disjoint path services, and simplified provisioning, ultimately improving overall network efficiency .

You might also like