A Glimpse At Two Approaches To Segment Routing - Packet Pushers
A Glimpse At Two Approaches To Segment Routing Podcasts Day Two DevOps Heavy Networking Heavy Strategy Heavy Wireless IPv6 Buzz Life In Uptime N Is For Networking Network Automation Nerds Network Break Packet Protector Tech Bytes Technically Leadership The Cloud Gambit Total Network Operations The Fat Pipe Meet The Hosts Day Two DevOps Heavy Networking Heavy Strategy Heavy Wireless IPv6 Buzz Life In Uptime N Is For Networking Network Automation Nerds Network Break Packet Protector Tech Bytes Technically Leadership The Cloud Gambit Total Network Operations The Fat Pipe Meet The Hosts Video Networking Tutorials Product Demos YouTube Networking Tutorials Product Demos YouTube Blog Newsletters Resources IPv6 Device Compatibility from HexaBuild Open Source Networking Projects SD-WAN, SASE, SSE Vendors Wi-Fi Engineer's Toolkit <$2,000 IPv6 Device Compatibility from HexaBuild Open Source Networking Projects SD-WAN, SASE, SSE Vendors Wi-Fi Engineer's Toolkit <$2,000 Sponsor Talk To Us Send Follow Up Become A Sponsor Pitch Your News Say Hello Join Slack Join IRC #packetpushers Send Follow Up Become A Sponsor Pitch Your News Say Hello Join Slack Join IRC #packetpushers Merch Store 🎥 Get the latest information on CCNA 2.0 with Ethan and Wendell Odom Search for: Search Podcasts Day Two DevOps Heavy Networking Heavy Strategy Heavy Wireless IPv6 Buzz Life In Uptime N Is For Networking Network Automation Nerds Network Break Packet Protector Tech Bytes Technically Leadership The Cloud Gambit Total Network Operations The Fat Pipe Meet The Hosts Day Two DevOps Heavy Networking Heavy Strategy Heavy Wireless IPv6 Buzz Life In Uptime N Is For Networking Network Automation Nerds Network Break Packet Protector Tech Bytes Technically Leadership The Cloud Gambit Total Network Operations The Fat Pipe Meet The Hosts Video Networking Tutorials Product Demos YouTube Networking Tutorials Product Demos YouTube Blog Newsletters Resources IPv6 Device Compatibility from HexaBuild Open Source Networking Projects SD-WAN, SASE, SSE Vendors Wi-Fi Engineer's Toolkit <$2,000 IPv6 Device Compatibility from HexaBuild Open Source Networking Projects SD-WAN, SASE, SSE Vendors Wi-Fi Engineer's Toolkit <$2,000 Sponsor Talk To Us Send Follow Up Become A Sponsor Pitch Your News Say Hello Join Slack Join IRC #packetpushers Send Follow Up Become A Sponsor Pitch Your News Say Hello Join Slack Join IRC #packetpushers Merch Store BLOG > GOOD TO KNOW | MARCH 1, 2019 TAGS: ROUTING A Glimpse At Two Approaches To Segment Routing ETHAN BANKS This post originally appeared in Human Infrastructure Magazine, our weekly newsletter. Sign up for free. We don't sell your data, spam you, or otherwise do horrifying things with your email address. Old timey network engineers might remember source routing. By default, we turned it off as a security risk, mitigating a potential MitM attack. Best path routing or bust, baby. Sadly, best path routing isn't sufficient for many networks. Artisanal routing techniques are all the rage, often to meet service chaining needs. Two emerging artisanal techniques are Segment Routing over MPLS (SR-MPLS) and Segment Routing over IPv6 (SRv6). As Segment Routing is the new hotness, let's squint at these two approaches. SR-MPLS Vs. SRv6 Both SR technologies encode path information in the packet, but each one does it differently. SR-MPLS uses a label stack to describe the desired path through the network. Label Switch Routers observe the label, pop it, and forward. SRv6 uses a Segment Routing Header (SRH) embedded in an IPv6 packet to describe the desired path through the network. SRH-aware nodes read the header, update a pointer, swap the destination address, and forward. Both SR approaches require little of the routing infrastructure itself. No SR state is maintained in the core network, as each packet has forwarding instructions embedded in it. Instead, an edge router, or possibly a controller, creates the paths and encodes the label stack or SRH in the packet before it's sent into the core. SRv6 Adoption Challenges SR-MPLS has seen some adoption, particularly among service providers. SRv6, however, lags. Why? In a nutshell, hardware. SR-MPLS asks nothing special of ASICs when it comes to forwarding. There's a label. Perform a lookup. Pop the label. Forward the packet. Yes, there is control plane software specific to SR-MPLS, but that doesn't impact the ASIC's ability to forward packets. As a result, SR-MPLS has relatively low adoption costs. By contrast, SRv6 asks something special of ASICs. The SRH is a new IPv6 header to interact with, and it's still an IETF draft. SRv6 nodes must take several actions along an SR path, including reading the SRH, re-writing the IPv6 destination field to the next node in the path, updating a pointer, and performing a node-specific action. None of these requirements are insurmountable, but as with any new packet-level technology, asking ASIC designers to commit features requires serious customer demand. Why bake features into silicon that no one will use? Ameliorating the situation somewhat is that non-SRv6 capable routers forward the packet normally, ignoring the SRH. Not every network node must cope with the SRH. Hardware & Software Support For SRv6 Thus far, I've found evidence of SRv6 support in Cisco's NCS5500 and Nexus 9300GX, and in Barefoot Networks' programmable Tofino chip. In addition, I found a rumor that Juniper might support SRv6 in its Penta chip. That makes sense, as the Penta is also programmable. There might be more platforms supporting SRv6 I didn't spot. In a Tech Field Day presentation, Cisco's Jakub Horn stated, “Our first hardware implementation right now is on two platforms. One is the custom silicon. Second is the merchant silicon. Both are shipping right now in [IOS-XR] 6.1 release. Obviously, capability-wise, they are slightly different. Custom silicon is slightly better than the merchant…Both are shipping right now.” In software, the Linux kernel supports SRv6 as of kernel versions 4.10 via the SREXT kernel module. That's an option if you'd like to hack around or roll your own with a whitebox. The open-source FD.io project also supports SRv6. Those software options sound like reasonable edge computing use cases, as service providers want to do fancy service chaining in central offices. There's enough power in x86 paired with the right projects to handle the forwarding load in an edge scenario. Who's Driving SRv6? Cisco seems to be the driving force behind SRv6. Cisco's made a chip investment. Cisco folks have also done much work in the IETF related to SRv6, and seem tied to the FD.io SRv6 implementation. Why? I'm not sure. In Cisco's SRv6 presentations, the main theme is network simplification. That is, operators can deliver the same apps and services they did with an MPLS stack, only with a simpler IPv6 fabric. Cisco has all the pieces–hardware and software offerings driving a complete SRv6 solution. Simplification is an interesting point, but I'm not sure MPLS is that complex of a problem for operators. In addition, any significant change to an SP network is going to be a slow burn. Brownfield is hard, even when new tech is installed as patches of green. Will “simplification” drive SRv6 adoption? At the moment, I don't see it. What's Next For SRv6? I'm sorting out my opinion on where SRv6 might fit into the networking world. If you have an opinion, let me know via [email protected]. I'm writing a hoopla-free technical whitepaper on SRv6 for publication on Ignition, and my research continues. Don't Mix Up WHAT Is Being Transported With HOW It Is Being Transported On 5-Feb-2021, this section was added to the original article in response to a reader question. Karrar asks, “My question is that can we use IPv6 in the environment of SR-MPLS or IPv6 only can be used with SRv6 and we have to use IPv4 with SR-MPLS?” Hi, Karrar. Let's talk about SR-MPLS first. IPv4 & IPv6 can both be used in an SR-MPLS environment. In any MPLS environment, the MPLS label stack sits in front of the packet being carried. SR-MPLS is just a programmatic way to create a label stack. The MPLS core doesn't care how that label stack was created, whether it was via traditional LDP push/pop or via segment routing. Section 1 of https://datatracker.ietf.org/doc/rfc8663/?include_text=1 spells this out. “1. Introduction. MPLS Segment Routing (SR-MPLS) [RFC8660] is a method of source routing a packet through an MPLS data plane. This is achieved by the sender imposing a stack of MPLS labels that partially or completely specify the path that the packet is to take and any instructions to be executed on the packet as it passes through the network. SR-MPLS uses an MPLS label stack to encode a sequence of source-routing instructions. This can be used to realize a source-routing mechanism that can operate across MPLS, IPv4, and IPv6 data planes. This approach makes no changes to SR-MPLS specifications and allows interworking with SR-MPLS implementations. More specifically, the source-routing instructions in a source-routed packet could be uniformly encoded as an MPLS label stack regardless of whether the underlay is IPv4, IPv6 (including Segment Routing for IPv6 (SRv6) [RFC8354]), or MPLS.” If you think of MPLS as a sort of tunneling mechanism (that is, you can put anything you want inside the tunnel), and then realize that SR-MPLS doesn't change how MPLS works (the network is still forwarding based on labels, just with an explicit path through the network defined by the labels), then this should made sense. Now let's consider SRv6. With SRv6, the forwarding instructions are encoded in the IPv6 header, so in that sense, IPv6 must be present. You probably won't see MPLS in an SRv6 environment. That's part of the reason SRv6 as a technology exists–to eliminate the need for MPLS for network designers who would like that option. The argument is for simplification. That is, a network can eliminate MPLS (and MPLS-TE) and still have a fancy traffic engineering option available to them by using SRv6. But that doesn't mean we can't use IPv4 with SRv6. We can! Realize that IPv6 can tunnel other IPv6 packets or IPv4 packets inside. So, an IPv6 packet with SRv6 headers ends up working very much the same as SR-MPLS. Put whatever you like in the tunnel. There's a great article by one of the SRv6 IETF document authors, Clarence Filsfils, here. In this article, he mentions, “The SRv6 Domain is the service provider domain where SRv6 services are built to transport any kind of customer traffic including IPv4, IPv6, or even L2 frames.” An IETF draft covering this information in more detail is here. That doc references this other supporting doc explaining how encapsulations of different kinds of packets is to be done. About Ethan Banks: Founder of Packet Pushers, a podcast network for IT people. Recovering CCIE #20655. Co-host of the Heavy Networking, Tech Bytes & N Is For Networking pods. Your network is not a democracy. Rig every election. LINKEDIN| Related podcasts More info about Disco Day Two Cloud listen in full D2DO307: Why AI Can't Replace DevOps Fundamentals Ned and Kyler welcome Andrew Brown, co-founder of ExamPro, to discuss how AI is reshaping the IT education and training landscape. They discuss why foundational technical knowledge remains vital, how AI-generated answers can make mistakes at scale, and the importance of learning how to troubleshoot when automated tools hit their limits. Episode Links: Watch this ... Read more » play PREVIEW 01:05 Heavy Networking listen in full HN833: The State of Packet Pushers 2026 Ethan and Drew gather the rest of the Packet Pushers team to discuss the State of the Packet Pushers Network. Together they provide a behind the scenes look into current initiatives like adding video and raising the standards of our audio. They also share the details of the workflows behind all your favorite shows and ... Read more » play PREVIEW 01:04 Network Automation Nerds listen in full NAN126: Fine-Tuning Open Source LLMs for Network Engineering Eric welcomes Eduard Dulharu, a veteran network architect and the Founder and CTO of vExpertAI, to talk about how agentic AI, open-source LLMs, and digital twins are changing network operations. Eduard discusses the rapid evolution of generative AI, draws parallels between AI's current limitations and early network protocols such as Spanning Tree, talks about why ... Read more » play PREVIEW 01:04 Leave a Comment Cancel reply Post Comment Δ Packet Pushers serves the global community of hands-on IT professionals & vendors with technical podcasts, blogs & videos + industry news & analysis. We cover networking, cloud, and cybersecurity. By and for engineers, we talk to cynical veterans, fresh faces, and tech leaders. PODCASTS Day Two DevOps Heavy Networking Heavy Strategy Heavy Wireless IPv6 Buzz Life In Uptime N Is For Networking Network Automation Nerds Network Break Packet Protector Tech Bytes Technically Leadership The Cloud Gambit Total Network Operations Meet The Hosts VIDEO Network Tutorials Product Demos YouTube BLOG & NEWSLETTERS Blog Human Infrastructure Packet Capture COMMUNITY Slack Libera IRC #packetpushers Merch Store Strava (nerds workin' out) TALK TO US Send Follow Up Become A Sponsor Pitch Your News Say Hello © 2014-2026 Packet Pushers Interactive, LLC. All rights reserved. About | Terms & Conditions | Privacy Policy | Status