Personal Technology Information |
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: Unable to open RSS Feed $XMLfilename with error HTTP ERROR: 403, exiting |
RELATED ARTICLES
Seven Things to Consider When Choosing a PDA In the early days, Personal Digital Assistants (PDAs) were not much more than glorified calculators with the ability to store contact information and brief notes. Now, the line between personal computer and personal digital assistant is blurred thanks to the advanced capabilities of these useful little devices. Are You Putting Off Productivity? I recently took a good look at what was keeping me from accomplishing what I needed to do. After all, I had my goals. Digital Cameras + Photo Printers = Quality Instant Photographs In the 1950's and 1960's Polaroid's instant cameras were all the rage. You could shoot a picture and have the finished print in a minute or so. Why Build Your Own Computer System Have you ever thought about building your own computer system? Maybe you've heard friends talking about doing this sort of thing, but you were never sure what was involved. This article attempts to answer two questions. Healthy Webmasters Choose Ergonomic Computer Products Webmasters usually sit at their computers much longer in a day than most other office workers, sometimes up to 10 and 12 hours. This can bring about the potential for physical discomforts that are attributed to prolonged use and the repetitive tasks that they perform on computers every day. How To Speed Up Your Aging PC And Make It Healthier Too With a little tweaking and with proper tools, you can get a faster, healthier PC, virtually immune to spyware infections and browser hijackers. How is this possible? Find out about the latest tools and how they work. What's the Difference Between Plasma TVs and LCD TVs? Plasma and LCD TVs are the latest trend in home entertainment. Both offer unrivalled picture quality and resolution, while doing away with the bulkiness of the older rear-projection technologies. MCSE 70-290 Certification Primer Microsoft Certifications are one of the most widely acclaimed, pursued, and achieved technical certifications in the IT industry. The demand for Microsoft Certified Professionals in the job market is increasing every year. Spyware Remover Your first step in removing dangerous infections from your computer should be downloading a free program called Hijack This. Make sure you download the file and extract it to a directory on your hard drive, you can call it HijackThis. Basic Computer Thermodynamics That desk in front of you and everything else around you is made up of atoms. An atom consists of electrons orbiting around a nucleus. Cisco Certification: A Survival Guide To The Cisco Cable Jungle One of the most confusing parts of beginning your Cisco studies is keeping all the cable types separate in your mind, and then remembering what they're used for. This often occurs when a CCNA or CCNP candidate starts putting together their own home practice lab, and they suddenly realize that they have the equipment to run labs, but not the cables. Buying a Personal Computer (PC) For many people the computer industry is a seeming unsolvable jungle filled with mysterious words. Here is a guide to help you understand the personal computer and to give you the information needed to make a shopping decision you can live with so you can enjoy your PC for years to come. Classification of Computers Computers are available in different shapes, sizes and weights, due to these different shapes and sizes they perform different sorts of jobs from one another.They can also be classified in different ways. 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. How To Become A True CCNA I've worked my way from the CCNA to the CCIE, and along the way I've conducted job interviews and casual conversations with dozens of CCNAs and CCNA candidates. Believe me, people who "sneak by" the CCNA exam by braindumps, memorization, and never touching a router or switch are QUICKLY found out in job interviews and on the job. The Benefits of the New Firefox Browser You probably heard of the new Firefox browser version 1.0 recently released by Mozilla. Advantages and Guidelines of Automated Testing "Automated Testing" is automating the manual testing process currently in use. This requires that a formalized "manual testing process", currently exists in the company or organization. Why Using an Ad Blocker Can be a Bad Idea Ad Blocking is getting to be a common sport on the internet. Now there are some legitimate uses for an ad blocker. Dont Let the Internet Overstimulate Your Mind The Internet is an awesome tool, but be careful and aware that the cloud of over stimulation doesn't invade your mind.It seems we have to become aware of a new problem that is starting to invade our modern, industrial society, that being the problem of over stimulation. 4 Computer Money-saving Tips Tip #1 -- Rebates:A rebate is not always a bargain. Computers with rebates are often close to being discontinued. |
home | site map | contact us |