Overview of Segment Routing
Definition
Segment routing (SR) is a protocol designed to forward data packets on a network based on source routes. Segment routing MPLS is segment routing based on the MPLS forwarding plane, which is segment routing for short hereafter. Segment routing divides a network path into several segments and assigns a segment ID to each segment and network forwarding node. The segments and nodes are sequentially arranged (segment list) to form a forwarding path.
Segment routing encodes the segment list identifying a forwarding path into a data packet header. The segment ID is transmitted along with the packet. After receiving the data packet, the receive end parses the segment list. If the top segment ID in the segment list identifies the local node, the node removes the segment ID and proceeds with the follow-up procedure. If the top segment ID does not identify the local node, the node uses the Equal Cost Multiple Path (ECMP) algorithm to forward the packet to a next node.
Purpose
With the progress of the times, more and more types of services pose a variety of network requirements. For example, real-time UC&C applications prefer paths with low delay and low jitter, while big data applications prefer high bandwidth tunnels with a low packet loss rate. In this situation, the rule helping the network adapt to service growth cannot catch up with the rapid service development and even makes network deployment more complex and difficult to maintain.
The solution is to allow services to drive network development and to define the network architecture. Specifically, an application raises requirements (on the delay, bandwidth, and packet loss rate). A controller collects information, such as network topology, bandwidth usage, and delay information and computes an explicit path that meets the service requirements.
- Extends existing protocols such as IGP to allow for better smooth evolution of live networks.
- Supports both the controller's centralized control mode and forwarder's distributed control mode, providing a balance between centralized control and distributed control.
- Uses the source routing technique to provide capabilities of rapid interaction between networks and upper-layer applications.
Benefits
Simplifies the control plane of the MPLS network.
A controller or an IGP is used to uniformly compute paths and distribute labels, without using tunnel protocols such as RSVP-TE and LDP. Segment routing can be directly applied to the MPLS architecture without any change in the forwarding plane.
Provides efficient topology independent-loop-free alternate (TI-LFA) FRR protection for fast path failure recovery.
Based on the segment routing technique, combined with the RLFA (Remote Loop-free Alternate) FRR algorithm, an efficient TI-LFA FRR algorithm is formed. TI-LFA FRR supports node and link protection of any topology and overcomes drawbacks in conventional tunnel protection.
Provides the higher network capacity expansion capability.
MPLS TE is a connection-oriented technique. To maintain connections, nodes need to send and process a large number of Keepalive packets, posing heavy burdens on the control plane. Segment routing controls any service paths by merely operating labels on the ingress node, and transit nodes do not have to maintain path information, reducing burdens on the control plane.
In addition, the number of labels for the SR technique is the sum of the number of nodes on the entire network and local adjacencies, which is related only to the network scale and irrelevant to the number of tunnels and service scale.
Better smooth evolution to SDN networks.
Segment routing is designed based on source routes. Using the source node alone can control forwarding paths over which packets are transmitted across a network. The segment routing technique and the centralized path computing module are used together to flexibly and conveniently control and adjust paths.
Segment routing supports both traditional networks and SDN networks. It is compatible with existing devices and ensures smooth evolution of existing networks to SDN networks instead of subverting existing networks.