Categories
- Arts & Entertainment
- Business
- Communications
- Computers
- Culture & Society
- Disease & Illness
- Fashion
- Finance
- Food & Beverage
- Health & Fitness
- Hobbies
- Home & Family
- Home Based Business
- Internet Business
- Legal
- Pets & Animals
- Politics
- Product Reviews
- Recreation & Sports
- Reference & Education
- Religion
- Self Improvement
- Shopping
- Travel & Leisure
- Vehicles
- Writing & Speaking
Information
Cisco CCNA / CCNP Certification Exam Lab: Frame Relay Subinterfaces And Split Horizon
Submitted: 2007-01-17 15:44:34
Print this article | Tell a friend | For publisher |
Earning your Cisco CCNA and CCNP is a tough proposition, and part of that is the fact that you quickly learn that there’s usually more than one way to do things with Cisco routers – and while that’s generally a good thing, you better know the ins and outs of all options when it comes to test day and working on production networks. Working with Frame Relay subinterfaces and split horizon is just one such situation.
One reason for the use of subinterfaces is to circumvent the rule of split horizon. You recall from your CCNA studies that split horizon dictates that a route cannot be advertised out the same interface upon which it was learned in the first place. In the following example, R1 is the hub and R2 and R3 are the spokes. All three routers are using their physical interfaces for frame relay connectivity, and they are also running RIPv2 172.12.123.0 /24. Each router is also advertising a loopback interface, using the router number for each octet.
R1(config)#int s0
R1(config-if)#ip address 172.12.123.1 255.255.255.0
R1(config-if)#no frame inverse
R1(config-if)#frame map ip 172.12.123.2 122 broadcast
R1(config-if)#frame map ip 172.12.123.3 123 broadcast
R1(config-if)#no shut
R2(config)#int s0
R2(config-if)#encap frame
R2(config-if)#no frame inver
R2(config-if)#frame map ip 172.12.123.1 221 broadcast
R2(config-if)#frame map ip 172.12.123.3 221 broadcast
R2(config-if)#ip address 172.12.123.2 255.255.255.0
R3(config)#int s0
R3(config-if)#encap frame
R3(config-if)#no frame inver
R3(config-if)#frame map ip 172.12.123.1 321 broadcast
R3(config-if)#frame map ip 172.12.123.2 321 broadcast
R3(config-if)#ip address 172.12.123.3 255.255.255.0
R1#show ip route rip
2.0.0.0/32 is subnetted, 1 subnets
R 2.2.2.2 [120/1] via 172.12.123.2, 00:00:20, Serial0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 172.12.123.3, 00:00:22, Serial0
R2#show ip route rip
1.0.0.0/32 is subnetted, 1 subnets
R 1.1.1.1 [120/1] via 172.12.123.1, 00:00:06, Serial0
R3#show ip route rip
1.0.0.0/32 is subnetted, 1 subnets
R 1.1.1.1 [120/1] via 172.12.123.1, 00:00:04, Serial0
The hub router R1 has a route to both loopbacks, but neither spoke has a route to the other spoke's loopback. That's because split horizon prevents R1 from advertising a network via Serial0 if the route was learned on Serial0 to begin with.
We've got two options here, one of which is to disable spilt horizon on the interface. While doing so will have the desired effect in our little network, disabling split horizon is not a good idea and should be avoided whenever possible. We’re not going to do it in this lab, but here is the syntax to do so:
R1(config)#interface serial0
R1(config-if)#no ip split-horizon
A better solution is to configure subinterfaces on R1. The IP addressing will have to be revisited, but that's no problem here. R1 and R2 will use 172.12.123.0 /24 to communicate, while R1 and R3 will use 172.12.13.0 /24. R3's serial0 interface will need to be renumbered, so let's look at all three router configurations:
R1(config)#interface serial0
R1(config-if)#encap frame
R1(config-if)#no frame inverse-arp
R1(config-if)#no ip address
R1(config-if)#interface serial0.12 multipoint
R1(config-subif)#ip address 172.12.123.1 255.255.255.0
R1(config-subif)#frame map ip 172.12.123.2 122 broadcast
R1(config-subif)#interface serial0.31 point-to-point
R1(config-subif)#ip address 172.12.13.1 255.255.255.0
R1(config-subif)#frame interface-dlci 123
R2(config)#int s0
R2(config-if)#ip address 172.12.123.2 255.255.255.0
R2(config-if)#encap frame
R2(config-if)#frame map ip 172.12.13.3 221 broadcast
R2(config-if)#frame map ip 172.12.123.1 221 broadcast
R3(config)#int s0
R3(config-if)#ip address 172.12.13.3 255.255.255.0
R3(config-if)#encap frame
R3(config-if)#frame map ip 172.12.13.1 321 broadcast
R3(config-if)#frame map ip 172.12.123.2 321 broadcast
A frame map statement always names the REMOTE IP address and the LOCAL DLCI. Don't forget the broadcast option!
Show frame map shows us that all the static mappings on R1 are up and running. Note the "static" output, which indicates these mappings are a result of using the frame map command. Pings are not shown, but all three routers can ping each other at this point.
R1#show frame map
Serial0 (up): ip 172.12.123.2 dlci 122(0x7A,0x1CA0), static,
broadcast, CISCO, status defined, active
Serial0 (up): ip 172.12.13.3 dlci 123(0x7B,0x1CB0), static,
broadcast, CISCO, status defined, active
After the 172.12.13.0 /24 network is added to R1 and R3’s RIP configuration, R2 and R3 now have each other's loopback network in their RIP routing tables.
R2#show ip route rip
1.0.0.0/32 is subnetted, 1 subnets
R 1.1.1.1 [120/1] via 172.12.123.1, 00:00:20, Serial0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 172.12.123.1, 00:00:22, Serial0
R3#show ip route rip
1.0.0.0/32 is subnetted, 1 subnets
R 1.1.1.1 [120/1] via 172.12.13.1, 00:00:20, Serial0
2.0.0.0/32 is subnetted, 1 subnets
R 2.2.2.2 [120/1] via 172.12.13.1, 00:00:22, Serial0
While turning split horizon off is one way to achieve total IP connectivity, doing so can have other unintended results. The use of subinterfaces is a more effective way of allowing the spokes to see the hub's loopback network.
Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage, home of free CCNA and CCNP tutorials, The Ultimate CCNA Study Package, and Ultimate CCNP Study Packages.
You can also join his RSS feed and visit his blog, which is updated several times daily with new Cisco certification articles, free tutorials, and daily CCNA / CCNP exam questions! Details are on the website.
For a FREE copy of his latest e-books, “How To Pass The CCNA” and “How To Pass The CCNP”, visit the website and download your free copies. You can also get FREE CCNA and CCNP exam questions every day! And coming in 2007 -- Microsoft Vista certification from The Bryant Advantage!
Article source: Expert Articles
Most Recent Articles in Certification Tests category
- C Programming Career Courses - UK Explained - By: Jason Kendall
When choosing any computer training program it is vital that the qualification it leads to falls in line with commercial requirements. In addition, ensure that your training suits you, your personality and abilities. Whether you're hoping to be a whiz with office user skills, or would like to achieve professional qualifications in IT, there are easy to follow courses and support to give you the chance you've been looking for. - Networking Training Providers - News - By: Jason Kendall
These days, many workplaces could not function efficiently if it weren't for support workers fixing PC's and networks, while giving advice to users each and every day. Our country's need for larger numbers of skilled and qualified individuals is growing, as we turn out to be consistently more dependent upon computers in today's environment. - Computer Support Training - Options - By: Jason Kendall
A very small number of men and women in this country are claiming to be happy in their job. The vast majority of course won't do a thing. The fact that you've got this far if nothing else suggests that you know it's time to make a change. - Choosing an MCSA in the UK Examined - By: Jason Kendall
Whether you're just about to get started, or a professional ready to gain acknowledged certifications, there are interactive MCSA (Microsoft Certified Systems Administrator) study programs that teach both entry levels. For a newcomer to the world of computers, it's likely to be vital to have some coaching prior to getting into your four Microsoft Certified Professional exams (MCP's) that are required to pass the MCSA. Find a training provider that can tailor your studying to fit your requirements - one who will guide you to guarantee that you make the right choices. - Computer Training in Cisco CCNA Clarified - By: Jason Kendall
Training in Cisco is fundamentally for those who wish to understand and work with routers and network switches. Routers join up computer networks over the internet or lines dedicated for that purpose. We'd recommend that your first course should be your CCNA. It's not advisable to launch directly into a CCNP as it is very advanced - and you need to work up to it before you take this on. - Microsoft SQL Computer Training In The UK Explained - By: Jason Kendall
Everybody is busy these days, and most often should we have cause to advance our future prospects, getting educated outside of working hours is our best way forward. Certified training from Microsoft can fill that gap. You might like to find a training advisor, who could offer counsel on which job role would suit you, and what sort of duties are suitable for somebody with your abilities and personal preferences. Be sure your course is matched to your ability level and skills. A quality company will always guarantee that the training is purpose built for the career you want to get into. - Thinking About Web Design Courses Uncovered - By: Jason Kendall
If you're considering a web design career, then you need training in Adobe Dreamweaver. We also advise that students get an in-depth understanding of the entire Adobe Web Creative Suite, which incorporates Flash and Action Script, to be able to facilitate Dreamweaver professionally as a web designer. Having such skills can lead to becoming an ACP (Adobe Certified Professional) or an ACE (Adobe Certified Expert). - Home Based CompTIA A Plus Training - Insights - By: Jason Kendall
CompTIA A + has a total of four exams and study sections, but you only need to get your exams in 2 of them to qualify for your A+. For this reason, a great number of colleges simply offer two. Yet learning about all 4 will help you to build a far greater perspective of it all, something you'll discover is a Godsend in the commercial world. - MCSE Career Retraining - News - By: Jason Kendall
Are you toying with the idea of doing an MCSE? Then it's likely that you'll fall into one of the following categories: You're currently an IT professional and you should formalise your skills with an MCSE. In contrast this could be your first step into the computer workplace, and your research tells you that there are many opportunities for qualified people. - Home Study Adobe Web Design Training Examined - By: Jason Kendall
Should you be considering getting into the web design industry, studying Adobe Dreamweaver is a fundamental criteria to achieve professional credentials that are globally recognised. To utilise Dreamweaver commercially as a web designer, an in-depth and thorough understanding of the complete Adobe Web Creative Suite (which includes Flash and Action Script) is in our opinion essential.
