Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Segment Routing in MPLS Networks
Segment Routing in MPLS Networks

Segment Routing in MPLS Networks: Transition from traditional MPLS to SR-MPLS with TI-LFA FRR

Arrow left icon
Profile Icon Hemant Sharma
Arrow right icon
Coming Soon Coming Soon Publishing in Nov 2024
€18.99 per month
eBook Nov 2024 292 pages 1st Edition
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Hemant Sharma
Arrow right icon
Coming Soon Coming Soon Publishing in Nov 2024
€18.99 per month
eBook Nov 2024 292 pages 1st Edition
Subscription
Free Trial
Renews at €18.99p/m
Subscription
Free Trial
Renews at €18.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Info icon
You can access this book only when it is published in Nov 2024
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Segment Routing in MPLS Networks

Introduction to Multiprotocol Label Switching (MPLS)

This chapter aims to explain Multiprotocol Label Switching (MPLS), an important technology in Transmission Control Protocol (TCP) / Internet Protocol (IP) networks, and its continued relevance. It also introduces Fast Reroute (FRR) in MPLS networks and Segment Routing MPLS (SR-MPLS), a newer method for operating MPLS networks. Before beginning the practical exercises, it explains the structure, the key components needed to build the required infrastructure, and where to obtain them. Throughout, you are encouraged to revise the fundamental concepts of MPLS, SR-MPLS, and FRR. Understanding these concepts is crucial for successfully following the practical exercises and gaining deeper insight into advanced networking principles in later chapters. By the end of this chapter, you will have understood MPLS concepts, their applications, and the required infrastructure for hands-on experience.

This chapter will cover the following topics...

What is MPLS?

In the TCP/IP model, the Internet Layer (Layer 3) is responsible for managing IP addressing and routing packets between different networks. MPLS sits between the traditional Layer 2 (Network Access Layer) and Layer 3 (Internet Layer) in the TCP/IP model, which is sometimes referred to as Layer 2.5 or Shim Header.

Figure 1.1 – MPLS Header

Figure 1.1 – MPLS Header

The MPLS header comprises four fields, totaling 32 bits in size:

  • Label: The Label field is the most critical part of the MPLS header, comprising a fixed size of 20 bits that carries the forwarding information for the packet. Each router in an MPLS-enabled network maintains a forwarding table that maps incoming labels to the next-hop router and the corresponding output interface. The label is used to quickly determine the packet’s path through the network, making the forwarding process more efficient.
  • Experimental (EXP) or Traffic Class (TC) bits: The Experimental bits field is 3...

Introducing FRR

FRR is a mechanism used in IP/MPLS networks to minimize the impact of network failures on the traffic flow. When a fault occurs in the network, the response varies depending on the protocol in use. Generally, there are two primary approaches to address the issue:

  • Wait for convergence: In both traditional MPLS protocols, LDP and RSVP-TE, the network initiates a reconvergence process to identify the optimal new path from the source to the destination. The MPLS label distribution protocols rely on this reconvergence to re-establish the end-to-end MPLS path over the newly identified route. This period is known as convergence delay, during which traffic may be dropped, leading to the undesirable phenomenon of traffic black holes.
  • Local fast rerouting at the Point of Local Repair (PLR): While the network is reconverging, the router that detects the fault can reroute traffic around the failure, ensuring continuity of service. This diversion typically occurs within...

Introduction of Segment Routing (SR)

The fundamental distinction between traditional MPLS and SR lies in their simplicity. While traditional MPLS offers benefits such as traffic engineering, Quality of Service (QoS), and support for L2 and L3 VPNs, SR architecture surpasses it. It works on the principle of source routing, where the state lies in the packet and a node routes a packet through an ordered list of instructions called segments embedded in the packet itself. It removes the need for complex signaling protocols and path states in the network.

What is SR?

Segment Routing (SR), or Source Packet Routing in Networking (SPRING), is a routing technology that fundamentally transforms the routing framework, allowing the source node to determine the entire path of a packet, including all intermediate hops, from its origin to the final destination. This predetermined path is expressed as an ordered list of segments, stacked on the packet header. A segment, often identified by its...

Structure of the book

The book is designed in such a manner that it takes you from a traditional MPLS network to an SR-MPLS network by introducing relevant features with theory as well as practical labs:

  • Lab 1, Getting Started with LDP-Based MPLS Network, details the initial steps for you, explaining the IP schema, configuring IGP, and setting up traditional MPLS. This lab serves as the foundation for the subsequent chapters.
  • Lab 2, Introducing Segment Routing MPLS (SR-MPLS), breaks down the components of SR from both control and data plane perspectives, providing a comprehensive understanding of its building blocks.
  • Lab 3, SR-LDP Interworking, explores the coexistence of SR and LDP as separate domains within the same IGP backbone. It covers forwarding traffic between SR and LDP domains.
  • Lab 4, Introducing TI-LFA (Topology Independent - Loop-Free Alternate), introduces the fast-reroute backup path mechanism, offering a means to protect SR-MPLS traffic in the core...

Network infrastructure

At its core, a network infrastructure comprises a combination of physical and virtual components that possess the ability to establish connectivity among themselves, facilitating the seamless flow of traffic. These elements include routers, switches, servers, and more. The size and complexity of the network infrastructure depend on the network’s requirements and the scale of its operations.

In the lab described in this book, building blocks refer to the important parts or tools needed to set up the network system for education or learning. These building blocks are like the basic building materials that form the base of the lab, including specific software and hardware components.

The lab’s building blocks, as described in the book, include the following:

  • Network operating system: For the creation of network topologies in this book, the chosen network operating system is Cisco IOS XR, specifically using the XRv9k virtual image, a commercial...

Summary

By now, you will have acquired a comprehensive grasp of MPLS and its pivotal role in modern networking. Fundamental MPLS concepts, spanning its definition, applications, and key features such as FRR and SR, have been thoroughly explored.

MPLS emerges as a versatile tool, catering to diverse networking needs, including efficient traffic management, enhanced QoS, and robust VPN support.

SR represents a paradigm shift in routing architectures, offering streamlined network operations and improved scalability while maintaining existing data-plane forwarding mechanisms. SR-MPLS seamlessly integrates SR with traditional MPLS networks, facilitating eventual migration to SR-only MPLS environments without major disruption.

FRR stands out as a critical element in enhancing network resilience, proactively establishing alternative paths that can swiftly activate in response to network failures.

The chapter has also outlined the network infrastructure tailored for the book’...

References

The following are the references used in this chapter, offering additional resources and further reading to deepen your understanding of the concepts discussed:

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Carry out practical labs to thoroughly grasp and execute MPLS, SR-MPLS, and FRR techniques
  • Master SR-MPLS and LDP interoperability for seamless integration and efficient network operation
  • Implement TI-LFA FRR methods for seamless SR-MPLS deployment in production
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

In this book, you will learn about segment routing (SR), a cornerstone of modern networking, and topology-independent loop-free alternate (TI-LFA), with hands-on labs to hit the ground running. Written by a key contributor to global segment routing multiprotocol label switching (SR-MPLS) network designs, this book makes learning SR-MPLS both accessible and insightful. The book offers an extensive learning path, taking you from a traditional MPLS network using the label distribution protocol (LDP) to a modern SR-MPLS network using SR, and provides a holistic view of their interworking. You’ll also explore TI-LFA fast reroute protection scenarios, and find out how SR-MPLS strengthens network reliability with its source routing paradigm. Using intermediate system–to–intermediate system (IS-IS) as the foundational link-state routing protocol, the chapters ensure that you get a clear understanding of both SR and IS-IS. Following a consistent network topology throughout, this book enables smooth transitions between scenarios, helping you master the technical concepts without distraction. By the end of this book, you’ll have a solid grasp of MPLS, SR-MPLS, and TI-LFA fast reroute techniques, ready to tackle real-world networking challenges with confidence.

Who is this book for?

This book is for MPLS professionals and network engineers looking to deepen their knowledge in SR and TI-LFA. A basic understanding of MPLS networks is a prerequisite, but worry not—the book also covers foundational MPLS concepts, ensuring network enthusiasts can follow along without any problem. This book is specifically designed for network engineering, operations, and design professionals, covering advanced techniques such as TI-LFA for path protection, empowering you to evolve MPLS networks with SR-MPLS seamlessly.

What you will learn

  • Gain a complete understanding of MPLS and its role in network infrastructures
  • Develop practical skills to implement SR-MPLS using Cisco IOS-XRv9k and real-life use cases
  • Acquire hands-on experience with MPLS networks using the IS-IS and LDP protocols
  • Orchestrate the gradual transition from traditional MPLS to SR-MPLS networks and manage their interworking
  • Master fast reroute techniques in SR-MPLS networks, including TI-LFA, for efficient traffic rerouting
  • Implement path protection methods to ensure network resilience and stability

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Nov 22, 2024
Length: 292 pages
Edition : 1st
Language : English
ISBN-13 : 9781836203209
Concepts :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Info icon
You can access this book only when it is published in Nov 2024
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Nov 22, 2024
Length: 292 pages
Edition : 1st
Language : English
ISBN-13 : 9781836203209
Concepts :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
Banner background image

Table of Contents

19 Chapters
Part 1 - MPLS Overview and Recap Chevron down icon Chevron up icon
Chapter 1: Introduction to Multiprotocol Label Switching (MPLS) Chevron down icon Chevron up icon
Chapter 2: Lab 1 – Getting Started with LDP-Based MPLS Network Chevron down icon Chevron up icon
Part 2 - Segment Routing (SR-MPLS) Chevron down icon Chevron up icon
Chapter 3: Lab 2 – Introducing Segment Routing MPLS (SR-MPLS) Chevron down icon Chevron up icon
Chapter 4: Lab 3 – SR-LDP Interworking Chevron down icon Chevron up icon
Part 3 - Fast Reroute in SR-MPLS Networks Chevron down icon Chevron up icon
Chapter 5: Lab 4 – Introducing TI-LFA (Topology Independent – Loop-Free Alternate) Chevron down icon Chevron up icon
Chapter 6: Lab 5 – Zero-Segment FRR Chevron down icon Chevron up icon
Chapter 7: Lab 6 – Single-Segment FRR Chevron down icon Chevron up icon
Chapter 8: Lab 7 – Double-Segment FRR Chevron down icon Chevron up icon
Chapter 9: Lab 8 – Microloop Avoidance Chevron down icon Chevron up icon
Chapter 10: Lab 9 – TI-LFA Node Protection Chevron down icon Chevron up icon
Chapter 11: Lab 10 – TI-LFA Local SRLG-Disjoint Protection Chevron down icon Chevron up icon
Chapter 12: Lab 11 – TI-LFA Global Weighted SRLG Protection Chevron down icon Chevron up icon
Chapter 13: Lab 12 – TI-LFA Node + SRLG Protection Chevron down icon Chevron up icon
Chapter 14: Lab 13 – TI-LFA Tiebreaker Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.