|
|
|
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
|
![]() |
![]() |
|
|
|
Cisco CCNA / CCNP Certification: OSPF ASBRs Explained And Illustrated
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 R1#conf t R1#show ip route rip 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 metric Metric for redistributed routes R1(config-router)#redistribute rip 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. 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
MORE RESOURCES:
Personal-Tech - Google News |
RELATED ARTICLES
iPod users get the picture iPod users start to get the picture and it's turning out to be colorful fun!!The latest generation of hi tech gadget users are watching the different media they use start to converge as Apple launches its latest grab for the market with iPod Photo. Not only can you listen to all your music on the go, or organize your business and social life, but now your entire photo collection can be viewed at hand too. Why Build Your Own Gaming Computer? The best way to get the gaming computer that you want, that will provide optimum performance is to build your own computer. If you think you do not have the technical knowledge or are not capable of building a computer you are wrong. Faster Browsing Tips IF WE say that it was mainly because of the Windows operating system that a Computer could become a personal computer it would not be an exaggeration. The revolution is still on. Back Up, Back Up, Back Up! This is not your typical lost data story. I was a good girl and I kept my files on the network drive just like the company recommended. Top 9 Ways To Speed Up Your Surfing & Computing It seems like fast never quite rates fast enough.No matter how quickly something moves, especially on the Internet, it could always move faster. Bios Term BIOS - Basic Input Output SystemThe central processing unit of a computer needs to communicate with the many hardware devices installed in your computer.The BIOS of a computer contains a piece of software that enables the CPU to communicate with the many devices a computer has installed. Desktop Security Software Risks - Part 2 This is the third in a series of articles highlighting reasons why we need a new model for anti-virus and security solutions.Reason #2: the Desktop Security Software RisksThe risks of placing software on the desktop are such that I will be breaking this article into two parts. The Advantages of Portable MP3 Players With their solid-state technology, compact size, and abundant memory, portable mp3 players are the state of the art in portable music systems.Most portable mp3 players feature storage systems that have no moving parts. Customize Your Portable Player with an MP3 Player Accessory Everywhere you look today people are listening to personal audio players. And many look for ways to personalize and/or enhance their experience. D2X Digital SLRCoolpix 8800 Actually Refers to Two Nikon Cameras Addressing a D2X Digital SLRCoolpix 8800 search, this article provides a quick comparison of the Nikon D2X digital SLR and Coolpix 8800 cameras.Nikon D2X Professional Digital SLRCheck out a Nikon D2X review or two and quickly realize this is a world class professional digital SLR. Three Things You Can Do to Keep Your Computer Running at Maximum Performance Although there are many things that can affect the performance of your computer, there are a few simply things you can do each month to help keep your computer running at maximum performance. This article will focus on two problems that impact the performance of your computer and will then explain what you can do about it. Freezing - Time To Warm Up Your PC Freezing is also known as crashing or hanging. It's frustrating. The Best MP3 Players Under $100 You don't have to fork out $250 for a super-diggy-whizbang mp3 player, do you? There are cheap mp3 players to be had, with a host of features perfectly suitable for everyday use. Here is a small sampling of some of the highest-rated cheap mp3 players. Be Your Own IT Department If you use a computer, you need to know more than just how to use your email and surf the web. You need to know that you are protected. Help, I Need a New HDTV! (Part 2 of 5) Feeling overwhelmed in selecting a new TV? With all the choices these days, you may feel like, "Where do I start?!"In part 2 of our 5 part article, we the discuss the options in TV technologies---Plasma. Plasma technology contains millions of "pixels" that contain a rare natural gas. Image Conversion In Computers JPEG, GIFF/JIFF, BMP, and TIFF are the most commonly used formats for storing still image files such as photographs, graphics, and drawings. JPEG stands for Joint Photographic Experts Group and is a standard for image compression. MobiTV and Visual Stimulation Imput for Personal Cognitive Performance Stimulus thru Caffiene or Visual Input?It appears that the Mobi TV feature for Cell Phones may in fact have some positive Bio-advantages in that it exercises the brain thru visual stimulation. We know that visual input stimulates the brain. Cut Through the Hype and Make the Right Digital Camera Comparisons There are soooo many choices. With all the styles and features, and prices are all over the map, digital camera comparisons can be mind-boggling. Use Your Computer For Your Entertainment Needs By using your computer today you can find a lot of different music and movie programs. From downloading music and movies directly from the internet to buying subscriptions, joining clubs, and even renting, all from the comfort of your home. 2 PC Annoyances and How To Solve Them! I have a love-hate relationship with my computer.In fact, often I love to hate my computer!It will do things I know even the great Mr. |
|
|