<?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"
	>

<channel>
	<title>CCIE #21047</title>
	<atom:link href="http://www.iplogic.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iplogic.nl</link>
	<description>CCIE #21047</description>
	<pubDate>Sun, 13 Dec 2009 20:13:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
	<image>
<link>http://www.iplogic.nl</link>
<url>http://www.iplogic.nl/wp-content/plugins/maxblogpress-favicon/icons/favicon-78.ico</url>
<title>CCIE #21047</title>
</image>
		<item>
		<title>OSPF Totally NSSA Area</title>
		<link>http://www.iplogic.nl/ospf-totally-nssa-area/</link>
		<comments>http://www.iplogic.nl/ospf-totally-nssa-area/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 20:13:45 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[OSPF]]></category>

		<category><![CDATA[ospf totally nssa]]></category>

		<category><![CDATA[totally not-so-stubby-area]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=778</guid>
		<description><![CDATA[This post will be about OSPF Totally Not-So-Stubby-Area's. In the <a href="http://www.iplogic.nl/ospf-nssa-area/">previous posts</a> we talked about the OSPF nssa area type.]]></description>
			<content:encoded><![CDATA[<p>This post will be about OSPF Totally Not-So-Stubby-Area&#8217;s. In the <a href="http://www.iplogic.nl/ospf-nssa-area/">previous posts</a> we talked about the OSPF nssa area type. For this post I will use the same topology as in the previous two posts, see below :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/ospf_stub.png" alt="OSPF Stub Stub No-Summary" /></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Let&#8217;s configure area 2 as a totally not-so-stubby-area. We need to configure the ABR with the area x nssa no-summary command and the rest of the routers in the area with the area x nssa command. See below :</p>
<p><strong>R4 &#038; R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R4(config)#router ospf 1
R4(config-router)#area 2 nssa no-summary

R2(config)#router ospf 1
R2(config-router)#area 2 nssa
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Now let&#8217;s look at the routing table of router R2 :</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.14.4 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
O*IA 0.0.0.0/0 [110/2] via 192.168.14.4, 00:09:05, FastEthernet2/0

R2#sh ip ospf dat

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         574         0x80000004 0x0027FD 1
4.4.4.4         4.4.4.4         573         0x80000004 0x00B35C 1

                Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         573         0x80000003 0x00414D

                Summary Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         4.4.4.4         578         0x80000001 0x00C065
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>As you can see in an totally not-so-stubby-area LSA types 3,4,5 will be blocked. A default-route is generated by the ABR.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/ospf-totally-nssa-area/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OSPF NSSA Area</title>
		<link>http://www.iplogic.nl/ospf-nssa-area/</link>
		<comments>http://www.iplogic.nl/ospf-nssa-area/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 21:51:05 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE]]></category>

		<category><![CDATA[OSPF]]></category>

		<category><![CDATA[not-so-stubby-area]]></category>

		<category><![CDATA[OSPF NSSA]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=766</guid>
		<description><![CDATA[This post will be about OSPF Not-So-Stubby-Area's. In the <a href="http://www.iplogic.nl/ospf-stub/">previous posts</a> we talked about stubby and not-so-stubby-area's.]]></description>
			<content:encoded><![CDATA[<p>This post will be about OSPF Not-So-Stubby-Area&#8217;s. In the <a href="http://www.iplogic.nl/ospf-stub/">previous posts</a> we talked about stubby and not-so-stubby-area&#8217;s. For this post I will use the same topology as in the previous two posts, see below :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/ospf_stub.png" alt="OSPF Stub Stub No-Summary" /></p>
<p>
<script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>On Router 1 we again redistribute the interface 172.20.1.1/24 into OSPF :</p>
<p><strong>R1 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 redistribute connected subnets route-map CONNECTED
 network 172.16.15.1 0.0.0.0 area 51
!
route-map CONNECTED permit 10
 match interface FastEthernet3/0
!
interface FastEthernet3/0
 ip address 172.20.1.1 255.255.255.0
 duplex auto
 speed auto
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Let&#8217;s make area 2 a nssa area and see how it impacts the LSA&#8217;s and the routing-table. </p>
<p>We need to issue the &#8220;area 2 nssa&#8221; command on Router 2 and Router 4. </p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
Router 2 :

router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 area 2 nssa
 network 192.168.14.2 0.0.0.0 area 2

Router 4 :
router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 area 2 nssa
 network 10.1.34.4 0.0.0.0 area 0
 network 192.168.14.4 0.0.0.0 area 2
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Now let&#8217;s take a look at the routing-table and the OSPF database on Router 2 :</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
     172.16.0.0/24 is subnetted, 1 subnets
O IA    172.16.15.0 [110/4] via 192.168.14.4, 01:29:51, FastEthernet2/0
     10.0.0.0/24 is subnetted, 2 subnets
O IA    10.1.35.0 [110/3] via 192.168.14.4, 01:29:51, FastEthernet2/0
O IA    10.1.34.0 [110/2] via 192.168.14.4, 01:29:51, FastEthernet2/0
R2#sh ip ospf database

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         1412        0x80000008 0x001F02 1
4.4.4.4         4.4.4.4         1402        0x80000008 0x00AB60 1

                Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         1402        0x80000007 0x003951

                Summary Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
10.1.34.0       4.4.4.4         412         0x80000007 0x00AE44
10.1.35.0       4.4.4.4         412         0x80000005 0x00B141
172.16.15.0     4.4.4.4         412         0x80000005 0x00A1B2
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>As you can see a NSSA area blocks type 4 &#038; type 5 LSA&#8217;s and doesn&#8217;t originate a default-route by default.</p>
<p>Although the ABR doesn&#8217;t originate a default-route in a NSSA area by default it is possible to let the ABR originate a default route, this can be done like below on the ABR :</p>
<p><strong>R4 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R4(config-router)#area 2 nssa default-information-originate
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Now let&#8217;s take a look on Router 2 again :</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.14.4 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
     172.16.0.0/24 is subnetted, 1 subnets
O IA    172.16.15.0 [110/4] via 192.168.14.4, 01:34:36, FastEthernet2/0
     10.0.0.0/24 is subnetted, 2 subnets
O IA    10.1.35.0 [110/3] via 192.168.14.4, 01:34:36, FastEthernet2/0
O IA    10.1.34.0 [110/2] via 192.168.14.4, 01:34:36, FastEthernet2/0
O*N2 0.0.0.0/0 [110/1] via 192.168.14.4, 00:01:46, FastEthernet2/0
R2#sh ip ospf database

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         1696        0x80000008 0x001F02 1
4.4.4.4         4.4.4.4         1686        0x80000008 0x00AB60 1

                Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         1686        0x80000007 0x003951

                Summary Net Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum
10.1.34.0       4.4.4.4         695         0x80000007 0x00AE44
10.1.35.0       4.4.4.4         695         0x80000005 0x00B141
172.16.15.0     4.4.4.4         695         0x80000005 0x00A1B2

                Type-7 AS External Link States (Area 2)

Link ID         ADV Router      Age         Seq#       Checksum Tag
0.0.0.0         4.4.4.4         113         0x80000001 0x00B372 0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>As you can see a default-route is now originated by the ABR. This is the type 7 (N2) LSA. </p>
<p>The next post will be about the OSPF totally not so stubby area type.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/ospf-nssa-area/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OSPF Totally Stubby Area</title>
		<link>http://www.iplogic.nl/ospf-totally-stubby-area/</link>
		<comments>http://www.iplogic.nl/ospf-totally-stubby-area/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 13:33:06 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE]]></category>

		<category><![CDATA[OSPF]]></category>

		<category><![CDATA[Totally Stubby]]></category>

		<category><![CDATA[Totally Stubby Area]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=754</guid>
		<description><![CDATA[In my <a href="http://www.iplogic.nl/ospf-stub/">previous post</a> I talked about OSPF stub area's and how they impact the routing table and the OSPF database. This post will be about totally stubby area's in OSPF. ]]></description>
			<content:encoded><![CDATA[<p>In my <a href="http://www.iplogic.nl/ospf-stub/">previous post</a> I talked about OSPF stub area&#8217;s and how they impact the routing table and the OSPF database. This post will be about totally stubby area&#8217;s in OSPF. </p>
<p>I will continue this post where the <a href="http://www.iplogic.nl/ospf-stub/">previous post</a> stopped. The diagram that will be used in this post is also the same, see below :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/ospf_stub.png" alt="OSPF Stub Stub No-Summary" /></p>
<p>
<script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>As you can see in the previous post stubby-area&#8217;s remove LSA type 4 &#038; type 5 routes and replaces the type 5 LSA with a default-route. See below the routing table when R2 &#038; R4 are configured with the &#8220;area 2 stub&#8221; command under the OSPF proces :</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>

R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.14.4 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
     172.16.0.0/24 is subnetted, 1 subnets
O IA    172.16.15.0 [110/4] via 192.168.14.4, 00:01:59, FastEthernet2/0
     10.0.0.0/24 is subnetted, 2 subnets
O IA    10.1.35.0 [110/3] via 192.168.14.4, 00:01:59, FastEthernet2/0
O IA    10.1.34.0 [110/2] via 192.168.14.4, 00:01:59, FastEthernet2/0
O*IA 0.0.0.0/0 [110/2] via 192.168.14.4, 00:01:59, FastEthernet2/0

R2#sh ip ospf database

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2) <strong><-- LSA type 1</strong>

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         136         0x80000005 0x009D8E 1
4.4.4.4         4.4.4.4         136         0x80000005 0x0024F4 1

                Net Link States (Area 2) <strong><-- LSA type 2</strong>

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         132         0x80000004 0x00B7DD

                Summary Net Link States (Area 2) <strong><-- LSA type 3</strong>

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         4.4.4.4         154         0x80000001 0x0039F4
10.1.34.0       4.4.4.4         154         0x80000005 0x002BD1
10.1.35.0       4.4.4.4         154         0x80000003 0x002ECE
172.16.15.0     4.4.4.4         154         0x80000003 0x001E40
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>To configure an area as a totally stubby area you only need to issue the command &#8220;area 2 stub no-summary&#8221; under the OSPF process on the ABR.</p>
<p>So on Router 4 :</p>
<p><strong>R4 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R4(config)#router ospf 1
R4(config-router)#area 2 stub no-summary
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p>Now let&#8217;s take a look at the routing-table and the OSPF database so we can compare this with the &#8220;stub area&#8221; routing-table and the OSPF database on Router R2:</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.14.4 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
O*IA 0.0.0.0/0 [110/2] via 192.168.14.4, 00:02:36, FastEthernet2/0
R2#sh ip ospf dat

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2) <strong><-- LSA type 1</strong>

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         169         0x80000005 0x009D8E 1
4.4.4.4         4.4.4.4         145         0x80000005 0x0024F4 1

                Net Link States (Area 2) <strong><-- LSA type 2</strong>

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         145         0x80000004 0x00B7DD

                Summary Net Link States (Area 2) <strong><-- Default route replaces all LSA type 3 routes </strong>

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         4.4.4.4         172         0x80000001 0x0039F4
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p> </p>
<p>As you can see in the routing-table and the OSPF database above not only the LSA type 4 &#038; 5 routes are gone but also the type 3 LSA&#8217;s are no longer there. So for totally stubby area&#8217;s we can state that no type 3,4 and 5 LSA&#8217;s are allowed. A default route is injected into the area from the ABR.</p>
<p>The next post will be about the OSPF NSSA type.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/ospf-totally-stubby-area/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OSPF Stub Area</title>
		<link>http://www.iplogic.nl/ospf-stub/</link>
		<comments>http://www.iplogic.nl/ospf-stub/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 21:36:16 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE]]></category>

		<category><![CDATA[OSPF]]></category>

		<category><![CDATA[ospf stub]]></category>

		<category><![CDATA[stub]]></category>

		<category><![CDATA[stub area]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=723</guid>
		<description><![CDATA[In this post I will explain OSPF stub area types and the impact this will have on the routing table / ospf database. Below is the diagram I will use in this post :]]></description>
			<content:encoded><![CDATA[<p>In this post I will explain OSPF stub area types and the impact this will have on the routing table / OSPF database. Below is the diagram I will use in this post :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/ospf_stub.png" alt="OSPF Stub Stub No-Summary" /></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Below the configuration for OSPF on the routers with which we will start.</p>
<p><strong>OSPF Configurations :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
Router 1 : 

router ospf 1
router-id 1.1.1.1
log-adjacency-changes
redistribute connected subnets route-map CONNECTED
network 172.16.15.1 0.0.0.0 area 51
!
route-map CONNECTED permit 10
 match interface FastEthernet3/0
!
interface FastEthernet3/0
 ip address 172.20.1.1 255.255.255.0
 duplex auto
 speed auto
end

Router 5 :

router ospf 1
 router-id 5.5.5.5
 log-adjacency-changes
 network 10.1.35.5 0.0.0.0 area 0
 network 172.16.15.5 0.0.0.0 area 51

Router 3 :

router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 10.1.34.3 0.0.0.0 area 0
 network 10.1.35.3 0.0.0.0 area 0

Router 4 :

router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 network 10.1.34.4 0.0.0.0 area 0
 network 192.168.14.4 0.0.0.0 area 2

Router 2 :

router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 192.168.14.2 0.0.0.0 area 2
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>Let&#8217;s take a look at the routing table and the OSPF database of Router R2 since this  will be the area we will make stub (and stub no-summary in the next post).</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
     172.16.0.0/24 is subnetted, 1 subnets
O IA    172.16.15.0 [110/4] via 192.168.14.4, 00:52:10, FastEthernet2/0
     172.20.0.0/24 is subnetted, 1 subnets
O E2    172.20.1.0 [110/20] via 192.168.14.4, 00:52:00, FastEthernet2/0
     10.0.0.0/24 is subnetted, 2 subnets
O IA    10.1.35.0 [110/3] via 192.168.14.4, 00:52:10, FastEthernet2/0
O IA    10.1.34.0 [110/2] via 192.168.14.4, 00:52:10, FastEthernet2/0

R2#sh ip ospf database

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2) <strong><-- LSA type 1</strong>

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         1252        0x80000003 0x0083A8 1
4.4.4.4         4.4.4.4         1243        0x80000003 0x000A0F 1

                Net Link States (Area 2) <strong><-- LSA type 2</strong>

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         1243        0x80000002 0x009DF7

                Summary Net Link States (Area 2) <strong><-- LSA type 3</strong>

Link ID         ADV Router      Age         Seq#       Checksum
10.1.34.0       4.4.4.4         1243        0x80000004 0x000FEC
10.1.35.0       4.4.4.4         1243        0x80000002 0x0012E9
172.16.15.0     4.4.4.4         1243        0x80000002 0x00025B

                Summary ASB Link States (Area 2) <strong><-- LSA type 4</strong>

Link ID         ADV Router      Age         Seq#       Checksum
1.1.1.1         4.4.4.4         1243        0x80000002 0x00F033

                Type-5 AS External Link States <strong><-- LSA type 5</strong>

Link ID         ADV Router      Age         Seq#       Checksum Tag
172.20.1.0      1.1.1.1         1238        0x80000002 0x0007D2 0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>As you can see there are Inter-Area routes (IA) and External E2 routes (External E2 - these are the redistributed routes into OSPF on router R1) in the routing table.
<p>
In the OSPF database you can see LSA types 1,2,3,4 and 5. Now let&#8217;s change Area 2 into a Stub area and see what it will do to the routing table and the OSPF database. </p>
<p><strong>R2 &#038; R4 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R4(config)#router ospf 1
R4(config-router)#area 2 stub

R2(config)#router ospf 1
R2(config-router)#area 2 stub
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/ospf_stub.png" alt="OSPF Stub Stub No-Summary" /></p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>

R2#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is 192.168.14.4 to network 0.0.0.0

     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback0
C    192.168.14.0/24 is directly connected, FastEthernet2/0
     172.16.0.0/24 is subnetted, 1 subnets
O IA    172.16.15.0 [110/4] via 192.168.14.4, 00:01:59, FastEthernet2/0
     10.0.0.0/24 is subnetted, 2 subnets
O IA    10.1.35.0 [110/3] via 192.168.14.4, 00:01:59, FastEthernet2/0
O IA    10.1.34.0 [110/2] via 192.168.14.4, 00:01:59, FastEthernet2/0
O*IA 0.0.0.0/0 [110/2] via 192.168.14.4, 00:01:59, FastEthernet2/0

R2#sh ip ospf database

            OSPF Router with ID (2.2.2.2) (Process ID 1)

                Router Link States (Area 2) <strong><-- LSA type 1</strong>

Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         136         0x80000005 0x009D8E 1
4.4.4.4         4.4.4.4         136         0x80000005 0x0024F4 1

                Net Link States (Area 2) <strong><-- LSA type 2</strong>

Link ID         ADV Router      Age         Seq#       Checksum
192.168.14.4    4.4.4.4         132         0x80000004 0x00B7DD

                Summary Net Link States (Area 2) <strong><-- LSA type 3</strong>

Link ID         ADV Router      Age         Seq#       Checksum
0.0.0.0         4.4.4.4         154         0x80000001 0x0039F4
10.1.34.0       4.4.4.4         154         0x80000005 0x002BD1
10.1.35.0       4.4.4.4         154         0x80000003 0x002ECE
172.16.15.0     4.4.4.4         154         0x80000003 0x001E40
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p></p>
<p>In the routing table you can see that the External E2 route is gone, in the OSPF database you can also see the type 4 and 5 LSA&#8217;s are gone. So looking at the routing table and the OSPF database we can now state that a stub area blocks type 5 LSA&#8217;s and therefore make the type 4 LSA’s unnecessary, the type 5 LSA&#8217;s are replaced with a default route. It does allow type 3 lsa&#8217;s.
<p></p>
<p>In the next post I will write about stub no-summary area&#8217;s and show the impact on the routing-table and OSPF database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/ospf-stub/feed/</wfw:commentRss>
		</item>
		<item>
		<title>ASA/PIX Basic Configuration I</title>
		<link>http://www.iplogic.nl/asapix-basic-configuration-i/</link>
		<comments>http://www.iplogic.nl/asapix-basic-configuration-i/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 21:27:25 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[Security]]></category>

		<category><![CDATA[ASA]]></category>

		<category><![CDATA[Pix]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=711</guid>
		<description><![CDATA[In this lab I am going to show a basic configuration for the network in the picture below.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while since I wrote posts on this website, the reason for this was that a lot of things happened to me which kept me from writing posts more often. From now on I will try my best to put some posts up here once in a while again. I&#8217;ll start up with some simple Firewall post, hope you appreciate it. Oh yeah for I forget, please click on my google-ads once in a while to keep this site going.<br />
In this lab I am going to show a basic configuration for the network in the picture below.</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/basic_firewall_lab.jpg" alt="Basic ASA Firewall" /></p>
<p>As you can see the network has an outside, dmz and an inside which has two networks. The security-levels will be 100 on the inside, 50 for DMZ and 0 for outside. When configured like this only traffic from high to low will be permitted. So in this case traffic from inside to DMZ, inside to outside and from DMZ to outside will be possible.</p>
<p><strong>Firewall :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
Firewall(config)# interface ethernet0/0
Firewall(config-if)# nameif outside
Firewall(config-if)# security-level 0
Firewall(config-if)# ip address 99.99.99.1 255.255.255.0
Firewall(config-if)# no shutdown
Firewall(config-if)# exit
Firewall(config)# interface ethernet0/1
Firewall(config-if)# nameif inside
Firewall(config-if)# security-level 100
Firewall(config-if)# ip address 10.1.1.1 255.255.255.252
Firewall(config-if)# no shutdown
Firewall(config-if)# exit
Firewall(config)# interface ethernet0/2
Firewall(config-if)# nameif dmz
Firewall(config-if)# security-level 50
Firewall(config-if)# ip address 172.26.1.1 255.255.255.0
Firewall(config-if)# no shutdown
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>As you can see there are two inside networks. The firewall should know where to find these networks, this can be done like below :</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
Firewall(config)# route inside 10.10.2.0 255.255.255.0 10.1.1.2
Firewall(config)# route inside 10.10.3.0 255.255.255.0 10.1.1.2
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>Next we want to make it possible for the inside users and the DMZ users(for now) to go to the internet, for this we will have to put PAT in place. This way the ASA will use its outside ip-address as a PAT address pool. So all inside users going out onto the internet will use the ip-address 99.99.99.1 in this case</p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
Firewall(config)# nat-control
Firewall(config)# nat (inside) 1 0.0.0.0 0.0.0.0
Firewall(config)# nat (dmz) 1 0.0.0.0 0.0.0.0
Firewall(config)# global (outside) 1 interface
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>In the next post we will configure some basic ACL&#8217;s, NAT and Statics.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/asapix-basic-configuration-i/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Inter-AS MPLS solutions - Back-to-Back vrf&#8217;s</title>
		<link>http://www.iplogic.nl/inter-as-mpls-solutions-back-to-back-vrfs/</link>
		<comments>http://www.iplogic.nl/inter-as-mpls-solutions-back-to-back-vrfs/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 21:20:57 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE SP]]></category>

		<category><![CDATA[inter-as]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=669</guid>
		<description><![CDATA[When configuring inter-as mpls vpn's you've got 3 options to choose from. ]]></description>
			<content:encoded><![CDATA[<p>When configuring inter-as mpls vpn&#8217;s you&#8217;ve got 3 options to choose from.</p>
<p>A - Back-to-Back VRF&#8217;s<br />
B - MP-eBGP for VPNv4<br />
C - Multi-hop EBGP VPNv4</p>
<p>This post is about option A. I will show how to configure inter-as vpn&#8217;s using back-to-back vrf&#8217;s. Below you can see the diagram used for the purpose of this post.</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/inter_as1.png" alt="InterAS" /></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>With back-to-back vrf&#8217;s what you&#8217;ll do is basically make the connected PE&#8217;s think of each other as CE&#8217;s. You can run any supported PE-CE routing protocol over the per VPN logical interface between the directly connected ASBR&#8217;s. This option is seen as the easiest one to configure, a drawback is that this option doesn&#8217;t scale very well as the numbers of VPN&#8217;s start to grow.</p>
<p>Below the working configurations for this inter-as solution, I left out the configurations for router R1, R5, R7 and R8 because there is nothing special configured on these routers (they&#8217;re just simple P-routers and CE routers running RIPv2).</p>
<p><strong>R2 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
hostname R2
!
ip cef
!
ip vrf VPN_A
 rd 2.2.2.2:1
 route-target export 2.2.2.2:1
 route-target import 3.3.3.3:1
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.255
!
interface Loopback1
 ip vrf forwarding VPN_A
 ip address 22.22.22.22 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 24.24.24.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 12.12.12.2 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
router ospf 100 vrf VPN_A
 log-adjacency-changes
 redistribute bgp 123 subnets
 network 22.22.22.22 0.0.0.0 area 0
 network 24.24.24.2 0.0.0.0 area 0
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 2.2.2.2 0.0.0.0 area 0
 network 12.12.12.2 0.0.0.0 area 0
!
router bgp 123
 bgp router-id 2.2.2.2
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 123
 neighbor 3.3.3.3 update-source Loopback0
 !
 address-family vpnv4
 neighbor 3.3.3.3 activate
 neighbor 3.3.3.3 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 100 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>R4 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
hostname R4
!
ip cef
!
ip vrf VPN_A
 rd 4.4.4.4:1
 route-target export 4.4.4.4:1
 route-target import 6.6.6.6:1
!
interface Loopback0
 ip address 4.4.4.4 255.255.255.255
!
interface Loopback1
 ip vrf forwarding VPN_A
 ip address 44.44.44.44 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 24.24.24.4 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 45.45.45.4 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
router ospf 100 vrf VPN_A
 log-adjacency-changes
 redistribute bgp 456 subnets
 network 24.24.24.4 0.0.0.0 area 0
 network 44.44.44.44 0.0.0.0 area 0
!
router ospf 1
 router-id 4.4.4.4
 log-adjacency-changes
 network 4.4.4.4 0.0.0.0 area 0
 network 45.45.45.4 0.0.0.0 area 0
!
router bgp 456
 bgp router-id 4.4.4.4
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 456
 neighbor 6.6.6.6 update-source Loopback0
 !
 address-family vpnv4
 neighbor 6.6.6.6 activate
 neighbor 6.6.6.6 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 100 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>R3 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
hostname R3
!
ip cef
!
ip vrf VPN_A
 rd 3.3.3.3:1
 route-target export 3.3.3.3:1
 route-target import 2.2.2.2:1
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 13.13.13.3 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
interface FastEthernet2/0
 ip vrf forwarding VPN_A
 ip address 37.37.37.3 255.255.255.0
 duplex auto
 speed auto
!
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 network 3.3.3.3 0.0.0.0 area 0
 network 13.13.13.3 0.0.0.0 area 0
!
router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 123 metric transparent
 network 37.0.0.0
 no auto-summary
 exit-address-family
!
router bgp 123
 bgp router-id 3.3.3.3
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 123
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family vpnv4
 neighbor 2.2.2.2 activate
 neighbor 2.2.2.2 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p><strong>R6 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
hostname R6
!
ip cef
!
ip vrf VPN_A
 rd 6.6.6.6:1
 route-target export 6.6.6.6:1
 route-target import 4.4.4.4:1
!
interface Loopback0
 ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
 ip vrf forwarding VPN_A
 ip address 61.61.61.6 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet1/0
 ip address 56.56.56.6 255.255.255.0
 duplex auto
 speed auto
 tag-switching ip
!
interface FastEthernet2/0
 ip vrf forwarding VPN_A
 ip address 68.68.68.6 255.255.255.0
 duplex auto
 speed auto
!
router ospf 1
 router-id 6.6.6.6
 log-adjacency-changes
 network 6.6.6.6 0.0.0.0 area 0
 network 56.56.56.6 0.0.0.0 area 0
!
router rip
 version 2
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 456 metric transparent
 network 68.0.0.0
 no auto-summary
 exit-address-family
!
router bgp 456
 bgp router-id 6.6.6.6
 no bgp default ipv4-unicast
 bgp log-neighbor-changes
 neighbor 4.4.4.4 remote-as 456
 neighbor 4.4.4.4 update-source Loopback0
 !
 address-family vpnv4
 neighbor 4.4.4.4 activate
 neighbor 4.4.4.4 send-community both
 exit-address-family
 !
 address-family ipv4 vrf VPN_A
 redistribute rip
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>As you can see we run a separate instance of the OSPF process between router R2 and R4, under this process we redistribute BGP.</p>
<p>Now let&#8217;s do a &#8220;show ip route&#8221; on router R7 :</p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     68.0.0.0/24 is subnetted, 1 subnets
R       68.68.68.0 [120/2] via 37.37.37.3, 00:00:07, FastEthernet1/3
     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     22.0.0.0/32 is subnetted, 1 subnets
R       22.22.22.22 [120/1] via 37.37.37.3, 00:00:07, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     8.0.0.0/32 is subnetted, 1 subnets
R       8.8.8.8 [120/2] via 37.37.37.3, 00:00:07, FastEthernet1/3
     24.0.0.0/24 is subnetted, 1 subnets
R       24.24.24.0 [120/1] via 37.37.37.3, 00:00:07, FastEthernet1/3
     44.0.0.0/32 is subnetted, 1 subnets
R       44.44.44.44 [120/3] via 37.37.37.3, 00:00:09, FastEthernet1/3
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>As you can see router R7 can see router R8</p>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_862361ba-d252-4dbd-8364-9848e81b521c"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F862361ba-d252-4dbd-8364-9848e81b521c&#038;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F862361ba-d252-4dbd-8364-9848e81b521c&#038;Operation=GetDisplayTemplate" id="Player_862361ba-d252-4dbd-8364-9848e81b521c" quality="high" bgcolor="#ffffff" name="Player_862361ba-d252-4dbd-8364-9848e81b521c" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F862361ba-d252-4dbd-8364-9848e81b521c&#038;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/inter-as-mpls-solutions-back-to-back-vrfs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPLS LAB - PE to CE routing - OSPF (different PID)</title>
		<link>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-different-pid/</link>
		<comments>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-different-pid/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 16:21:25 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE SP]]></category>

		<category><![CDATA[MPLS]]></category>

		<category><![CDATA[OSPF different PID]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=664</guid>
		<description><![CDATA[In this post OSPF will again be the PE to CE routing-protocol. The only difference with the <a href="http://www.iplogic.nl/?p=647">previous post</a> is that the OSPF PID between router R3 and R7 will be 20.]]></description>
			<content:encoded><![CDATA[<p>In this post OSPF will again be the PE to CE routing-protocol. The only difference with the <a href="http://www.iplogic.nl/?p=647">previous post</a> is that the OSPF PID between router R3 and R7 will be 20.</p>
<p>Below the diagram again :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/MPLS_LAB_OSPF2.png" alt="MPLS" /></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-6100415597568303";
/* 468x60, created 6/24/09 */
google_ad_slot = "4266835474";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>The changes made on router R3 and R7 below :</p>
<p>
<p><strong>R3 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 20 vrf VPN_A
 router-id 37.37.37.3
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 37.37.37.3 0.0.0.0 area 0
!
router bgp 100
 no synchronization
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 20 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 20
 router-id 7.7.7.7
 log-adjacency-changes
 redistribute connected subnets
 network 37.37.37.7 0.0.0.0 area 0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>The &#8220;show ip route&#8221; output on router R7 before changing the PID from 10 (like configured in the previous post) to 20 on router R3 and R7 :</p>
<p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 37.37.37.3, 00:02:19, FastEthernet1/3
     61.0.0.0/24 is subnetted, 1 subnets
O IA    61.61.61.0 [110/2] via 37.37.37.3, 00:02:19, FastEthernet1/3
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>After changing the PID to 20 the &#8220;show ip route&#8221; output on router R7 looks like below , notice that now all routes are seen as external routes.</p>
<p>The &#8220;show ip route&#8221; output on router R7 after changing the PID on router R3 and R7 :</p>
<p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 37.37.37.3, 00:00:59, FastEthernet1/3
     61.0.0.0/24 is subnetted, 1 subnets
O E2    61.61.61.0 [110/1] via 37.37.37.3, 00:00:59, FastEthernet1/3
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=GetDisplayTemplate" id="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755" quality="high" bgcolor="#ffffff" name="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-different-pid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPLS LAB - PE to CE routing - OSPF (same PID)</title>
		<link>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-same-pid/</link>
		<comments>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-same-pid/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 06:53:29 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE SP]]></category>

		<category><![CDATA[MPLS]]></category>

		<category><![CDATA[OSPF]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=647</guid>
		<description><![CDATA[In this post I will configure OSPF as the PE to CE routing protocol.]]></description>
			<content:encoded><![CDATA[<p>In this post I will configure OSPF as the PE to CE routing protocol. You can see the drawing below. Notice that for this post I will use the same proces-id&#8217;s between te PE&#8217;s and CE&#8217;s (PID 10). </p>
<p>The domain-id is derived from the proces-id but can also be manually set (More on this in the <a href="http://www.iplogic.nl/?p=664">next post</a>). </p>
<p>- When the domain-id&#8217;s match between the PE and CE&#8217;s like on the drawing below OSPF routes will show up as inter-area routes. </p>
<p>- When the domain-id&#8217;s do not match between the PE and CE&#8217;s like the <a href="http://www.iplogic.nl/?p=664">drawing in the next post</a>, OSPF routes will show up as external routes. </p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/MPLS_LAB_OSPF1.png" alt="MPLS" /></p>
<p><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=GetDisplayTemplate" id="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755" quality="high" bgcolor="#ffffff" name="Player_43bf6f5a-2459-4a9c-9232-f0e57f3fc755" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&#038;MarketPlace=US&#038;ID=V20070822%2FUS%2Fleageronl-20%2F8010%2F43bf6f5a-2459-4a9c-9232-f0e57f3fc755&#038;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT></p>
<p>Below the coniguration that goes with the drawing (I am only going to show the configuration for VPN_A again since the configuration for VPN_B is the same) :</p>
<p>Router R3 :</p>
<p>
<p><strong>R3 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 10 vrf VPN_A
 router-id 37.37.37.3
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 37.37.37.3 0.0.0.0 area 0
!
router bgp 100
 no synchronization
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 10 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Router R7 :</p>
<p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 10
 router-id 7.7.7.7
 log-adjacency-changes
 redistribute connected subnets
 network 37.37.37.7 0.0.0.0 area 0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Router R6 :</p>
<p>
<p><strong>R6 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 10 vrf VPN_A
 router-id 61.61.61.6
 log-adjacency-changes
 redistribute bgp 100 subnets
 network 61.61.61.6 0.0.0.0 area 0
!
router bgp 100
 no synchronization
 bgp router-id 6.6.6.6
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 100
 neighbor 3.3.3.3 update-source Loopback0
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute ospf 10 vrf VPN_A match internal external 1 external 2
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Router R11 :</p>
<p>
<p><strong>R11 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router ospf 10
 router-id 11.11.11.11
 log-adjacency-changes
 redistribute connected subnets
 network 61.61.61.11 0.0.0.0 area 0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Below the &#8220;show ip route&#8221; output on router R11 and R7 :</p>
<p>
<p><strong>R7 and R11 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R7#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
C       37.37.37.0 is directly connected, FastEthernet1/3
     7.0.0.0/32 is subnetted, 1 subnets
C       7.7.7.7 is directly connected, Loopback0
     11.0.0.0/32 is subnetted, 1 subnets
O E2    11.11.11.11 [110/20] via 37.37.37.3, 00:10:11, FastEthernet1/3
     61.0.0.0/24 is subnetted, 1 subnets
O IA    61.61.61.0 [110/2] via 37.37.37.3, 00:11:11, FastEthernet1/3

R11#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
O IA    37.37.37.0 [110/2] via 61.61.61.6, 00:08:29, FastEthernet2/0
     7.0.0.0/32 is subnetted, 1 subnets
O E2    7.7.7.7 [110/20] via 61.61.61.6, 00:08:29, FastEthernet2/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback0
     61.0.0.0/24 is subnetted, 1 subnets
C       61.61.61.0 is directly connected, FastEthernet2/0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>As you can see external routes remain external and the routes from VPN site 1 show up as inter-area routes on VPN site 2. </p>
<p>In the next post I will configure OSPF as PE to CE routing protocol with different proces-id&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-ospf-same-pid/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPLS LAB - PE to CE routing - EIGRP (different AS PE-CE)</title>
		<link>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-different-as-pe-ce/</link>
		<comments>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-different-as-pe-ce/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 21:31:22 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE SP]]></category>

		<category><![CDATA[EIGRP]]></category>

		<category><![CDATA[MPLS]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=642</guid>
		<description><![CDATA[Now that we've seen EIGRP as PE to CE routing protocol with the same AS being used between the PE and CE at different VPN sites I will configure EIGRP between the PE and CE but this time with AS number 21047 between router R6 and router R11 and AS number 21048 between router R3 and router R7.]]></description>
			<content:encoded><![CDATA[<p>Now that we&#8217;ve seen EIGRP as PE to CE routing protocol with the same AS being used between the PE and CE at different VPN sites I will configure EIGRP between the PE and CE but this time with AS number 21047 between router R6 and router R11 and AS number 21048 between router R3 and router R7.</p>
<p>The config will be the same as in the previous post only the config for router R3 and R7 is changed somewhat, see below the config on router R3 and router R7.</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/MPLS_LAB_EIGRP2.png" alt="MPLS" /></p>
<p>Router R3&#8217;s config :</p>
<p>
<p><strong>R3 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21047
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 100 metric 10000 1 255 1 1500
 network 37.37.37.3 0.0.0.0
 no auto-summary
 autonomous-system 21048
 exit-address-family
!
router bgp 100
 no synchronization
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
address-family ipv4 vrf VPN_A
 redistribute eigrp 21048
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Router R7&#8217;s config :</p>
<p>
<p><strong>R7 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21048
 redistribute connected metric 10000 1 255 1 1500 route-map LO1
 network 7.7.7.7 0.0.0.0
 network 37.37.37.7 0.0.0.0
 no auto-summary
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>And the &#8220;show ip route&#8221; on router R11 :</p>
<p>
<p><strong>R11 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R11#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
D EX    37.37.37.0 [170/258816] via 61.61.61.6, 00:13:10, FastEthernet2/0
     7.0.0.0/32 is subnetted, 1 subnets
D EX    7.7.7.7 [170/258816] via 61.61.61.6, 00:11:40, FastEthernet2/0
     77.0.0.0/32 is subnetted, 1 subnets
D EX    77.77.77.77 [170/258816] via 61.61.61.6, 00:11:40, FastEthernet2/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback0
     61.0.0.0/24 is subnetted, 1 subnets
C       61.61.61.0 is directly connected, FastEthernet2/0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>As you can see above all routes now show up as external routes in the router R11&#8217;s routing table because of the different AS numbers used.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-different-as-pe-ce/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MPLS LAB - PE to CE routing - EIGRP (same AS PE-CE)</title>
		<link>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-same-as-pe-ce/</link>
		<comments>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-same-as-pe-ce/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 16:34:13 +0000</pubDate>
		<dc:creator>Chris van den Brink, CCIE #21047</dc:creator>
		
		<category><![CDATA[CCIE SP]]></category>

		<category><![CDATA[Security]]></category>

		<category><![CDATA[EIGRP]]></category>

		<category><![CDATA[MPLS]]></category>

		<guid isPermaLink="false">http://www.iplogic.nl/?p=638</guid>
		<description><![CDATA[In this post I will show how to configure EIGRP as the PE to CE routing protocol.]]></description>
			<content:encoded><![CDATA[<p>In this post I will show how to configure EIGRP as the PE to CE routing protocol. The network used is the same as used in the rest of this series. You can see it below again :</p>
<p align="center"><img src="http://www.iplogic.nl/wp-content/images/MPLS_LAB_EIGRP.png" alt="MPLS" /></p>
<p>In this first example we are going to use the same AS number between the PE and CE router for EIGRP.</p>
<p>When using the same AS between the PE and CE router internal routes from one VPN site will be remain internal routes in other VPN sites.<br />
When using the same AS between the PE and CE router external routes will remain external routes.</p>
<p>We are only going to configure VPN_A since the configuration for VPN_B is pretty much the same. </p>
<p>router R3&#8217;s config :</p>
<p>
<p><strong>R3 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21047
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 100 metric 10000 1 255 1 1500
 network 37.37.37.3 0.0.0.0
 no auto-summary
 autonomous-system 21047
 exit-address-family
!
router bgp 100
 no synchronization
 bgp router-id 3.3.3.3
 bgp log-neighbor-changes
 neighbor 6.6.6.6 remote-as 100
 neighbor 6.6.6.6 update-source Loopback0
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute eigrp 21047
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>router R7&#8217;s config :</p>
<p>
<p><strong>R7:</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21047
 redistribute connected metric 10000 1 255 1 1500 route-map LO1
 network 7.7.7.7 0.0.0.0
 network 37.37.37.7 0.0.0.0
 no auto-summary
!
route-map LO1 permit 10
 match interface Loopback1
!
interface Loopback1
 ip address 77.77.77.77 255.255.255.255
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Notice that I created a loopback 1 to show that redistributed routes (External routes) remain external on the other side of the VPN.</p>
<p>router R6&#8217;s config :</p>
<p>
<p><strong>R6 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21047
 no auto-summary
 !
 address-family ipv4 vrf VPN_A
 redistribute bgp 100 metric 10000 1 255 1 1500
 network 61.61.61.6 0.0.0.0
 no auto-summary
 autonomous-system 21047
 exit-address-family
!
router bgp 100
 no synchronization
 bgp router-id 6.6.6.6
 bgp log-neighbor-changes
 neighbor 3.3.3.3 remote-as 100
 neighbor 3.3.3.3 update-source Loopback0
 no auto-summary
 !
address-family ipv4 vrf VPN_A
 redistribute eigrp 21047
 no auto-summary
 no synchronization
 exit-address-family
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>router R11&#8217;s config :</p>
<p>
<p><strong>R11 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
router eigrp 21047
 network 11.11.11.11 0.0.0.0
 network 61.61.61.11 0.0.0.0
 no auto-summary
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>Now let&#8217;s do a &#8220;sh ip route&#8221; on R11 :</p>
<p>
<p><strong>R11 :</strong></p>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td bgcolor="#eeeeee"></td>
<td width="3%" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee"></td>
<td width="97%" bgcolor="#eeeeee">
<pre><code>
R11#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

     37.0.0.0/24 is subnetted, 1 subnets
D       37.37.37.0 [90/30720] via 61.61.61.6, 00:13:12, FastEthernet2/0
     7.0.0.0/32 is subnetted, 1 subnets
D       7.7.7.7 [90/158720] via 61.61.61.6, 00:13:12, FastEthernet2/0
     77.0.0.0/32 is subnetted, 1 subnets
D EX    77.77.77.77 [170/261376] via 61.61.61.6, 00:09:45, FastEthernet2/0
     11.0.0.0/32 is subnetted, 1 subnets
C       11.11.11.11 is directly connected, Loopback0
     61.0.0.0/24 is subnetted, 1 subnets
C       61.61.61.0 is directly connected, FastEthernet2/0
    </code></pre>
</td>
</tr>
</tbody>
</table>
<p>
<p>As you can see above the internal EIGRP routes remain internal and the external route (the redistributed route from router R7&#8217;s loopback 1 interface) remains </p>
<p>external when using EIGRP with the same AS number between the PE and CE at different VPN sites.</p>
<p>In the next post I will show the configuration of EIGRP as the PE to CE routing protocol with different AS numbers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iplogic.nl/mpls-lab-pe-to-ce-routing-eigrp-same-as-pe-ce/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
