What is segment routing?

What is segment routing?

Segment routing (SR) is a source-based routing technique that simplifies traffic engineering and management across network domains. It removes network state information from transit routers and nodes in the network and places the path state information into packet headers at an ingress node.

Because information moves from the transit nodes to the packet, segment routing is highly responsive to network changes, making it more agile and flexible than other traffic-engineering solutions. Traffic-engineering capabilities enable SR to provide quality of service (QoS) for applications and also to map network services to end users and applications as they traverse the network.

Segment Routing Overview

To understand segment routing, you must first understand its fundamental components.

SR Domain: A collection of nodes that participate in SR protocols. Within an SR domain, a node can execute ingress, transit, or egress procedures.

SR Path: An ordered list of segments that connects an SR ingress node to an SR egress node. Typically, it follows the least-cost path from ingress to egress.

SR Segment: A forwarding instruction that causes a packet to traverse a section of the network topology. SR defines many SR segment types, and the two used most often are adjacency and prefix segments. An adjacency segment is a strict forwarded single-hop tunnel. It causes a packet to traverse a specified link associated with an interior gateway protocol (IGP) adjacency between two nodes, irrespective of the link cost. A prefix segment is a multihop tunnel that uses equal cost multihop-aware shortest path links to reach a prefix.

Segment routing is deployed in discrete domains such as data center, core, edge, and access networks.

 

How Segment Routing Works

When a packet arrives at the SR ingress node, it’s subjected to policy. If the packet satisfies match conditions for an SR path, the SR ingress node encapsulates the packet in an SR tunnel that traverses an SR path, segment by segment.

Each segment in an SR path terminates at a segment endpoint node. When a packet arrives at a segment endpoint, the endpoint examines the outermost packet label or header to attain the corresponding segment. It then pops the outermost label or header and forwards the packet to the next segment endpoint. This process continues until the packet arrives at the final segment endpoint, which may be the SR egress node.

When a packet arrives at the SR egress node, that node determines whether the packet is at the end of its path. If it is, the node removes the SR header information and forwards the packet based on its destination IP address.

Because the transit routers simply forward the packets based on the SR segment identifier (SID), SR can be used to map packets associated with an end user or application to specific network function services. It does this by mapping a path to where the service will be applied, and providing instructions about the service and additional path information from the service gateway to the SR domain egress router.

 

Segment Routing Benefits

SR’s primary benefit is its ability to simplify the network and reduce resource utilization, making it easier to manage and operate your network.

Other benefits make SR desirable in a network.

  • SR reduces the number of nodes that need to be touched for path provisioning and changes. This action enables SR to be more responsive to network changes, making it more agile and flexible than other traffic-engineering solutions.
  • SR traffic engineering provides application QoS, and maps network services to end users and applications as they traverse across the network.
  • SR provides resiliency through headend restoration and topology-independent loop-free alternate (TI-LFA) technology, which helps with path reliability during network outages.

When used with a WAN PCE Controller, SR offers additional benefits.

  • It provides bandwidth reservation with simplified traffic engineering, as the controller has the ability to assign link attributes and path constraints and perform Constrained Shortest Path First (CSPF) calculations.
  • It reduces the risk of transition whether you’re deploying SRv6, SR-MPLS, or SRm6 in your network. It does this by providing heterogeneous support for multiple forwarding planes, including MPLS and IPv6.
  • It facilitates closed-loop automation by continuously assessing real-time network conditions such as packet flows to network services, monitoring network behavior and performance, and making changes once that can be automatically distributed across the network without having to push the changes to multiple routers via CLI.
  • It enhances the end-user quality of experience by defining specific network paths per set requirements (also used for network slicing).

 

Traffic Engineering with Segment Routing Controllers

An SR controller is a type of SDN controller that provides centralized path computation, traffic engineering, and granular visibility and traffic flow control for SR forwarding planes in service provider and enterprise networks. The SR controller enables network operators to optimize their network infrastructure through proactive monitoring and planning, and by dynamically routing large traffic loads based on specified constraints.

A key benefit of the controllers is their ability to provide bandwidth reservation, which segment routing by itself doesn’t do well. By moving path state information from transit routers into the packet, segment routing eliminates the need for protocols such as Label Distribution Protocol (LDP) and Resource Reservation Protocol-Traffic Engineering (RSVP-TE), which distribute path information across the network. RSVP-TE provides a mechanism for bandwidth reservation, so eliminating it can be problematic in networks where bandwidth reservation is currently implemented.

SR controllers solve this problem because they can monitor the entire network topology and its traffic flows in real time. They use this data to determine the explicit paths that packets should take through the network, and they can also allocate bandwidth to those paths. After the paths are calculated and link bandwidth is allocated, the controller adds this information to its database. The controller factors in existing bandwidth needs as it computes new paths or before it reroutes traffic due to congestion or other dynamic network conditions.

The SR controller performs three basic operations.

  • Analyze
  • Optimize
  • Automate

Gathering finely granular telemetry data from the network, the controller analyzes the data and optimizes it to assist in taking intelligent actions, such as tunneling traffic through the most efficient network path, meeting SLA requirements, or proactively resolving congestion issues.

NorthStar Controller, Juniper’s WAN software-defined networking (SDN) controller for traffic optimization, provides these capabilities and enables you to view and monitor multiple network domains. NorthStar Controller gives you an end-to-end network view and the ability to achieve interdomain traffic engineering and end-to-end network slicing.

NorthStar Controller also helps with migration to SR by centralizing routing control and giving you the ability to run multiple control planes over the same infrastructure during your migration. The GUI in NorthStar Controller provides a real-time network view with very fine network details that make it simpler to design and operate your network.

 

Juniper Implementation

SR uses either MPLS (SR-MPLS) or IPv6 (SRv6) on the forwarding plane. Juniper offers both solutions. To overcome SRv6 shortcomings, Juniper has developed SRm6, which reduces the size of SIDs in the SR header using a smaller compressed routing header and mitigates the resource constraint problems seen in wide SRv6 deployments.

The robust, full-featured NorthStar Controller is the only SR controller to provide more than just bandwidth reservation. It accommodates path diversity and can perform CSPF computation, bandwidth calendaring, and other useful functions. A powerful and flexible traffic-engineering solution, NorthStar Controller enables granular visibility and control of SR and IP/MPLS flows in large service provider, cloud, and enterprise networks.

What is segment routing FAQs

How can segment routing help make my business more profitable?

First, you’ll save on OpEx and CapEx by simplifying the traffic forwarding processes across your network.  Segment routing removes network state information from intermediate routers and places path information into packet headers at the ingress node instead. This approach reduces equipment, power, and operational resource requirements along the entire forwarding path networkwide.

Segment routing also helps you meet demands for new services and greater performance easily, affordably, and with consistent user experiences. Achieving these goals requires a network transport solution that provides control, agility, application awareness, and simplified traffic management, which segment routing delivers.

An independent research report from Omdia, Segment Routing in the 5G Era, summarizes the top reasons network operators are adopting segment routing.

  • Reduced operational and capital expenses
  • Improvements in network scalability and availability
  • Support for per-service policies, committed or deterministic service-level agreements (SLAs), and network slicing
  • Greater flexibility to offer differentiated, value-added services
  • The ability to deliver reliable mobility services, including 5G and Internet of Things (IoT) connectivity

Segment routing becomes especially significant as the industry moves toward assured network slicing, which allows virtual, isolated logical networks to run on the same physical network infrastructure. Each slice can be placed onto dynamically created segment-routed paths with the ability to meet differentiated, custom application and subscriber requirements for quality of service.

How does segment routing work with network automation to improve or guarantee service quality?

Combining segment routing with network automation solutions, such as Juniper Paragon Automation, lets you deliver differentiated customer experiences and optimize your network for greater efficiency. 

For example, segment routing with a WAN SDN controller enables more granular SLAs through latency-based routing. By dynamically serving users from the network segment or geographic region currently experiencing the lowest latency levels, segment routing guarantees service and application performance at lower cost through automation.

Some applications must meet strict end-to-end latency or packet loss requirements to function correctly. Without automation, operators lack the network agility required to guarantee differentiated service levels tailored to these application needs. Paragon Automation acting as a WAN SDN controller automatically places traffic on optimal paths to meet service-level objectives in a few different ways.

  • Analyzes telemetry networkwide to avoid paths that don’t meet your objectives for latency, jitter, packet loss, and other metrics
  • Computes network paths to meet performance goals
  • Automates optimal path placement

Automation improves network predictability, resiliency, and SLAs while enabling new services to be brought to market faster. It also puts operators on a path towards more advanced use cases that include closed-loop remediation to further improve SLAs; it accomplishes this with powerful service-centric insights that continually measure end-to-end service quality on the data plane.

How does combining segment routing with a WAN SDN controller help in the COVID-19 era?

In pandemic times, there has been increased demand to support home workers, difficulties procuring network equipment due to semiconductor supply chain shortages, and concerns about adequate on-site staffing to test and deploy new equipment. Making the best possible use of assets by running the network “hotter” is a growing solution for alleviating these issues and helping increase profitability by curtailing CapEx spending.

Segment routing with a WAN SDN controller helps operators dynamically optimize resource utilization and reduce network CapEx by tapping into wasted capacity that’s often hidden because of over-provisioning to meet peak demand. Together, segment routing and software-defined networking (SDN) automate service path placement that meets bandwidth-on-demand requirements in several ways.

  • Leveraging real-time visibility into networkwide utilization
  • Automating path computation to avoid congestion
  •  Automating the provisioning and optimization of traffic-engineered/Label-Switched Paths (LSPs) based on utilization levels

These processes unlock available capacity in the network by using advanced algorithms for path placement and continuous optimization. Combining them with analytics to drive software-defined control enables the network to automatically avoid congestion

Why is Juniper’s segment routing controller the right choice?

The Juniper Paragon Pathfinder is the industry’s most robust and fully featured WAN SDN controller for segment routing. It enables the fine-grained, software-defined control needed to guarantee service quality in the 5G and cloud era. The controller provides path computation with bandwidth reservation and conducts active network surveillance by continually receiving and analyzing telemetry data from different network elements. It can perform path computations at strategic times to avoid network delays or outages that are already occurring, such as congestion and fiber cuts. It can also route around future network events that it anticipates occurring, based on telemetry data analyses.

Collectively, segment routing and Paragon Pathfinder offer an innovative approach to traffic steering, which can be used to address priority activities such as traffic engineering and fast reroute. When used this way, segment routing simplifies routing protocols, network design, and network operations. Moreover, segment routing deployed in the context of a WAN SDN controller eliminates the need for LSP management for further simplification.

Why is Juniper a preferred vendor for enabling segment routing-based network transformation?

You can deploy Juniper segment routing on your existing Juniper infrastructure and avoid having to swap out your network hardware as you transition. We design our equipment using high-performance programmable ASICs that enable you to build out your segment routing environment with industry-leading scalability while continuing to use the same, consistent Junos operating system you already rely on.

Juniper also enables easy migration with phased deployments. We uniquely allow you to design, manage, and concurrently support multiple network types as you introduce segment routing into your environment. With Juniper Paragon Pathfinder, you can run multiple control planes at the same time: segment routing over MPLS (SR-MPLS), Label Distribution Protocol (LDP), Resource Reservation Protocol (RSVP), and native IPv4 and IPv6.