{"id":14663,"date":"2024-07-03T17:59:39","date_gmt":"2024-07-03T20:59:39","guid":{"rendered":"https:\/\/made4it.com.br\/configuring-l2vpn-with-srv6-in-huawei-maos-in-the-mass-with-srv6\/"},"modified":"2024-07-04T11:19:08","modified_gmt":"2024-07-04T14:19:08","slug":"configuring-l2vpn-with-srv6-in-huawei-hands-on-with-srv6","status":"publish","type":"post","link":"https:\/\/made4it.com.br\/en\/configuring-l2vpn-with-srv6-in-huawei-hands-on-with-srv6\/","title":{"rendered":"Configuring L2VPN with SRv6 on Huawei: Hands-on with SRv6"},"content":{"rendered":"\n<p><br\/>Welcome, dear readers and network enthusiasts! If you&#8217;ve made it this far, it&#8217;s because you&#8217;ve already survived the theory of SRv6 (Segment Routing IPv6) in our first two articles. If you haven&#8217;t already, I recommend taking a look at them so you don&#8217;t feel as lost as a packet without a router.<br\/>After all, nobody wants to be the lost packet on the network, right?  <br\/><br\/>In the first chapters of our SRv6 saga, we delved into the concepts and theory behind the protocol. If you don&#8217;t remember, go there and review the articles:  <br\/><br\/><a href=\"undefined\" target=\"_blank\" rel=\"noopener\" title=\"https:\/\/made4it.com.br\/srv6-um-sucessor-do-mpls\/\">https:\/\/made4it.com.br\/srv6-um-sucessor-do-mpls\/<\/a><br\/><a href=\"undefined\" target=\"_blank\" rel=\"noopener\" title=\"https:\/\/made4it.com.br\/srv6-um-sucessor-do-mpls-parte-2\/\">https:\/\/made4it.com.br\/srv6-um-sucessor-do-mpls-parte-2\/<\/a><br\/><br\/>Now it&#8217;s time to get your hands dirty and see how it all works in practice. It&#8217;s like building a LEGO Millennium Falcon after reading the instruction manual. Let&#8217;s put this structure together step by step!  <br\/>Get your terminals ready, buckle up and let&#8217;s take off in this basic SRv6 configuration lab.  <br\/>If you&#8217;re ready to turn theory into practice and master yet another networking Jedi skill, join me!  <br\/><br\/><strong>The laboratory<\/strong> <br\/><br\/>The aim of the lab is to create a simple topology with SRv6, using ISIS as the IGP and BGP to signal L2VPN.  <br\/>We will use the &#8220;END-DX2&#8221; SID to transport L2VPN within our SRv6 environment.  <br\/><br\/>For our lab we are using 6 Huawei NE40E-M2K routers (V800R022C10SPC500), acting as nodes in the IPv6 Segment-Routing network.  <br\/>We also have 2 Mikrotik routers (RouterOS 7.6), simulating the network CEs.  <br\/><br\/><br\/>Physical topology:<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"227\" data-id=\"14580\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2024-07-02-174035-1024x227.png\" alt=\"\" class=\"wp-image-14580\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2024-07-02-174035-1024x227.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2024-07-02-174035-300x67.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2024-07-02-174035-768x170.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2024-07-02-174035.png 1415w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n<p><br\/><br\/>Topology with IPv6 addressing:<br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"214\" data-id=\"14583\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2222-1024x214.png\" alt=\"\" class=\"wp-image-14583\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2222-1024x214.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2222-300x63.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2222-768x160.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-2222.png 1410w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n<p><br\/>Topology with services:<br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"294\" data-id=\"14586\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-3333-1024x294.png\" alt=\"\" class=\"wp-image-14586\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-3333-1024x294.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-3333-300x86.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-3333-768x221.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-3333.png 1466w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n<p><br\/><br\/>We can see from the topologies that someone certainly likes coffee a lot.  <br\/> <br\/>Without further ado, let&#8217;s get down to business.  <br\/><br\/><br\/><strong>Configuration roadmap  <br\/><\/strong><br\/><\/p>\n\n<ul class=\"wp-block-list\">\n<li>Task 1: Configure IS-IS on all routers.  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 2: Configure Loopbacks with IS-IS support.  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 3: Configure link networks with IS-IS support.  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 4: Enable SRv6 globally  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 5: Configure BGP with L2VPN support on PEs  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 6: Create VPN VPWS and SID End.DX2 on R1 and R6.  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 7: Link EVPL to interfaces with ECs  <\/li>\n<\/ul>\n\n<ul class=\"wp-block-list\">\n<li>Task 8: Checks  <\/li>\n<\/ul>\n\n<p><br\/>Easy Peasy.  <br\/><br\/><br\/><strong>Task 1: Configure IS-IS on all routers.  <br\/><\/strong> <br\/>First, we configured IS-IS as the level 2 routing protocol on all routers, enabling IPv6.  <br\/> <br\/><strong>R1:  <\/strong><br\/><\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nisis 1 \nis-level level-2 \ncost-style wide \nnetwork-entity 10.0000.0000.0001.00 \n# \nipv6 enable topology ipv6 \n# <\/code><\/pre>\n\n<p>\n          <br\/>\n          <br\/>\n          <strong>R2:<\/strong>\n          <br\/>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nisis 1 \nis-level level-2 \ncost-style wide \nnetwork-entity 10.0000.0000.0002.00 \n#  \nipv6 enable topology ipv6 \n# \n<\/code><\/pre>\n\n<p>Follow the configuration of the other routers according to the documentation.<\/p>\n\n<p><br\/><strong>Task 2: Configure Loopbacks with IS-IS support  <br\/><\/strong> <br\/>Configure the Loopback interfaces on each router with IPv4 and IPv6 addresses and enable IS-IS.  <br\/><br\/><br\/><br\/><strong>R1:<\/strong> <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \ninterface LoopBack0 \nipv6 enable \nip address 10.1.1.1 255.255.255.255 \nipv6 address 2001:DB8:C0CA::1\/128 \nisis ipv6 enable 1 \n# <\/code><\/pre>\n\n<p>\n          <br\/>\n          <strong>R2:<\/strong>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \ninterface LoopBack0 \nipv6 enable \nip address 10.1.1.2 255.255.255.255 \nipv6 address 2001:DB8:C0CA::2\/128 \nisis ipv6 enable 1 \n# <\/code><\/pre>\n\n<p><br\/><br\/>Follow the configuration of the other routers according to the documentation.  <br\/><br\/><strong>Task 3: Configure link networks with IS-IS support  <br\/><\/strong> <br\/>Configure the Ethernet interfaces interconnected between the routers with IPv6 addresses and enable IS-IS.  <\/p>\n\n<p>\n          <br\/>\n          <strong>R1 &#8211; Ethernet3\/0\/1- Connected to router R2.  <br\/><\/strong>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \ninterface Ethernet3\/0\/1 \ndescription Connected to Eth3\/0\/1 - R2 \nundo shutdown \nipv6 enable \nipv6 address 2001:DB8:CADE:CAFE:1:2:0:1\/96 \nisis ipv6 enable 1 \n# <\/code><\/pre>\n\n<p><br\/><br\/>R1 &#8211; Ethernet3\/0\/3 &#8211; Connected to router R3.  <br\/><br\/><\/p>\n\n<pre class=\"wp-block-code\"><code>system-view  \ninterface Ethernet3\/0\/3  \ndescription Connected to Eth3\/0\/3 - R3  \nundo shutdown  \nipv6 enable\nipv6 address 2001:DB8:CADE:CAFE:1:3:0:1\/96  \nisis ipv6 enable 1 \n#<\/code><\/pre>\n\n<p>Follow the configuration of the other routers according to the documentation.  <br\/><br\/><\/p>\n\n<p>Task 4: Enable SRv6 globally  <\/p>\n\n<p> <br\/>Configure SRv6 on each router, defining source addresses and locators, and integrating them with IS-IS<\/p>\n\n<p>\n          <br\/>\n          <strong>R1:<\/strong>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nsegment-routing ipv6 \nencapsulation source-address 2001:DB8:C0CA::1 \nlocator R1 ipv6-prefix 2001:DB8:1:1:: 64 static 32 \n# \nisis 1 \nsegment-routing ipv6 locator R1 \n# \n#<\/code><\/pre>\n\n<p>\n          <strong>R2:  <\/strong>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nsegment-routing ipv6 \nencapsulation source-address 2001:DB8:C0CA::2 \nlocator R2 ipv6-prefix 2001:DB8:2:2:: 64 static 32 \n# \nisis 1 \nsegment-routing ipv6 locator R2 \n# \n# <\/code><\/pre>\n\n<p><br\/>Follow the configuration of the other routers according to the documentation.  <br\/><br\/>Task 5: Configure BGP with L2VPN support on PEs  <br\/> <br\/>Configure BGP with EVPN and L2VPN support on the edge routers (R1 and R6), creating BGP sessions between them.  <br\/><br\/><strong>R1:<\/strong><br\/><br\/><\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nevpn source-address 10.1.1.1 \nbgp 65000 \nrouter-id 10.1.1.1 \npeer 2001:DB8:C0CA::6 as-number 65000 \npeer 2001:DB8:C0CA::6 connect-interface LoopBack0 \n# \nl2vpn-family evpn \nundo policy vpn-target \npeer 2001:DB8:C0CA::6 enable \ny \npeer 2001:DB8:C0CA::6 advertise encap-type srv6 \n#<\/code><\/pre>\n\n<p>\n          <br\/>\n          <strong>R6:<\/strong>\n          <br\/>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nevpn source-address 10.1.1.6 \nbgp 65000 \nrouter-id 10.1.1.6 \npeer 2001:DB8:C0CA::1 as-number 65000 \npeer 2001:DB8:C0CA::1 connect-interface LoopBack0 \n# \nl2vpn-family evpn \nundo policy vpn-target \npeer 2001:DB8:C0CA::1 enable \ny \npeer 2001:DB8:C0CA::1 advertise encap-type srv6 \n# <\/code><\/pre>\n\n<p><\/p>\n\n<p>Task 6: Create EVPN\/EVPL and SID End.DX2 on PEs  <\/p>\n\n<p>Configure the EVPN\/EVPL instances and associate the appropriate SRv6 locators on the edge routers.<\/p>\n\n<p>\n          <br\/>\n          <strong>R1:<\/strong>\n          <br\/>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nevpn vpn-instance evrf1 vpws \nroute-distinguisher 100:1 \nsegment-routing ipv6 best-effort \nvpn-target 1:1 export-extcommunity \nvpn-target 1:1 import-extcommunity \n# \nevpl instance 1 \nevpn binding vpn-instance evrf1 \nlocal-service-id 100 remote-service-id 200 \nsegment-routing ipv6 locator R1 \n# \nsegment-routing ipv6 \nlocator R1 \nopcode ::A end-dx2 evpl-instance 1 \n# <\/code><\/pre>\n\n<p>\n          <br\/>\n          <br\/>\n          <strong>R6:<\/strong>\n          <br\/>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \nevpn vpn-instance evrf1 vpws \nroute-distinguisher 200:1 \nsegment-routing ipv6 best-effort \nvpn-target 1:1 export-extcommunity \nvpn-target 1:1 import-extcommunity\n# \nevpl instance 1 \nevpn binding vpn-instance evrf1 \nlocal-service-id 200 remote-service-id 100 \nsegment-routing ipv6 locator R6 \n# \nsegment-routing ipv6 \nlocator R6 \nopcode ::A end-dx2 evpl-instance 1 \n#<\/code><\/pre>\n\n<p>\n          <br\/>\n        <\/p>\n\n<p>Task 7: Link EVPL to interfaces with ECs  <br\/> <\/p>\n\n<p>Associate the EVPL instances with the interfaces connected to the client routers (CEs).  <br\/> <\/p>\n\n<p>\n          <strong>R1:  <\/strong>\n          <br\/>\n        <\/p>\n\n<pre class=\"wp-block-code\"><code>interface Ethernet3\/0\/4 \ndescription Connected to CE1 \nundo shutdown \nevpl instance 1 \n# \n\n<\/code><\/pre>\n\n<p><strong>R6:<\/strong>  <br\/><\/p>\n\n<pre class=\"wp-block-code\"><code>system-view \ninterface Ethernet3\/0\/4 \ndescription Connected to CE2 \nevpl instance 1 \n# <\/code><\/pre>\n\n<p>\n          <br\/>\n        <\/p>\n\n<p><strong>Task 8: Checks<\/strong>  <br\/>Once configured, let&#8217;s do some checks on the technologies involved:  <br\/><br\/><strong>8.1: Adjacencies of the IGP.  <br\/><\/strong>Confirm the IS-IS adjacencies between the routers.  <br\/> <br\/>Once configured, let&#8217;s do some checks on the technologies involved:  <br\/><br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-4 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" data-id=\"14626\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-01-1024x341.png\" alt=\"\" class=\"wp-image-14626\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-01-1024x341.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-01-300x100.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-01-768x256.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-01.png 1152w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n<p><br\/><br\/><strong>8.2: IS-IS route table.  <br\/><\/strong>Below is the output of router R1&#8217;s routing table:<br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-5 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"570\" height=\"946\" data-id=\"14629\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-02.png\" alt=\"\" class=\"wp-image-14629\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-02.png 570w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-02-181x300.png 181w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/figure>\n<\/figure>\n\n<p><br\/>One nice thing we&#8217;ve noticed here is routes for &#8220;Locator&#8221; prefixes (\/64).  <br\/>In other words, the environment already knows in its routing table the prefix used for the SRv6 of each of the nodes in the topology \ud83d\ude0a<br\/><br\/><br\/><strong>8.3: BGP table &#8220;EVPN&#8221; of router R1, to ensure that we have the session between R1 and R6 required for VPWS.<\/strong><br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-6 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"758\" height=\"172\" data-id=\"14632\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Artigo-03.png\" alt=\"\" class=\"wp-image-14632\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Artigo-03.png 758w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Artigo-03-300x68.png 300w\" sizes=\"(max-width: 758px) 100vw, 758px\" \/><\/figure>\n<\/figure>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-7 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"621\" height=\"469\" data-id=\"14635\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-04.png\" alt=\"\" class=\"wp-image-14635\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-04.png 621w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-04-300x227.png 300w\" sizes=\"(max-width: 621px) 100vw, 621px\" \/><\/figure>\n<\/figure>\n\n<p><\/p>\n\n<p>We can see that R1 has an established and functional session with router R6. R1&#8217;s routing table also shows an ESI for R6 in RD 200:1. So far, everything is ready for the environment to transition to VPWS.  <\/p>\n\n<p>8.4: EVPL on router R1 and R6. Below, the output of router R1.<br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-8 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"440\" height=\"531\" data-id=\"14638\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-05.png\" alt=\"\" class=\"wp-image-14638\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-05.png 440w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-05-249x300.png 249w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/figure>\n<\/figure>\n\n<p><br\/><br\/>We see in R1 that the EVPL is UP, and the tunnel used to transit the packets within the network is of the &#8220;SRv6-BE&#8221; type (Segment Routing IPv6 &#8211; Best Effort).  <br\/>This indicates that the VPWS is closed and functional between the <em>head-end<\/em> and <em>tail-end<\/em> and also that the transport tunnel between the PEs is using SRv6.<br\/><br\/>8.5: Local SID table for router R1:<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-9 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"663\" data-id=\"14605\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-06.png\" alt=\"\" class=\"wp-image-14605\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-06.png 693w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-06-300x287.png 300w\" sizes=\"(max-width: 693px) 100vw, 693px\" \/><\/figure>\n<\/figure>\n\n<p>Looking at the local table of SIDs allocated to R1, we see not only the SID configured for VPWS but also some SIDs of type &#8220;END&#8221; and type &#8220;END.X&#8221;.  <br\/> <br\/>What really matters to us at the moment is the &#8220;End.DX2&#8221; SID, which says that anything sent to the IPv6 address 2001:db8:1:1::a\/128 will be delivered to our VPWS.  <br\/>If you&#8217;re curious what the other SIDs are all about, stay tuned for future blog posts \ud83d\ude00<br\/><br\/>8.6: Configuration and communication of ECs.  <br\/> <br\/>Interfaces of ECs 1 and 2, with an IPv4 address for communication.<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-10 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"922\" height=\"256\" data-id=\"14641\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-06.png\" alt=\"\" class=\"wp-image-14641\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-06.png 922w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-06-300x83.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-06-768x213.png 768w\" sizes=\"(max-width: 922px) 100vw, 922px\" \/><\/figure>\n<\/figure>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-11 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"941\" height=\"255\" data-id=\"14611\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-08.png\" alt=\"\" class=\"wp-image-14611\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-08.png 941w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-08-300x81.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/Captura-de-tela-ARTIGO-08-768x208.png 768w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/figure>\n<\/figure>\n\n<p><br\/>ARP table from CE1 and a ping to CE2, confirming connectivity between the CEs.<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-12 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"426\" data-id=\"14650\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-08.png\" alt=\"\" class=\"wp-image-14650\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-08.png 700w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-08-300x183.png 300w\" sizes=\"(max-width: 700px) 100vw, 700px\" \/><\/figure>\n<\/figure>\n\n<p><br\/>Neighbors LLDP in CE1, showing the path being &#8220;Transparent&#8221; from the ECs point of view.<br\/><br\/><\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-13 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"135\" data-id=\"14653\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-09-1024x135.png\" alt=\"\" class=\"wp-image-14653\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-09-1024x135.png 1024w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-09-300x39.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-09-768x101.png 768w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-09.png 1384w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n<p><br\/>8.7: While CE1 is exchanging pings with CE2, a packet capture on router R1&#8217;s interface to the rest of the SRv6 network has the following output:<\/p>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-14 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"876\" height=\"276\" data-id=\"14656\" src=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-10.png\" alt=\"\" class=\"wp-image-14656\" srcset=\"https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-10.png 876w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-10-300x95.png 300w, https:\/\/made4it.com.br\/wp-content\/uploads\/2024\/07\/artigo-10-768x242.png 768w\" sizes=\"(max-width: 876px) 100vw, 876px\" \/><\/figure>\n<\/figure>\n\n<p>EVPN packets are encapsulated and, when they are forwarded to the SRv6 network, the &#8220;destination address&#8221; becomes 2001:db8:6:6::A, this being the &#8220;SID&#8221; END.DX2&#8243;.  <br\/> <br\/>The most interesting thing about SRv6 is that the package is &#8220;IPv6&#8221;. If our environment contained only SRv6-supporting PEs, the rest of the network would know how to forward traffic without any problems \ud83d\ude0a<br\/><br\/><br\/><\/p>\n\n<p><strong>Summary<\/strong> <\/p>\n\n<p>In this lab, we explore the configuration of an L2VPN tunnel using SRv6, showing the basic configurations of each device.  <br\/>SRv6, with its advanced capabilities, is proving to be a promising technology for the networks of the future. To explore the application of SRv6 in your network, contact Made4IT, a specialist in the field. We can help you migrate from MPLS to SRv6, working on the coexistence of these protocols.  <\/p>\n\n<p>\n          <br\/>\n        <\/p>\n\n<p>\n          <strong>Complete configurations  <\/strong>\n        <\/p>\n\n<p>Download this complete lab, with topologies, configurations and roadmap here:  <br\/><\/p>\n\n          \n\n          <div role=\"main\" id=\"artigo-l2vp-d5b480297e2dcad03507\"><\/div>\n          <script type=\"text\/javascript\" src=\"https:\/\/d335luupugsy2.cloudfront.net\/js\/rdstation-forms\/stable\/rdstation-forms.min.js\"><\/script>\n          <script type=\"text\/javascript\"> new RDStationForms('artigo-l2vp-d5b480297e2dcad03507', 'UA-159909008-1').createForm();<\/script>\n          \n\n        \n\n<p><br\/><strong>Authors:  <\/strong> <br\/><em>Gabriel Henrique, Network and Project Analyst at Made4it.  <br\/>Rafael Ganascim, Co-Founder of Made4it.<\/em>  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome, dear readers and network enthusiasts! If you&#8217;ve made it this far, it&#8217;s because you&#8217;ve already survived the theory of SRv6 (Segment Routing IPv6) in our first two articles. If you haven&#8217;t already, I recommend taking a look at them so you don&#8217;t feel as lost as a packet without a router.After all, nobody wants [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":14661,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"postBodyCss":"","postBodyMargin":[],"postBodyPadding":[],"postBodyBackground":{"backgroundType":"classic","gradient":""},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14663","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-nao-categorizado"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/14663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/comments?post=14663"}],"version-history":[{"count":4,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/14663\/revisions"}],"predecessor-version":[{"id":14670,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/posts\/14663\/revisions\/14670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media\/14661"}],"wp:attachment":[{"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/media?parent=14663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/categories?post=14663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/made4it.com.br\/en\/wp-json\/wp\/v2\/tags?post=14663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}