<?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; Routing</title>
	<atom:link href="http://ccielab.ro/category/ccnp/routing/feed/" rel="self" type="application/rss+xml" />
	<link>http://ccielab.ro</link>
	<description>Cry in the Lab, Laugh in the Datacenter</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:29:37 +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>Frame Relay Switching</title>
		<link>http://ccielab.ro/2010/07/frame-relay-switching/</link>
		<comments>http://ccielab.ro/2010/07/frame-relay-switching/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 08:32:46 +0000</pubDate>
		<dc:creator>Alex Juncu</dc:creator>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[DLCI]]></category>
		<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[Frame Relay Switch]]></category>
		<category><![CDATA[Inverse ARP]]></category>
		<category><![CDATA[LMI]]></category>

		<guid isPermaLink="false">http://ccielab.ro/?p=119</guid>
		<description><![CDATA[Frame Relay is still very much a popular subject in exams, labs and in the real networks.
Any lab with topologies that run different protocols over FR must start with the layer 2 configuration of the Frame Relay switched network. FR Topologies like full mesh or hub and spoke require a Frame Relay Switch. A FR [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify"><strong>Frame Relay</strong> is still very much a popular subject in exams, labs and in the real networks.</p>
<p style="text-align: justify">Any lab with topologies that run different protocols over FR must start with the layer 2 configuration of the Frame Relay switched network. FR Topologies like full mesh or hub and spoke require a <strong>Frame Relay Switch. </strong>A FR Switch is a normal router but specifically configured to do Frame Relay switching.<strong><br />
</strong></p>
<p style="text-align: justify">First of all, we need to tell the router to start switching Frame Relay traffic. From global configuration mode we need to issue the <strong>frame-relay switching </strong>command.</p>
<p style="text-align: justify">Then, on the interfaces to Frame Relay clients, we need to start sending keepalives (LMIs) by configuring the interface as DCE with the <strong>frame-relay intf-type dce</strong> command.</p>
<p style="text-align: justify">The last thing that the FR Switch needs to do is to route DLCI on the virtual cicuits. This is done to tell an interface where to put a received frame with a DLCI. The frame will be put on another interface with another DLCI.  The configuration is done per interface with the <strong>frame-relay route</strong> command. The command requires that you specify the incoming  DLCI, on which the switching decision will be maide, the outgoing interface, and the DLCI with which the frame will be sent (&#8221;freame-relay route IN_DLCI OUT_INT OUT_DLCI&#8221;).</p>
<p style="text-align: justify">If Inverse ARP is not disabled on the FR Switch, no DLCI-IP mappings will be required.</p>
<p><strong>Topology:</strong></p>
<p><img class="alignnone size-full wp-image-127" src="http://ccielab.ro/wp-content/uploads/2010/07/fr_sw.png" alt="fr_sw" width="392" height="85" /></p>
<p><strong>Configuration:</strong></p>
<p>R1(config)#int s0/0<br />
R1(config-if)#no shut<br />
R1(config-if)#encapsulation frame-relay<br />
R1(config-if)#clock rate 128000<br />
R1(config-if)#ip address 10.1.2.1 255.255.255.0</p>
<p>R2(config)#int s0/0<br />
R2(config-if)#no shut<br />
R2(config-if)#encapsulation frame-relay<br />
R2(config-if)#clock rate 128000<br />
R2(config-if)#ip address 10.1.2.2 255.255.255.0</p>
<p>FR-Sw(config)#frame-relay switching<br />
FR-Sw(config)#int s0/1<br />
FR-Sw(config-if)#no shut<br />
FR-Sw(config-if)#clock rate 128000<br />
FR-Sw(config-if)#encapsulation frame-relay<br />
FR-Sw(config-if)#frame-relay intf-type dce<br />
FR-Sw(config-if)#frame-relay route 102 interface s0/0 201<br />
FR-Sw(config-if)#int s0/0<br />
FR-Sw(config-if)#no shut<br />
FR-Sw(config-if)#clock rate 128000<br />
FR-Sw(config-if)#encapsulation frame-relay<br />
FR-Sw(config-if)#frame-relay intf-type dce<br />
FR-Sw(config-if)#frame-relay route 201 interface s0/1 102</p>
<p><strong><br />
</strong></p>
<p><strong>Running Configurations:</strong></p>
<p><strong>R1:</strong></p>
<p>interface Serial0/0<br />
ip address 10.1.2.1 255.255.255.0<br />
encapsulation frame-relay<br />
clockrate 128000<br />
no fair-queue<br />
end</p>
<p><strong>R2:</strong></p>
<p>interface Serial0/0<br />
ip address 10.1.2.2 255.255.255.0<br />
encapsulation frame-relay<br />
clockrate 128000<br />
no fair-queue<br />
end</p>
<p><strong>FR-Sw:</strong></p>
<p>interface Serial0/0<br />
no ip address<br />
encapsulation frame-relay<br />
no fair-queue<br />
frame-relay intf-type dce<br />
frame-relay route 201 interface Serial0/1 102<br />
end</p>
<p>interface Serial0/1<br />
no ip address<br />
encapsulation frame-relay<br />
frame-relay intf-type dce<br />
frame-relay route 102 interface Serial0/0 201<br />
end</p>
]]></content:encoded>
			<wfw:commentRss>http://ccielab.ro/2010/07/frame-relay-switching/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back-to-back Frame Relay</title>
		<link>http://ccielab.ro/2010/07/back-to-back-frame-relay/</link>
		<comments>http://ccielab.ro/2010/07/back-to-back-frame-relay/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 07:52:09 +0000</pubDate>
		<dc:creator>Alex Juncu</dc:creator>
				<category><![CDATA[CCNA]]></category>
		<category><![CDATA[CCNP]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Routing]]></category>
		<category><![CDATA[back-to-back]]></category>
		<category><![CDATA[DCE]]></category>
		<category><![CDATA[DLCI]]></category>
		<category><![CDATA[FR Switch]]></category>
		<category><![CDATA[Frame Relay]]></category>
		<category><![CDATA[Inverse ARP]]></category>
		<category><![CDATA[keepalive]]></category>
		<category><![CDATA[serial]]></category>

		<guid isPermaLink="false">http://ccielab.ro/?p=123</guid>
		<description><![CDATA[This is the simplest use of a Frame Relay encapsulation and it&#8217;s  between two routers, without a Frame Relay Switch. PPP or HDLC  would make more sense to use in these types of links, but it is useful  in labs.
In a back-to-back scenario is important to remember what the FR  Switch [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify">This is the simplest use of a Frame Relay encapsulation and it&#8217;s  between two routers, <strong>without a Frame Relay Switch</strong>. PPP or HDLC  would make more sense to use in these types of links, but it is useful  in labs.</p>
<p style="text-align: justify">In a back-to-back scenario is important to remember what the FR  Switch should be doing: being the DCE and sending the keepalives to  maintain the layer 2 link to the client router. Because of the fact that  no FR Switch is present, the lack of keepalives being sent must be ignored using the &#8220;<strong>no  keepalive</strong>&#8221; command. Also, Inverse ARP won&#8217;t work, so manual IP-DLCI  mapping will be needed.</p>
<p style="text-align: justify">The FR Switch should be the one doing swapping of DLCIs on the network so the frames arrive at their destination with the correctly mapped DLCIs. In this case, we will need to have the same DLCI set in the manual mapping so the routers match entries in the mappings.</p>
<p><strong>The topology:</strong></p>
<p><img class="alignnone size-full wp-image-124" src="http://ccielab.ro/wp-content/uploads/2010/07/fr_b2b.png" alt="fr_b2b" width="375" height="126" /></p>
<p><strong>Configuration:</strong></p>
<p>R1(config)#int s0/1<br />
R1(config-if)#no shut<br />
R1(config-if)#clock rate 128000<br />
R1(config-if)#ip address 10.1.2.1 255.255.255.0<br />
R1(config-if)#encapsulation frame-relay<br />
R1(config-if)#frame-relay map ip 10.1.2.2 42<br />
R1(config-if)#no keepalive</p>
<p>R2(config)#int s0/1<br />
R2(config-if)#no shut<br />
R2(config-if)#clock rate 128000<br />
R2(config-if)#ip address 10.1.2.2 255.255.255.0<br />
R2(config-if)#encapsulation frame-relay<br />
R2(config-if)#frame-relay map ip 10.1.2.1 42<br />
R2(config-if)#no keepalive</p>
<p><strong>Running configurations:</strong></p>
<p><strong>R1:</strong></p>
<p>interface Serial0/1<br />
ip address 10.1.2.1 255.255.255.0<br />
encapsulation frame-relay<br />
no keepalive<br />
clockrate 128000<br />
frame-relay map ip 10.1.2.2 42<br />
end</p>
<p><strong>R2:</strong></p>
<p>interface Serial0/1<br />
ip address 10.1.2.2 255.255.255.0<br />
encapsulation frame-relay<br />
no keepalive<br />
frame-relay map ip 10.1.2.1 42<br />
end</p>
]]></content:encoded>
			<wfw:commentRss>http://ccielab.ro/2010/07/back-to-back-frame-relay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
