<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CCIE Lab &#187; RIPng</title>
	<atom:link href="http://ccielab.ro/tag/ripng/feed/" rel="self" type="application/rss+xml" />
	<link>http://ccielab.ro</link>
	<description>Cry in the Lab, Laugh in the Datacenter</description>
	<lastBuildDate>Wed, 09 May 2012 12:02:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IPv6 Case Study: RIPng and usage of link local address</title>
		<link>http://ccielab.ro/2009/11/ipv6-case-study-ripng-and-usage-of-link-local-address/</link>
		<comments>http://ccielab.ro/2009/11/ipv6-case-study-ripng-and-usage-of-link-local-address/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 23:26:06 +0000</pubDate>
		<dc:creator>Alex Juncu</dc:creator>
				<category><![CDATA[CCNP]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[link local]]></category>
		<category><![CDATA[RIPng]]></category>

		<guid isPermaLink="false">http://ccielab.ro/?p=67</guid>
		<description><![CDATA[Simple topology: two routers, connected via a (serial) link, each with a loopback interface configured on it.
Loopback 0 on R1 has the IP 2001:A::1/64 and Loopback 0 on R2 has the IP 2001:B::1/64.  We want to make R1 aware of the 2001:B::0/64 network and R2 aware of the 2001:A::0/64 network. RIPng would be the the [...]]]></description>
			<content:encoded><![CDATA[<p>Simple topology: two routers, connected via a (serial) link, each with a loopback interface configured on it.</p>
<p>Loopback 0 on R1 has the IP <strong>2001:A::1/64</strong> and Loopback 0 on R2 has the IP <strong>2001:B::1/64</strong>.  We want to make R1 aware of the 2001:B::0/64 network and R2 aware of the 2001:A::0/64 network. <strong>RIPng </strong>would be the the easiest way of doing that.</p>
<p>First we need to enable<strong> IPv6 unicast routing</strong>, and then start the RIP process on the interfaces.</p>
<blockquote><p>R1(config)#ipv6 unicast-routing<br />
R1(config)#ipv6 router rip SIMPLE_RIP<br />
R1(config)#interface lo0<br />
R1(config-if)#ipv6 address 2001:A::1/64<br />
R1(config-if)#ipv6 rip SIMPLE_RIP enable</p>
<p>R2(config)#ipv6 unicast-routing<br />
R2(config)#ipv6 router rip SIMPLE_RIP<br />
R2(config)#interface lo0<br />
R2(config-if)#ipv6 address 2001:B::1/64<br />
R2(config-if)#ipv6 rip SIMPLE_RIP enable</p></blockquote>
<p>We also need to activate the RIP process on the transit link and make the interface IPv6 enabled.</p>
<blockquote><p>R1(config)#interface s0/1/1</p>
<p>R1(config-if)#ipv6 rip SIMPLE_RIP enable</p>
<p>R1(config-if)#ipv6 enable</p>
<p>R2(config)#interface s0/1/1</p>
<p>R2(config-if)#ipv6 enable</p>
<p>R2(config-if)#ipv6 rip SIMPLE_RIP enable</p></blockquote>
<p>As it can be noticed, we haven&#8217;t configured a global IPv6 address on the interface, yet, RIP will do it&#8217;s job.</p>
<blockquote><p>R2#sh ipv6 route<br />
IPv6 Routing Table &#8211; 5 entries<br />
Codes: C &#8211; Connected, L &#8211; Local, S &#8211; Static, R &#8211; RIP, B &#8211; BGP<br />
U &#8211; Per-user Static route<br />
I1 &#8211; ISIS L1, I2 &#8211; ISIS L2, IA &#8211; ISIS interarea, IS &#8211; ISIS summary<br />
O &#8211; OSPF intra, OI &#8211; OSPF inter, OE1 &#8211; OSPF ext 1, OE2 &#8211; OSPF ext 2<br />
ON1 &#8211; OSPF NSSA ext 1, ON2 &#8211; OSPF NSSA ext 2<br />
D &#8211; EIGRP, EX &#8211; EIGRP external<br />
<strong>R   2001:A::/64 [120/2]<br />
via FE80::219:E8FF:FEF2:8F3A, Serial0/1/1</strong><br />
C   2001:B::/64 [0/0]<br />
via ::, Loopback0<br />
L   2001:B::1/128 [0/0]<br />
via ::, Loopback0<br />
L   FE80::/10 [0/0]<br />
via ::, Null0<br />
L   FF00::/8 [0/0]<br />
via ::, Null0</p></blockquote>
<p>The reason why it works, it&#8217;s a <strong>link local address</strong>, which is automatically configured once you turn on IPv6 on the interface. If the command &#8220;(config-if)#ipv6 enable&#8221; would have been missing, there would have been no exchange of routes.</p>
<p>Let us now analyze a possible misconfiguration. Let&#8217;s configure a global address on the link. What first comes to mind is IPv4 rule that stated that the serial interface of each router has to be configured in the same broadcast domain.  We will configure the serial interface on R1 with 2001:C::1/64 and serial interface on R2 with 2001:D::1/64 (clearly in different subnets).</p>
<blockquote><p>R1#show ipv6 interface serial 0/1/1<br />
Serial0/1/1 is up, line protocol is up<br />
IPv6 is enabled, link-local address is FE80::219:E8FF:FEF2:8F3A<br />
No Virtual link-local address(es):<br />
<strong>Global unicast address(es):<br />
2001:C::1, subnet is 2001:C::/64</strong></p>
<p>R2#show ipv6 interface serial 0/1/1<br />
Serial0/1/1 is up, line protocol is up<br />
IPv6 is enabled, link-local address is FE80::21A:2FFF:FE2A:2118<br />
No Virtual link-local address(es):<br />
<strong>Global unicast address(es):<br />
2001:D::1, subnet is 2001:D::/64</strong></p></blockquote>
<p>Even if we don&#8217;t have the two routers in the same subnet from the global address perspective, they are in the same broadcast domain from the link local address point of view. The traffic will still be routed via the link local address, because it&#8217;s actually &#8220;closer&#8221;.</p>
<blockquote><p>R   2001:A::/64 [120/2]<br />
via FE80::219:E8FF:FEF2:8F3A, Serial0/1/1</p></blockquote>
<p>So, if your routes are flowing when you are thinking that they shouldn&#8217;t, you might want to remember the link local address.</p>
<p>Thanks go out to BogdanD for help with case study.</p>
]]></content:encoded>
			<wfw:commentRss>http://ccielab.ro/2009/11/ipv6-case-study-ripng-and-usage-of-link-local-address/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

