Home Categories Submit Republish Tools Links Credits Contact
Popular Articles
 
     
 
 Categories
 
 
Submit your articles online!

Cisco CCNA / CCNP Certification: OSPF ASBRs Explained And Illustrated

By: Chris Bryant

Published: July 25, 2007
Link To Article Link To Article  E-mail Article E-mail Article  Republish Article Republish Article
When I first started studying for my CCNP, some of the concepts of OSPF really confused me. This was especially true for the ASBR, stub areas, and total stub areas. Sure, I could memorize the LSA types associated with these devices and area types, but there just weren't any illustrations that explained exactly what was going on.

This CCNP tutorial shows an ASBR in operation, and also introduces you to a basic example of route redistribution. Don't worry, it gets more complicated.:)

Here's the network we'll be working with in this tutorial:

R5

|

R1

/

R2 R3

Networks:

R1 - R5 Ethernet Segment: 10.1.1.0 /24

R1 - R2 - R3 Serial Segment: 172.16.123.0 /24 (Preconfigured with OSPF)

R1 and R5 are running RIP over their common Ethernet segment, 10.1.1.0 /24. R5 has three loopbacks it will be advertising into the RIP domain.

R1 is also running OSPF, with R2 and R3 as neighbors. Even though R1 knows about the loopbacks on R5, its OSPF neighbors do not. R1 has these routes in its RIP routing table, and for OSPF neighbors to learn of these routes, route redistribution must be manually configured.

R5#conf t
R5(config)#router rip
R5(config-router)#version 2
R5(config-router)#no auto-summary
R5(config-router)#network 5.0.0.0
R5(config-router)#network 10.0.0.0

R1#conf t
R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto-summary
R1(config-router)#network 10.0.0.0

R1#show ip route rip
5.0.0.0/24 is subnetted, 3 subnets
R 5.1.1.0 [120/1] via 10.1.1.5, 00:00:10, Ethernet0
R 5.2.1.0 [120/1] via 10.1.1.5, 00:00:10, Ethernet0
R 5.3.1.0 [120/1] via 10.1.1.5, 00:00:10, Ethernet0

R1 has a route for all three of R5’s loopback interfaces, learned via RIP. R1 is also running OSPF, but its neighbors R2 and R3 don’t know about these RIP routes:

R2#show ip route ospf

R2# < no output from show command means no routes! >

R3#show ip route ospf

R3#

Be careful when configuring redistribution use IOS Help to make sure you’re not missing any vital options. IOS Help shows that there is a “subnets” option when redistributing RIP into OSPF. If that is left off, only classful networks are redistributed (as the router is kind enough to tell us). In this case, we have no classful networks, so there will be no redistribution. R2 will not see the RIP routes.

R1(config)#router ospf 1
R1(config-router)#redistribute rip?

metric Metric for redistributed routes
metric-type OSPF/IS-IS exterior metric type for redistributed routes
route-map Route map reference
subnets Consider subnets for redistribution into OSPF
tag Set tag for routes redistributed into OSPF

R1(config-router)#redistribute rip
% Only classful networks will be redistributed

R2#show ip route ospf

R2#clear ip route *

R2#show ip route ospf

R2#

On R1, we’ll now use the “subnets” option, and the RIP subnets are successfully redistributed into OSPF.

R1(config)#router ospf 1

R1(config-router)#redistribute rip subnets

R2 now sees the redistributed routes.

R2#show ip route ospf

5.0.0.0/24 is subnetted, 3 subnets

O E2 5.1.1.0 [110/20] via 172.12.123.1, 00:00:08, Serial0.123

O E2 5.2.1.0 [110/20] via 172.12.123.1, 00:00:08, Serial0.123

O E2 5.3.1.0 [110/20] via 172.12.123.1, 00:00:08, Serial0.123

10.0.0.0/24 is subnetted, 1 subnets

O E2 10.1.1.0 [110/20] via 172.12.123.1, 00:00:08, Serial0.123

Notice that the routes are marked as “E2”. The E indicates that these are external routes these are routes that were learned by OSPF via redistribution.

Naturally, you’ll want to ping these networks to make sure you have two-way communication. Even though the routes to these loopbacks are in the routing table, pings fail:

R2#ping 5.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 5.1.1.1, timeout is 2 seconds:

...

Success rate is 0 percent (0/5)

Keep this in mind when troubleshooting: It’s not enough to have a route to a destination for pings to succeed there’s got to be a path back. At this point, R5 doesn’t know where the 172.12.123.0 network is, so there’s no way the ping can get back. More route redistribution is necessary on R1.

Your first instinct may be to redistribute OSPF routes into RIP to make this work, but remember that the 172.12.123.0 /24 network isn’t known to R1 via OSPF it’s a directly connected network. We can redistribute connected networks into RIP to give R5 a route to 172.12.123.0 /24, which will give the ICMP packets a path back to R2, which will allow pings to succeed.

R1(config)#router rip

R1(config-router)#redistribute connected

R5#show ip route rip

1.0.0.0/32 is subnetted, 1 subnets

R 1.1.1.1 [120/1] via 10.1.1.1, 00:00:02, Ethernet0

172.12.0.0/24 is subnetted, 1 subnets

R 172.12.123.0 [120/1] via 10.1.1.1, 00:00:02, Ethernet0

R2#ping 5.1.1.1

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 5.1.1.1, timeout is 2 seconds:

!

Success rate is 100 percent (5/5), round-trip min/avg/max = 68/69/76 ms

Performing this redistribution makes R1 an ASBR, as shown here with show ip ospf. This command even shows you what protocol(s) are being redistributed into OSPF.

R1#show ip ospf

Routing Process "ospf 1" with ID 1.1.1.1

Supports only single TOS(TOS0) routes

Supports opaque LSA

It is an autonomous system boundary router

Redistributing External Routes from,

rip, includes subnets in redistribution

Knowing exactly what the ASBR does and how to configure route redistribution are just a few of the many OSPF skills you'll need to earn your CCNP. Like any other Cisco skill, breaking a complex topic like OSPF down into smaller, manageable pieces is the best way to master these topics and pass the CCNP exams.

Keep watching The Bryant Advantage website for more free CCNA and CCNP tutorials!

To your success,

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage ( http://www.thebryantadvantage.com/ ), home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages. Video courses and training, binary and subnetting help, and corporate training are also available. Pass the CCNA exam with Chris Bryant, CCIE #12933!

For my FREE "How To Pass The CCNA" or "How To Pass The CCNP" ebook, write to chris@thebryantadvantage.com!



Visitor Comments

Post Comment Post A Comment
What do you think about this article? Do you agree or disagree with it? Be the first to comment on this article, and share your thoughts with the world. No registration is required to post comments.

Article Icon Considering Microsoft MCSE-MCSA Networking Certification Courses
If you're going through this material then it's likely that you're about to make a move into the great world of IT and you fancy taking your MCSE, or you're currently an IT professional and you know that...
Article Icon CompTIA A+ Interactive Training Revealed
Two separate areas of study make up a full CompTIA A+; you're seen as competent at A+ when you've gained exams for both of these areas.
Article Icon Insights Into Online Interactive Training For Microsoft MCSE
Because you're doing your research on MCSE training programs, the chances are you're in one of two categories: Maybe you're thinking of a dynamic move to the IT sector, and all evidence points to a huge demand
Article Icon Home-Study PC Training In MCSA Network Tech Support Clarified
The MCSA course is a perfect match for all those considering becoming a network supporter. Whether you already have experience but want to add to that with certification, or you're new to the world of...
Article Icon Online Home PC Career Courses In MCSA Networking - Some Insights
If you are considering a career in supporting networks then the Microsoft MCSA (Microsoft Certified Systems Administrator) course is the ideal one for you. So if you want to get into IT or already have...
Article Icon Multimedia Courses In Cisco Network Support - Some Insights
CCNA is the way to go for Cisco training. This allows you to deal with maintaining and installing routers and switches. The Internet is made up of many routers, and large companies that have several...
Article Icon Online Certification For Microsoft MCSE Networking Clarified
Thinking of taking an MCSE? If so, it's probable that you'll fall into one of the following categories: You are a knowledgeable person, and you'd like to gain accreditation with an MCSE certification....
Article Icon Considering Online Interactive PC Courses In MCSA Networking
The MCSA course is an ideal qualification for anyone wanting to become a network support technician. Whether you're already knowledgeable but want to improve your CV with a recognised qualification, or...
Article Icon Explaining Cisco Networking Career Home Study Certification
If you're looking for Cisco training, and you haven't worked with routers before, the right certification is a CCNA. This training program has been put together to teach men and women who want practical...
Article Icon Online Training For CompTIA Network Tech Support - Some Thoughts
In today's high speed society, support workers who can solve problems with computers and networks, plus give regular help to users, are essential in every part of the business environment. The need for more...

Article Icon MCSE? CCNA? How To Choose The Best Computer Certification For You
When you're choosing which computer certification to pursue next, you should also be formulating a plan for your career. Your time is precious, and you should never choose to pursue a certification because...


Print This Article Print This Article
Add To Favorites Add To Favorites
Cite This Article Cite This Article
 
 
Home | Categories | Submit | Republish | Tools | Links | Credits | Contact | Privacy Statement | Terms Of Use
Copyright © 2012 InfoServe Media, LLC (DBA PopularArticles.com). All rights reserved.