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
chris@thebryantadvantage.com
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage. The Bryant Advantage offers dozens of FREE CCNA, CCNP, and Home Lab tutorials and articles. The Bryant Advantage sells the world's most comprehensive CCNA Study Guide, and my exclusive Binary Math and Subnetting Mastery book. My CCNA Online Fast Track is the world's fastest-growing CCNA course. Get your CCNA and CCNP today at http://www.thebryantadvantage.com
![]() Google News Updated : Sun, 12 Oct 2008 23:51:23 GMT UPDATE 1-Tropical Storm Nana forms in Atlantic - Reuters Reuters - MIAMI, Oct 12 (Reuters) - Tropical Storm Nana, the 14th of the Atlantic hurricane season, formed on Sunday in the Atlantic Ocean east of the Caribbean islands, the US National Hurricane Center said. Forecasters: Tropical Storm Nana forms in Atlantic Tropical Storm Nana Forms Publ.Date : Sun, 12 Oct 2008 21:29:57 GMT Breast Cancer Awareness Month: Cancer survivor shares her story - Naples Daily News
Naples Daily News - By LIANE SMITH (Contact) She felt pain in her breasts. One of her aunt’s died in February from breast cancer. Another aunt, in her 60s now, has battled it on and off for more than a dozen years. Pink And Purple Join To Help Women Breast Cancer Awareness Month Should Be Prevention Month! Publ.Date : Sun, 12 Oct 2008 22:31:44 GMT Mighty Chihuahuas Eclipse DiCaprio and Crowe in Test of Star Power - New York Times New York Times - By BROOKS BARNES LOS ANGELES - This is how far movie stars have fallen in their ability to pull audiences into theaters, at least when the story revolves around Iraq and the messiness of the Middle East: A picture about talking dogs, “Beverly Hills ... Dogs rule: 'Beverly Hills Chihuahua' No. 1 again 'Chihuahua' fetches $17.5M, remains top movie dog Publ.Date : Sun, 12 Oct 2008 21:18:44 GMT Palin talks economic worries in Appalachian Ohio - The Associated Press
The Associated Press - ST. CLAIRSVILLE, Ohio (AP) - Sarah Palin told voters in southeastern Ohio on Sunday that she and running mate John McCain would bring jobs back to this economically depressed piece of Appalachia. John McCain and Sarah Palin try new tactics US-POLITICS Summary Publ.Date : Sun, 12 Oct 2008 23:11:58 GMT Tigers still seeking QB to turn season around - SportingNews.com
SportingNews.com - AP Sports Wri AUBURN, Ala. (AP) -- The Auburn Tigers didn't figure they'd be in this position: Unranked, desperately trying to salvage a once-promising season and still seeking a quarterback solution seven games into the season. Tuberville And Tigers Trying To Regroup A Pig Sooie Shocker in Auburn Publ.Date : Sun, 12 Oct 2008 23:13:08 GMT First Second-Generation Astronaut, Richard Garriott, Launched Into ... - AHN
AHN - Vienna, VA (AHN)-Space Adventures, Ltd, a company that provides space missions to the global community, announced that client Richard Garriott and his crew successfully launched from the Baikonur Cosmodrome in Kazakhstan to the International Space ... Video: Raw Video: US space tourist begins journey US game designer blasts into space with DNA cargo Publ.Date : Sun, 12 Oct 2008 21:28:36 GMT Falcons' Ryan is not your typical rookie QB - FOXSports.com
FOXSports.com - by Alex Marvez Alex Marvez is a Senior NFL Writer for FOXSports.com. He's covered the NFL for 14 seasons as a beat writer and is the president of the Pro Football Writers of America. Falcons missed chances in red zone Bears rally late, fall to Falcons on last-second FG Publ.Date : Sun, 12 Oct 2008 23:14:27 GMT Amazon Content |
PARLOT::Ebooks, Scripts,
Websites, and more... With renting methods such as online DVD rental and pay-per-view,... Read More In the 1950's and 1960's Polaroid's instant cameras were all... Read More Youâ??ve studied hard; youâ??ve practiced your configurations; youâ??ve used your... Read More There have been some questions on anti-skip protection on mp3... Read More The technological horizon has always got something new to offer,... Read More We all enjoy our favorite screensavers but in the same... Read More Those small USB drives have so many names, pocket drives,... Read More On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F... Read More World War II - Germany decided to attack Poland. Poland... Read More 1. Let your PC boot up completely before opening any... Read More First and foremost before I begin my ranting it is... Read More I do a holiday letter every year and send them... Read More Most of the web applications have a lot of images... Read More A Computer in Your HandCarrying around an address book and... Read More In the years of the dot com boom and bust,... Read More By using your computer today you can find a lot... Read More Choose Not To ConformPalm pilots and pdas are constantly growing... Read More IF WE say that it was mainly because of the... Read More Feeling overwhelmed in selecting a new TV? With all the... Read More Introduction In this article I will clearly spell out the... Read More Stop Getting LostOne of the greatest uses for a pocket... Read More Selecting a TV isn't as easy as it used to... Read More The basic language of the internet is html. If you... Read More Unless you place your faith in internal search engine software... Read More Plenty! When we made the decision to be our own... Read More
Adsense
websites
Is Online DVD Rental or Pay-Per-View the Best Way to Get Your Movies?
Digital Cameras + Photo Printers = Quality Instant Photographs
Cisco Certification: Taking Your First Certification Exam
Anti-Skip Protection on Mp3 Players
Bluetooth Technology: Tips for Buying Headsets or Headphones
Gain Control Over Your Screensavers With These Simple Steps
USB Drives - What to Look For in a USB Device
SOBIG.F Virus Promises Ill Be Back
Linux Power Tools - Great Tools to Make System Administration Easy
10 Tips to SPEED Up Your PC
Computer Geeks and Garden Gnomes
Printing Multiple Copies of Photos
How to Save an Image in a SQL Server Database?
Selecting a Personal Digital Assistant
Why Get a Microsoft MCSE Certification?
Use Your Computer For Your Entertainment Needs
Connect Your IPAQ to Linux
Faster Browsing Tips
Help, I Need a New HDTV! (Part 4 of 5)
Computer Performance Tips
Best PC Pocket GPS
Selecting the Perfect Big Screen TV
Getting Started with HTML
Put Order and Information into File Names
What Has A Portable MP3 Player Have To Do With Your Business
File permissions are one of the strengths that the Unix... Read More
You have your television and home theater receiver; you just... Read More
Winter?the official start of the cold and flu season. Though,... Read More
Are you looking for an MP3 player but am not... Read More
When I first started studying for my CCNP, some of... Read More
Computers are available in different shapes, sizes and weights, due... Read More
So you got yourself a digital camcorder. If you want... Read More
Cookies, not the kind that Mom makes, but the computer... Read More
Computer is an electronic machine work on the instructions of... Read More
First things first, what is Firefox? Well, it's a browser.... Read More
In the years of the dot com boom and bust,... Read More
If you utilize a computer at home or work it... Read More
If you're a computer expert, you'll probably already know about... Read More
IntroductionMac OS X is the most technologically advanced operating system... Read More
Each of the items in the checklist below is part... Read More
JVC developed and used a high-performance reflective film to produce... Read More
Apache, MysQL and PHP for Windows could be a nice... Read More
One of the most confusing parts of beginning your Cisco... Read More
I got my eyes set on a iPod mini, as... Read More
HTTP ProtocolThe web is run on port 80. You are... Read More
Are you frustrated with your PC?Is it feeling sluggish or... Read More
Many computer users are worried about their computer's performance. After... Read More
If you have a computer for home use or for... Read More
There have been some questions on anti-skip protection on mp3... Read More
About mail-mergingMail-merging is the process of merging variable data and... Read More
Personal Technology |