{"id":151,"date":"2020-05-16T18:19:26","date_gmt":"2020-05-16T17:19:26","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=151"},"modified":"2020-05-16T18:19:26","modified_gmt":"2020-05-16T17:19:26","slug":"srv6","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2020\/05\/16\/srv6\/","title":{"rendered":"SRv6"},"content":{"rendered":"\n<p>This year, in my employer, I completed the migration to a MPLS SR Arista core network from a Brocade MPLS LDP one. Our backbone is still pure IPv4 so anything IPv6 is not going to be added. But this week, via an APNIC blog <a href=\"https:\/\/blog.apnic.net\/2020\/05\/08\/srv6-deployed-use-cases\/\">post<\/a> I read about SRv6. And it looks quite interesting. So I went to the first <a href=\"https:\/\/blog.apnic.net\/2020\/05\/01\/what-is-srv6-network-programming\/\">post<\/a> to go a bit deeper about what SRv6 is. Based on the statements of the blog, really big networks are already using this <a href=\"https:\/\/datatracker.ietf.org\/doc\/draft-matsushima-spring-srv6-deployment-status\/\">technology<\/a> and quite a lot of support from the open source community too. I missed Arista in that list though.<\/p>\n\n\n\n<p>So I tried to find some &#8220;real&#8221; proof of this SRv6 is some pcap files to see the format and get a bit better view. I could find at lest a <a href=\"https:\/\/github.com\/SRouting\/SRPerf\/tree\/master\/pcap\/trex-pcap-files\">source<\/a> with some. The examples are not like the ones mentioned in the APNIC blog post but just for taking a look, it is enough:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"783\" src=\"https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-16-17-46-17-1-1024x783.png\" alt=\"\" class=\"wp-image-153\" srcset=\"https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-16-17-46-17-1-1024x783.png 1024w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-16-17-46-17-1-300x229.png 300w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-16-17-46-17-1-768x587.png 768w, https:\/\/blog.thomarite.uk\/wp-content\/uploads\/2020\/05\/Screenshot-from-2020-05-16-17-46-17-1.png 1181w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>So I can see inside the IPv6 header, the SRv6 Header as defined in the <a href=\"https:\/\/tools.ietf.org\/html\/rfc8754\">rfc<\/a>.<\/p>\n\n\n\n<p>I dont really understand the second IPv6 header (Dst: b::2). From the first IPv6 header, the destination &#8220;f1::&#8221; has to be the first instruction SID1. I can see how it mentions it contains a SRH (Next Header: 43). And inside the routing header, we can see it is SR type (Type: 4). I assume that Address[0] and Address[1] are SID2 and SID3.<\/p>\n\n\n\n<p>Would be cool to lab a SRv6 scenario.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This year, in my employer, I completed the migration to a MPLS SR Arista core network from a Brocade MPLS LDP one. Our backbone is still pure IPv4 so anything IPv6 is not going to be added. But this week, via an APNIC blog post I read about SRv6. And it looks quite interesting. So &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2020\/05\/16\/srv6\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;SRv6&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-networks"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":1,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"predecessor-version":[{"id":154,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/151\/revisions\/154"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}