<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Ipv6 - Tag - Fryguy's Blog</title><link>https://hugo.fryguy.net/tags/ipv6/</link><description>Ipv6 - Tag - Fryguy's Blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 29 Sep 2014 18:50:03 +0000</lastBuildDate><atom:link href="https://hugo.fryguy.net/tags/ipv6/" rel="self" type="application/rss+xml"/><item><title>Fryguy.Net – IMPROVED!</title><link>https://hugo.fryguy.net/2014/09/29/fryguy-net-improved/</link><pubDate>Mon, 29 Sep 2014 18:50:03 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2014/09/29/fryguy-net-improved/</guid><description><![CDATA[<p align="center">
  <p align="left">
    <a href="https://i0.wp.com/new.fryguy.net/wp-content/uploads/2014/09/ipv6.png"></a>
  </p>
  <p align="left">
    My hosting provider, <a href="https://www.digitalocean.com/?refcode=09350b890f90" target="_blank" rel="noopener noreferrer">Digital Ocean</a>, has added IPv6 to one of their NY Data centers.  Over this weekend, and thanks to <a href="https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=shellshock+bash" target="_blank" rel="noopener noreferrer">Shellshock</a> BASH vulnerability,  I finally got around to migrating the server to a new host that is IPv6 enabled.
  </p>
  <p align="left">
    So as of this morning, there is a now a AAAA record for <a href="/">www.fryguy.net</a>!
  </p>
  <p align="left">
    <p align="left">
      <span style="float: none; color: #404040; text-align: left; font: 11px verdana, arial, sans-serif; display: inline !important; background-color: #ffffff;">IPv6 Ping Output:</span>
    </p>]]></description></item><item><title>IOS XR – EIGRP</title><link>https://hugo.fryguy.net/2012/09/17/ios-xr-eigrp/</link><pubDate>Mon, 17 Sep 2012 13:01:25 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/09/17/ios-xr-eigrp/</guid><description><![CDATA[<p align="center">
  
</p>
<p>Up next is IOS XR and EIGRP<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<span style="color: red;">conf t</span><br /> Thu Mar 29 20:07:53.797 UTC<br /> RP/0/7/CPU0:R1(config)#<span style="color: red;">no router ospf LAB<br /> </span>RP/0/7/CPU0:R1(config)#</span><span style="color: red;">commit</span><br>
Once that is deleted, we can now continue with EIGRP configuration.<br>
Just like IOS, we need to give it a process ID<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config)#<br /> RP/0/7/CPU0:R1(config)#</span><span style="color: red;">router eigrp 1</span><br>
Here is where the difference starts, we need to select the Address family first<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp)#<span style="color: red;">address-family ipv4</span></span><br>
Enter no auto-summary ( this is habitual to be honest )<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp-af)#</span><span style="color: red;">no auto-summary</span><br>
Then assign the interfaces you want in EIGRP<br>
<span style="color: blue;">RP/0/7/CPU0:R1(config-eigrp-af)#<span style="color: red;">int</span> l0<br /> RP/0/7/CPU0:R1(config-eigrp-af-if)#<span style="color: red;">int g0/3/0/2<br /> </span>RP/0/7/CPU0:R1(config-eigrp-af-if)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-eigrp-af)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config-eigrp)#<span style="color: red;">exit</span><br /> RP/0/7/CPU0:R1(config)#<span style="color: red;">commit</span><br /> Thu Mar 29 20:08:59.108 UTC<br /> RP/0/7/CPU0:R1(config)#exit</span></p>]]></description></item><item><title>IOS XR Configuring Interfaces – Basic IPv4 and IPv6</title><link>https://hugo.fryguy.net/2012/04/03/ios-xr-configuring-interfaces-basic-ipv4-and-ipv6/</link><pubDate>Tue, 03 Apr 2012 12:36:26 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2012/04/03/ios-xr-configuring-interfaces-basic-ipv4-and-ipv6/</guid><description><![CDATA[<p align="center">
  
</p>
<p> <br>
Time to continue the IOS XR information, now configuring interfaces. Yes, this is somewhat basic stuff – but I think that it is good just to see it. If you are afraid of it, seeing stuff that is easy can help someone become comfortable with new things.<br>
 <br>
First, let’s take a look at what interfaces we have and review them quickly. We can use the same command we are already familiar with – show ip interface brief<br>
<span style="color: blue;">RP/0/7/CPU0:R1#<br /> RP/0/7/CPU0:R1#<span style="color: red;">sh ip int br</span><br /> Thu Mar 29 18:12:04.883 UTC</span><br>
<span style="color: blue;">Interface IP-Address Status Protocol<br /> MgmtEth0/7/CPU0/0 unassigned Shutdown Down<br /> MgmtEth0/7/CPU0/1 unassigned Shutdown Down<br /> MgmtEth0/7/CPU0/2 unassigned Shutdown Down<br /> GigabitEthernet0/3/0/0 unassigned Down Down<br /> GigabitEthernet0/3/0/1 unassigned Down Down<br /> GigabitEthernet0/3/0/2 unassigned Up Up<br /> GigabitEthernet0/3/0/3 unassigned Up Up<br /> MgmtEth0/6/CPU0/0 unassigned Shutdown Down<br /> MgmtEth0/6/CPU0/1 unassigned Shutdown Down<br /> MgmtEth0/6/CPU0/2 unassigned Shutdown Down<br /> RP/0/7/CPU0:R1#</span><br>
Here you can see that we have an RP in Slot 6 and 7 (Mgmt) and a 4-port Gig card in Slot 3. For this lab, interfaces G0/3/0/2 and G0/3/0/3 are pre-cabled to another router and are currently UP/UP right now.</p>]]></description></item><item><title>Cisco Press :: IPv6 for Enterprise Networks</title><link>https://hugo.fryguy.net/2011/05/06/cisco-press-ipv6-for-enterprise-networks/</link><pubDate>Fri, 06 May 2011 12:38:55 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2011/05/06/cisco-press-ipv6-for-enterprise-networks/</guid><description><![CDATA[<p style="text-align:center;">
  <a href="http://www.amazon.com/gp/product/1587142279/ref=as_li_ss_tl?ie=UTF8&tag=frygunet-20&linkCode=as2&camp=217145&creative=399349&creativeASIN=1587142279"></a>
</p>
<p>We have all been hearing about IPv6 for a few years now. There have been numerous white papers published, blog posts, audio podcasts, as well as the normal twitter chatter on the topic. Lately this topic has come to the forefront more and more since the RIR have handed out the last of the IPv4 /8 networks to the regional registrars. So what does all this mean to you and I? Well, if you have not fully embraced IPv6, the time has definitely come.<br>
Luckily Cisco Press has recently released <a href="http://www.amazon.com/gp/product/1587142279/ref=as_li_ss_tl?ie=UTF8&amp;tag=frygunet-20&amp;linkCode=as2&amp;camp=217145&amp;creative=399349&amp;creativeASIN=1587142279" target="_blank" rel="noopener noreffer ">IPv6 for Enterprise Networks (Networking Technology)</a> for our reading pleasure. Originally I was going to wait until Cisco Live 2011 to get this book, but I just could not wait and my friend, Jamie, was able to help me get it sooner. I am glad that I did not wait! This book is a great read and will help the reader to understand IPv6 as well as help to design and deploy a network.<br>
The book consists of 12, well formatted chapters. They take you from the market drivers, to designing and services, deployment, and all the way to the data center and testing.  What is nice about this book is the progression on the topics.  You do not really need to know IPv6 to read this book, it will actually guide you through the whys and hows then onto the how to as well as testing.  It is nice to have a book that will cover most of the topics that one will experience in an Enterprise design.<br>
The first two chapters in the book talk about the market drivers for IPv6, these are some of the <em>whys</em> that people are wondering.  This is a pretty quick chapter as the killer application is not really out there yet, but is sure to be coming (my best guess will be Asian/Pac e-commerce).  What this chapter does elude to is that this is a good time to be able to restructure your network in a more efficient design.  Consider this, you probably inherited your current network and the design that is currently in place.  With a transition to IPv6, you now have the opportunity to reconsider what was done and determine were you should take it.  The first chapter does good at giving you some points to consider as you read on and helps you to understand some of the underlying design scenarios.<br>
The next two chapters, 3 and 4, start to go over how IPv4 and IPv6 will co-exist in the network and some of the ways to approach this challenge.  There are dual-stacking, 6-to-4 tunnels, MPLS, and the good old duct tape of the network – GRE.  It also continues to talk about services and some of the routing options that one has to consider.  Service such as multicast and QoS are discussed for a decent amount of pages.  These tend to be some of the more important items in an enterprise network.  These chapters also discuss the different routing protocol options – OSPFv3, EIGRPv6, and IS-IS with a mention of BGP.  What does surprise me, there is no discussion on LISP 🙂  Ok, that might have been asking for a bit much, but I do like LISP.<br>
I think that Chapter 5 is a really important chapter in some ways.  This is the chapter where Planning an IPv6 Deployment is discussed.  This is a topic that should not be taken lightly but one that should be a primary focus.  After all the technology and numbers, all that you really have to stand upon is good design.  As i mentioned before, what is nice with IPv6 is that you do not have to base your new design on the existing design, you can actually rethink everything and start fresh.  For instance, if you are currently running EIGRP but want to move to OSPF, deploying IPv6 is the time to start that move.  The two protocols (v4 and v6) are separate from each other.<br>
The next chapters, 6 through 10, are the heart of this book.  Discussed in some good detail is deploying IPv6 in Campus, Virtualized, WAN/Branch, Data Centers as well as Remote Access.  Each of these topics has a good chapter dedicated to it and there are many things that one needs to consider with each of these deployment scenarios.  Again, it all comes down to the choices made during the design and testing phase.<br>
Chapter 11 is a nice chapter on the aspects of Managing IPv6 Networks.  It covers the different ways to monitor and secure various parts of the network.  It is nice to actually see a chapter dedicated to some of the stuff that is quickly overlooked during a design an deployment – how to manage and support all the work that you have done.  Most of this stuff is usually figured out near the end of a project when we hand off things to the NOC – and they say IPvWhat?<br>
The final chapter in the book was a welcomed surprise to me.  This chapter actually talks about how to setup a lab to test IPv6.  It gives some good sample setups that should help the person be able to play with the protocol as well as test different scenarios.  Granted, some of the hardware suggested might be a bit out of reach for most of us (VSS, ISR, etc) – but it is a good starting point to see what you can do.  One can easily see ways to substitute certain hardware for other hardware so one can learn and develop.  If you are going to roll some of this into production, test hardware is invaluable for knowing the problems before they are experienced in a live network.<br>
Overall it is a good read and one that should be handy to those who are working with IPv6 right now.  Not only can you use the information within the book for your own knowledge, but it gives you information on how you can explain it to others.  One of the most difficult things that I come across in an enterprise is explaining difficult topics.  This book helps me to find ways to explain things in ways that others might be able to understand.</p>]]></description></item><item><title>More LiSP – using it to enable IPv6 over IPv4</title><link>https://hugo.fryguy.net/2011/04/08/more-lisp-using-it-to-enable-ipv6-over-ipv4/</link><pubDate>Fri, 08 Apr 2011 22:51:15 +0000</pubDate><author>Fryguy</author><guid>https://hugo.fryguy.net/2011/04/08/more-lisp-using-it-to-enable-ipv6-over-ipv4/</guid><description><![CDATA[<p style="text-align:center;">
  <strong><a href="/wp-content/uploads/2011/04/lisp-logo.jpg"></a><a href="http://www.lisp4.net/" target="_blank" rel="noopener noreferrer"></a><br /> </strong>
</p>
<p>Ok, now that I have that basic LISP post out, you know this one <a href="http://blog.fryguy.net/2011/04/07/lisp-locator-identifier-separation-protocol-say-what/" title="LISP – Locator Identifier Separation Protocol (Say what?)" target="_blank" rel="noopener noreffer ">LISP – Say What?!</a>, I figured I would build upon that configuration. Today I will show you how to overlay IPv6 at your sites while keeping your core IPv4 only.  There is no IPv6 addressing nor routing configured on the core Routers and this post will continue where the other one left off, no configuration changes have been made prior to this post, except I did have to upgrade from a base image to an Enterprise image to support IPv6 on R2, R3, and R4.  R1 is still running an IOS that does not support LISP nor IPv6.  This post will focus on the configuration first and then the explanation of how last.<br>
Below is the same topology I used in the other LISP post, just added some IPv6 addressing and routing protocols for Site-A and Site-B. I am going to build on what we have done in the other lab, so not all the necessary LISP configs are here for a scratch-built config.  I have included the full configs in the bottom of this post if you would like to look at them.<br>
<a href="/wp-content/uploads/2011/04/lisp-lab-ipv6-topology.jpg" rel=""></a><br>
Quick rundown on color codes again:<br>
<strong><span style="color:#ff0000;">Router Output</span></strong><br>
<strong><span style="color:#008000;">Notes</span></strong><br>
<strong><span style="color:#0000ff;">Commands</span></strong><br>
Lets start with R4, the LISP MS/MR device.  We will configure this to accept the IPv6 networks to the xTR routers at Site A and Site B<br>
<span style="color:#008000;">We need to enable IPv6 Routing on R4.  There will no no IPv6 interfaces, but it still needs to understand how to route IPv6 for when a request comes in</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)#<span style="color:#0000ff;"> ipv6 unicast-routing</span></span><br>
<span style="color:#008000;">Now we need to enable the IPv6 address family under the VRF, just like we did for IPv4.</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)# <span style="color:#0000ff;">vrf definition lisp</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-vrf)# <span style="color:#0000ff;">rd 1:1</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-vrf)# <span style="color:#0000ff;">address-family ipv6</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-vrf-af)#<span style="color:#0000ff;"> exit-address-family</span></span><br>
<span style="color:#008000;">Now enable LISP to be a map-server and resolver for IPv6</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)# <span style="color:#0000ff;">ipv6 lisp map-server</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)# <span style="color:#0000ff;">ipv6 lisp map-resolver</span></span><br>
<span style="color:#008000;">And just like IPv4, we need to add the IPv6 networks for the mappings for Site A and Site B</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)#<span style="color:#0000ff;"> lisp site Site-A</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)#<span style="color:#0000ff;"> eid-prefix 2001:DB8:0:1::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)#<span style="color:#0000ff;"> eid-prefix 2001:DB8:0:2::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)# <span style="color:#0000ff;">eid-prefix 2001:DB8:0:3::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)# <span style="color:#0000ff;">eid-prefix 2001:DB8:0:25::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config)#<span style="color:#0000ff;"> lisp site Site-B</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)#<span style="color:#0000ff;"> eid-prefix 2001:DB8:0:1001::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)# <span style="color:#0000ff;">eid-prefix 2001:DB8:0:1002::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)#<span style="color:#0000ff;"> eid-prefix 2001:DB8:0:1003::/64 accept-more-specifics</span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR(config-lisp-site)# <span style="color:#0000ff;">eid-prefix 2001:DB8:0:1036::/64 accept-more-specifics</span></span><br>
That is all that is necessary on R4 in order for LISP.  Just to prove there is no IPv6 configured:<br>
<span style="color:#ff0000;">LISP_R4_MP_MR# <span style="color:#0000ff;">sh ipv int br</span></span><br>
<span style="color:#ff0000;">GigabitEthernet0/0         [up/up]</span><br>
<span style="color:#ff0000;">unassigned</span><br>
Now, lets to the other two routers that are not part of LISP, namely R5 and R6.<br>
<strong>R5 first</strong><br>
<span style="color:#008000;">First we will enable IPv6 routing</span><br>
<span style="color:#ff0000;">LISP_R5(config)#<span style="color:#0000ff;"> ipv6 unicast-routing</span></span><br>
<span style="color:#008000;">Configure and enable IPv6 OSPF process 1</span><br>
<span style="color:#ff0000;">LISP_R5(config)#<span style="color:#0000ff;"> ipv6 router ospf 1</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-rtr)#<span style="color:#0000ff;"> log-adjacency-changes</span></span><br>
<span style="color:#008000;">Now we can assign our IPv6 addresses to our existing Loopback addresses and place these interfaces into OSPF PID 1 Area 0</span><br>
<span style="color:#ff0000;">LISP_R5(config)#<span style="color:#0000ff;"> interface Loopback1</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:1::5/64</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)#<span style="color:#0000ff;"> ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R5(config)#<span style="color:#0000ff;"> interface Loopback2</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:2::5/64</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)#<span style="color:#0000ff;"> ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R5(config)# <span style="color:#0000ff;"> interface Loopback3</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)#<span style="color:#0000ff;"> ipv6 address 2001:DB8:0:3::5/64</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)#<span style="color:#0000ff;"> ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R5(config)# <span style="color:#0000ff;">interface FastEthernet0/1</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:25::5/64</span></span><br>
<span style="color:#ff0000;">LISP_R5(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
That is all that is needed for R5.  The reason we created an OSPF process is so that we can learn an IPv6 default ( ::/0 ) route from R2<br>
<strong>now R6</strong><br>
<span style="color:#008000;">Just like R5, we will enable IPv6 routing.</span><br>
<span style="color:#ff0000;">LISP_R6(config)# <span style="color:#0000ff;">ipv6 unicast-routing</span></span><br>
<span style="color:#008000;">Then create the IPv6 OSPF Process 1</span><br>
<span style="color:#ff0000;">LISP_R6(config)# <span style="color:#0000ff;">ipv6 router ospf 1</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-rtr)# <span style="color:#0000ff;">log-adjacency-changes</span></span><br>
<span style="color:#008000;">Now we will assign the IPv6 addresses to the interfaces as well as place the interfaces in IPv6 OSPF Process ID 1, Area 0</span><br>
<span style="color:#ff0000;">LISP_R6(config)# <span style="color:#0000ff;">interface Loopback1</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:1001::6/64</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R6(config)# <span style="color:#0000ff;">interface Loopback2</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:1002::6/64</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R6(config)# <span style="color:#0000ff;">interface Loopback3</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)#<span style="color:#0000ff;"> ipv6 address 2001:DB8:0:1003::6/64</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)#<span style="color:#0000ff;"> ipv6 ospf 1 area 0</span></span><br>
<span style="color:#ff0000;">LISP_R6(config)#<span style="color:#0000ff;"> interface GigabitEthernet0/1</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:1036::6/64</span></span><br>
<span style="color:#ff0000;">LISP_R6(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
Again, that is all for R6.  And just like R5, we created OSPF so that we can learn an IPv6 default ( ::/0 ) route from R3<br>
So, now we can configure our xTR routers – R2 and R3.  R2 first<br>
<strong>R2</strong><br>
<span style="color:#008000;">Again, we need to enable IPv6 on these devices</span><br>
<span style="color:#ff0000;">LISP_R2(config)# <span style="color:#0000ff;">ipv6 unicast-routing</span></span><br>
<span style="color:#008000;">Now we create the IPv6 OSPF process and configure it to generate the default route ( ::/0 ) to R5</span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 router ospf 1</span></span><br>
<span style="color:#ff0000;">LISP_R2(config-rtr)# <span style="color:#0000ff;">default-information originate always</span></span><br>
<span style="color:#008000;">There are no configuration changes on G0/0, it maintains its IPv4 address – there is NO IPv6 configured on this interface.</span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> interface GigabitEthernet0/0</span></span><br>
<span style="color:#008000;">Now we can configure the EID side of the network with IPv6 and place the interface into IPv6 OSPF PID 1, Area 0</span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> interface GigabitEthernet0/1</span></span><br>
<span style="color:#ff0000;">LISP_R2(config-if)#<span style="color:#0000ff;"> ipv6 address 2001:DB8:0:25::2/64</span></span><br>
<span style="color:#ff0000;">LISP_R2(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
<span style="color:#008000;">Now we can configure this device to be an xTR and the associated LISP map-resolver and LISP map-server</span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp itr</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)# <span style="color:#0000ff;">ipv6 lisp itr map-resolver 10.1.14.4</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)# <span style="color:#0000ff;">ipv6 lisp etr</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp etr map-server 10.1.14.4 key Fryguy</span></span><br>
<span style="color:#008000;">Now we have to tell the MR/MS what EIDs are reachable via our RLOC interface</span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp database-mapping 2001:DB8:0:1::/64 IPv4-interface GigabitEthernet0/0 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp database-mapping 2001:DB8:0:2::/64 IPv4-interface GigabitEthernet0/0 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp database-mapping 2001:DB8:0:3::/64 IPv4-interface GigabitEthernet0/0 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R2(config)#<span style="color:#0000ff;"> ipv6 lisp database-mapping 2001:DB8:0:25::/64 IPv4-interface GigabitEthernet0/0 priority 1 weight 100</span></span><br>
Now onto R3<br>
<strong>R3</strong><br>
<span style="color:#008000;">Like all the other routes, we will enable IPv6</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 unicast-routing</span></span><br>
<span style="color:#008000;">…and configure OSPF PID 1. Again, configuring the router to generate the ::/0 route for R6</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 router ospf 1</span></span><br>
<span style="color:#ff0000;">LISP_R3(config-rtr)# <span style="color:#0000ff;">default-information originate always</span></span><br>
<span style="color:#008000;">Now we an configure the IPv6 side of the router, and as with all the other routers, place the interface into OSPF</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">interface GigabitEthernet0/0</span></span><br>
<span style="color:#ff0000;">LISP_R3(config-if)# <span style="color:#0000ff;">ipv6 address 2001:DB8:0:1036::3/64</span></span><br>
<span style="color:#ff0000;">LISP_R3(config-if)# <span style="color:#0000ff;">ipv6 ospf 1 area 0</span></span><br>
<span style="color:#008000;">Again, we do not make any changes to the LISP RLOC interface, no IPv6 on this interface!</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">interface GigabitEthernet0/1</span></span><br>
<span style="color:#008000;">Now we can configure the router to be an xTR with the MS/MR of 10.1.14.4</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp itr</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp itr map-resolver 10.1.14.4</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp etr</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp etr map-server 10.1.14.4 key Fryguy</span></span><br>
<span style="color:#008000;">And now all the database mappings for the EIDs that are reachable via the RLOC interface</span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp database-mapping 2001:DB8:0:1000::/54 IPv4-interface GigabitEthernet0/1 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp database-mapping 2001:DB8:0:1001::/64 IPv4-interface GigabitEthernet0/1 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp database-mapping 2001:DB8:0:1002::/64 IPv4-interface GigabitEthernet0/1 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp database-mapping 2001:DB8:0:1003::/64 IPv4-interface GigabitEthernet0/1 priority 1 weight 100</span></span><br>
<span style="color:#ff0000;">LISP_R3(config)# <span style="color:#0000ff;">ipv6 lisp database-mapping 2001:DB8:0:1036::/64 IPv4-interface GigabitEthernet0/1 priority 1 weight 100</span></span><br>
So, now that everything is configured, lets do a PING from R5 Loopback1 to R6 Loopback1<br>
<span style="color:#ff0000;">LISP_R5# <span style="color:#0000ff;">ping ipv6 2001:DB8:0:1001::6 source loopback 1</span></span><br>
<span style="color:#ff0000;">Type escape sequence to abort.</span><br>
<span style="color:#ff0000;">Sending 5, 100-byte ICMP Echos to 2001:DB8:0:1001::6, timeout is 2 seconds:</span><br>
<span style="color:#ff0000;">.!!!!</span><br>
<span style="color:#ff0000;">Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms</span><br>
<span style="color:#ff0000;">LISP_R5#</span><br>
There we go, it worked!  LISP allowed us to encapsulate the IPv6 packet within IPv4 without have to configure 6to4 tunnels and such.<br>
Why?  Well, LISP encapsulate the original packet when it goes from one RLOC to the other RLOC 🙂<br>
<span style="color:#ff0000;"><span style="color:#0000ff;"><span style="color:#000000;">Now that we have that all configured and tested, lets look at the output from R4 using a the command <em>sh lisp site summary. </em>As you will see, we now have 4 configured networks for IPv6 and 4 registered.  Our IPv4 routes and networks are still there from before, none of that changed.<br /> </span></span>LISP_R4_MP_MR# <span style="color:#0000ff;">sh lisp site summary </span></span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………………….</span>———– IPv4 ———–<span style="color:#ffffff;">……….</span>———– IPv6 ———–</span><br>
<span style="color:#ff0000;">Site name<span style="color:#ffffff;">……….</span>Configured Registered Incons Configured Registered Incons</span><br>
<span style="color:#ff0000;">Site-A<span style="color:#ffffff;">…………………………</span>2<span style="color:#ffffff;">……………</span>2<span style="color:#ffffff;">……….</span><span style="color:#ffffff;">……………</span>4<span style="color:#ffffff;">…………….</span>4<span style="color:#ffffff;">……….</span></span><br>
<span style="color:#ff0000;">Site-B</span><span style="color:#ffffff;">…………………………</span><span style="color:#ff0000;">2<span style="color:#ffffff;">…………….</span>2<span style="color:#ffffff;">……….</span><span style="color:#ffffff;">…………..</span>4<span style="color:#ffffff;">…………….</span>4<span style="color:#ffffff;">……….</span></span><br>
<span style="color:#ff0000;">Number of configured sites:<span style="color:#ffffff;">……………………..</span>2</span><br>
<span style="color:#ff0000;">Number of registered sites:<span style="color:#ffffff;">………………………</span>2</span><br>
<span style="color:#ff0000;">Sites with inconsistent registrations:<span style="color:#ffffff;">………….</span></span><br>
<span style="color:#ff0000;">IPv4</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">..</span>Number of configured EID prefixes:<span style="color:#ffffff;">…………..</span>4</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;"> ..</span>Number of registered EID prefixes:<span style="color:#ffffff;">……………</span>4</span><br>
<span style="color:#ff0000;">IPv6</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;"> ..</span>Number of configured EID prefixes:<span style="color:#ffffff;">…………..</span>8</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">..</span>Number of registered EID prefixes:<span style="color:#ffffff;">……………</span>8</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR#</span><br>
<span style="color:#ff0000;"><span style="color:#0000ff;"><span style="color:#000000;">Now we can look at the output from <em>show lisp site </em>to see what networks are registered.  As you can see, both IPv4 and Ipv6 networks are listed with their perspective RLOC routers.<br /> </span></span></span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR#<span style="color:#0000ff;"> sh lisp site </span></span><br>
<span style="color:#ff0000;">LISP Site Registration Information</span><br>
<span style="color:#ff0000;">Site Name      Last      Up   Who Last             Inst     EID Prefix</span><br>
<span style="color:#ff0000;">Register       Registered           ID </span><br>
<span style="color:#ff0000;">Site-A         00:00:02  yes  10.1.12.2                     150.1.25.0/24</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;"> …………….</span>00:00:02  yes  10.1.12.2                     150.1.125.0/24</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………….</span> 00:00:07  yes  10.1.12.2                     2001:DB8:0:1::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………….</span> 00:00:07  yes  10.1.12.2                     2001:DB8:0:2::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………….</span> 00:00:07  yes  10.1.12.2                     2001:DB8:0:3::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………….</span> 00:00:07  yes  10.1.12.2                     2001:DB8:0:25::/64</span><br>
<span style="color:#ff0000;">Site-B         00:00:53  yes  10.1.13.3                     150.1.36.0/24</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">…………….</span> 00:00:53  yes  10.1.13.3                     150.1.136.0/24</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">……………. </span>00:00:10  yes  10.1.13.3                     2001:DB8:0:1001::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">……………. </span>00:00:10  yes  10.1.13.3                     2001:DB8:0:1002::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">……………. </span>00:00:10  yes  10.1.13.3                     2001:DB8:0:1003::/64</span><br>
<span style="color:#ff0000;"><span style="color:#ffffff;">……………. </span>00:00:10  yes  10.1.13.3                     2001:DB8:0:1036::/64</span><br>
<span style="color:#ff0000;">LISP_R4_MP_MR#</span><br>
<span style="color:#000000;">Now, just like I did for the IPv4 only lab, here is the debug output from <em>debug lisp control-plane all. </em>If you need an explanation, just refer to the prior post please.<br /> </span><br>
<span style="color:#ff0000;">LISP_R2# <span style="color:#0000ff;">debug lisp control-plane all</span></span><br>
<span style="color:#ff0000;">LISP_R2#</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.098: LISP: Processing data signal for EID prefix 2001:DB8:0:1001::6/128</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.098: LISP: Remote EID prefix 2001:DB8:0:1001::6/128, Change state to incomplete (method: data-signal, state: unknown, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.098: LISP: Remote EID prefix 2001:DB8:0:1001::6/128, Scheduling map requests (incomplete) (method: data-signal, state: incomplete, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Send map request for EID prefix 2001:DB8:0:1001::6/128</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Remote EID prefix 2001:DB8:0:1001::6/128, Send map request (1) (method: data-signal, state: incomplete, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: AF IPv6, Sending map-request from 2001:DB8:0:25::2 to 2001:DB8:0:1001::6 for EID 2001:DB8:0:1001::6/128, ITR-RLOCs 1, nonce 0xC4B2E8BE-0x4DCA442F (encap src 10.1.12.2, dst 10.1.14.4).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Processing received Map-Reply message from 10.1.13.3 to 10.1.12.2</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Received map reply nonce 0xC4B2E8BE-</span><br>
<span style="color:#ff0000;">LISP_R2#0x4DCA442F, records 1</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Map Request prefix 2001:DB8:0:1001::6/128 remote EID prefix, Received reply with rtt 0ms.</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Processing mapping information for EID prefix 2001:DB8:0:1001::/64</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Remote EID prefix 2001:DB8:0:1001::/64, Change state to complete (method: map-reply, state: unknown, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Remote EID prefix 2001:DB8:0:1001::/64, Starting idle timer (method: map-reply, state: complete, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.130: LISP: Remote EID prefix 2001:DB8:0:1001::6/128, Change state to deleted (method: data-signal, state: incomplete, rlocs: 0).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP: Remote EID prefix 2001:DB8:0:1001::/64, Recalculated RLOC status bits from 0x0 to 0x1 (method: map-reply, state: complete, rlocs: 1).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) T 10.1.13.3/32 EVENT Track start</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) N 10.1.13.3/32 Adding track</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) N 10.1.13.3/32 QP Schedule query</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) T 10.1.13.3/32 EVENT Query found route</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) R 10.0.0.0/8  d=1 p=1 -&gt; 10.1.12.1 (base) 0 Updating</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: Adding to client notification queue</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP: Remote EID prefix 2001:DB8:0:1001::/64 locator 10.1.13.3 priority 1 weight 100, Added locator (method: map-reply, state: complete, rlocs: 1).</span><br>
<span style="color:#ff0000;">*Apr  8 22:18:21.134: LISP RIB_RWATCH: (default:ipv4:base) W 10.1.13.3/32 c=0x69B38AB8 Client notified reachable</span><br>
<span style="color:#ff0000;">LISP_R2#</span><br>
<span style="color:#ff0000;">LISP_R2#</span><br>
<span style="color:#000000;">Now from R5 I will ping the rest of the IPv6 interfaces on R6:</span><br>
<span style="color:#ff0000;">LISP_R5# <span style="color:#0000ff;">ping ipv6 2001:DB8:0:1002::6 source loopback 1 </span></span><br>
<span style="color:#ff0000;">Type escape sequence to abort.</span><br>
<span style="color:#ff0000;">Sending 5, 100-byte ICMP Echos to 2001:DB8:0:1002::6, timeout is 2 seconds:</span><br>
<span style="color:#ff0000;">.!!!!</span><br>
<span style="color:#ff0000;">Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms</span><br>
<span style="color:#ff0000;">LISP_R5# <span style="color:#0000ff;">ping ipv6 2001:DB8:0:1003::6 source loopback 1</span></span><br>
<span style="color:#ff0000;">Type escape sequence to abort.</span><br>
<span style="color:#ff0000;">Sending 5, 100-byte ICMP Echos to 2001:DB8:0:1003::6, timeout is 2 seconds:</span><br>
<span style="color:#ff0000;">.!!!!</span><br>
<span style="color:#ff0000;">Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms</span><br>
<span style="color:#ff0000;">LISP_R5#</span><br>
This way we can now look at the R2 LISP Map Cache<br>
<span style="color:#ff0000;">LISP_R2# <span style="color:#0000ff;">sh ipv6 lisp map-cache </span></span><br>
<span style="color:#ff0000;">LISP IPv6 Mapping Cache, 4 entries</span><br>
<span style="color:#ff0000;">::/0, uptime: 00:11:01, expires: never, via static</span><br>
<span style="color:#ff0000;">Negative cache entry, action: send-map-request</span><br>
<span style="color:#ff0000;"><strong>2001:DB8:0:1001::/64,</strong> uptime: 00:10:50, expires: 23:49:02, via map-reply, complete</span><br>
<span style="color:#ff0000;">Locator    Uptime    State      Pri/Wgt</span><br>
<span style="color:#ff0000;"><strong> 10.1.13.3 </strong>00:10:50  up           1/100</span><br>
<span style="color:#ff0000;"><strong>2001:DB8:0:1002::/64, </strong>uptime: 00:00:07, expires: 23:59:45, via map-reply, complete</span><br>
<span style="color:#ff0000;">Locator    Uptime    State      Pri/Wgt</span><br>
<span style="color:#ff0000;"><strong> 10.1.13.3</strong> 00:00:07  up           1/100</span><br>
<span style="color:#ff0000;"><strong>2001:DB8:0:1003::/64, </strong>uptime: 00:00:02, expires: 23:59:50, via map-reply, complete</span><br>
<span style="color:#ff0000;">Locator    Uptime    State      Pri/Wgt</span><br>
<span style="color:#ff0000;"><strong> 10.1.13.3 </strong>00:00:02  up           1/100</span><br>
<span style="color:#ff0000;">LISP_R2#</span><br>
As you can see, all the IPv6 routes are reachable via 10.1.13.3 – an IPv4 address 🙂<br>
Here are the configs for the routers<br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R1_IPv6.txt" target="_blank" rel="noopener noreferrer">R1</a><br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R2_IPv6.txt" target="_blank" rel="noopener noreffer ">R2</a><br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R3_IPv6.txt" target="_blank" rel="noopener noreferrer">R3</a><br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R4_IPv6.txt" target="_blank" rel="noopener noreferrer">R4</a><br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R5_IPv6.txt" target="_blank" rel="noopener noreferrer">R5</a><br>
<a href="http://dl.dropbox.com/u/5753029/LISP%20BLOG/LISP_R6_IPv6.txt" target="_blank" rel="noopener noreferrer">R6</a></p>]]></description></item></channel></rss>