Showing posts with label Horizon. Show all posts
Showing posts with label Horizon. Show all posts

Monday, November 1, 2010

Cisco CCNA / CCNP Certification Exam Lab: Frame Relay Split Horizon and subinterfaces

Gather your Cisco CCNA and CCNP is a statement hard, and one of them is that you quickly learn that it is usually more than one way, things with Cisco routers - and while this is generally a good thing, it's better to know the pros and cons of all options when it comes to days of testing and working on production networks. Working with Frame Relay subinterfaces and split horizon is just such a situation.

One reason for using subinterfaces is to circumvent the ruleSplit Horizon. Do you remember your CCNA studies requiring Split Horizon, has announced that a path can not be ruled out, the same interface that has been learned in the first place. In this example, the hub of R1 and R2 and R3 are the spokes. All three routers using their physical interfaces for frame relay connections, and run RIPv2 172.12.123.0 / 24, each router is advertising a loopback interface, the number of routers for eachOctet.

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) # ip 172.12.123.2 122 broadcast frame map

R1 (config-if) # ip 172.12.123.3 123 broadcast frame map

R1 (config-if) # no shutdown

R2 (config) # int s0

R2 (config-if) # encap frame

R2 (config-if) # no frame inversion

R2 (config-if) # frame map ip 172.12.123.1 221 broadcast

R2 (config-if) # frame map ip 172.12.123.3 221Mission

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 inversion

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 isSubnets, 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 path for both cycles, but did not speak a route to the other spoke of loopback. This is becauseSplit horizon prevents the advertisement of a network via Serial0 when the route was learned on Serial0, R1 to start.

We have two options, one of which paid off in the horizon on the interface. This is the desired effect in our small network, disable the split horizon is not a good idea and should be avoided whenever possible. We have no intention of doing so in the lab, but here is the syntax to do this:

R1 (config) # interface Serial0

R1 (config-if) # no ipSplit horizon

A better solution is to configure subinterfaces on R1. The IP address must be revised, but that is not a problem here. R1 and R2 use to communicate 172.12.123.0 / 24, while R1 and R3 to use 172.12.13.0 / 24. Interface Serial0 R3 must be numbered, and then 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 ipAddress

R1 (config-if) # interface serial0.12 multipoint

R1 (config-if) # ip address 172.12.123.1 255.255.255.0

R1 (config-if) # ip 172.12.123.2 122 broadcast frame map

R1 (config-if) # interface serial0.31 point-to-point

R1 (config-if) # ip address 172.12.13.1 255.255.255.0

R1 (config-if) # 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) # ip framework map172.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 statement setting accessible map the remote IP address and local DLCI. Do not forget the option of broadcasting!

Frame Show map shows us that all the static mappingR1 and running. Note: The "static" version, these mappings are a consequence of their use are part of the map command. Pings are not visible, 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 network 172.12.13.0 / 24R1 and R3 was added to the configuration of RIP, R2 and R3 are now mutually loopback network in its RIP routing table.

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

As you turn split horizon off is a way to reach a total of IP connectivity, may have other undesirable results. The use of subinterfaces is an effective way to see the rays so that the loopback network hub.

Wednesday, September 29, 2010

Cisco CCNA Exam Tutorial: Split Horizon and the hub-and-spoke networks

To be successful CCNA exam, you should know better what Split Horizon is the way to turn it off and when to turn it off. Knowing when the horizon is in turn cleaved important in production networks, because it spoke network is to have incomplete routing tables on the one-to-hub and spokes.

Split Horizon is available for one simple reason - routing loop prevention. The rule of split horizon states that a router does not send an advertisement for a way out of the same interface arose. Split Horizon is standard on all interfaces running RIP, IGRP, EIGRP, e.

serve this CCNA tutorial, R1 and R2 and R3 as a hub, the spokes will be. We first configure EIGRP on the network 172.16.123.0 / 24, the network between the three routers.

R1 # conf t

R1 (config) # router EIGRP 100

R1 (config-router) # no auto-summary

R1 (config-router) # network 172.12.123.0 0.0.0.255

R2 # conf t

R2 (config) #> Router EIGRP 100

R2 (config-router) # no auto-summary

R2 (config-router) # network 172.12.123.0 0.0.0.255

R3 # conf t

R3 (config) # router EIGRP 100

R3 (config-router) # no auto-summary

R3 (config-router) # network 172.12.123.0 0.0.0.255

Running EIGRP neighbor show ip R1 shows that the districts of R2 and R3 on.

R1 # show ip EIGRP neighbor

IP-EIGRP neighbors process 100

H AddressInterface Hold Uptime SRTT RTO Q Seq Type

(Sec) (ms) Cnt Num

SE0 172.12.123.3 1 / 0 11 00:02:45 1 5000 0 1

SE0 172.12.123.2 0 / 0 161 00:03:01 1 5000 0 1

Each router now advertise its loopback address via EIGRP.

R1 # conf t

R1 (config) # router EIGRP 100

R1 (config-router) # network 1.1.1.00.0.0.255

R2 # conf t

R2 (config) # router EIGRP 100

R2 (config-router) # network 2.2.2.0 0.0.0.255

R3 # conf t

R3 (config) # router EIGRP 100

R3 (config-router) # network 3.3.3.0 0.0.0.255

Running EIGRP show ip route each router shows that R1 has a loopback path for both R2 and R3. R1 R2 and R3 only see the loopback address and not against each other. Why?

R1 # show ip route EIGRP

2.0.0.0/24 is subnetted, 1Subnets

D 2.2.2.0 [90/2297856] via 172.12.123.2, 00:03:19, Serial0 / 0

3.0.0.0/24 is subnetted, 1 subnets

D 3.3.3.0 [90/2297856] via 172.12.123.3, 00:03:04, Serial0 / 0

R2 # show ip route EIGRP

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 172.12.123.1, 00:03:40, Serial0/0.123

R3 # show ip route EIGRP

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 172.12.123.1, 00:05:17, Serial0/0.31

EIGRPSplit Horizon default to prevent routing loops. In this laboratory, however, prevents full network access. R2 and R3 both form neighbor relationship with R1 physical serial interface. R2 advertises its loopback address to R1 serial port, as well as R3. Split Horizon is not a return path to receive for the same interface that was advertised to be. This prevents the R1 R2 R3 from advertising to loopback, loopback R3 or R2.

Split Horizon must be disabled to allownetwork to reach full capacity in this workshop. These are not IP split-horizon eigrp 100 on R1 the serial interface. When split horizon is disabled, will result in the nearby
Relationships fail, and then restore. Run route show ip eigrp 100 on both R2 and R3. The appropriate path for the remote loopback address will now appear.

R1 # conf t

R1 (config) # int Serial0

R1 (config-if) # no ip split-horizon eigrp 100

10:02:23:% DUAL-5-NBRCHANGE: IP-EIGRP 100: NeighborAmended Split Horizon: 172.12.123.2 (Serial0 / 0) down

10:02:23:% DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.12.123.3 (Serial0 / 0) down: split horizon changed

10:02:27:% DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.12.123.3 (Serial0 / 0) ip: new district

10:02:54:% DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 172.12.123.2 (Serial0 / 0) ip: new district

R2 # show ip route EIGRP

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 172.12.123.1, 00:00:06,Serial0/0.123

3.0.0.0/24 is subnetted, 1 subnets

D 3.3.3.0 [90/2809856] via 172.12.123.1, 00:00:06, Serial0/0.123

R3 # show ip route EIGRP

1.0.0.0/24 is subnetted, 1 subnets

D 1.1.1.0 [90/2297856] via 172.12.123.1, 00:00:12, Serial0/0.31

2.0.0.0/24 is subnetted, 1 subnets

D 2.2.2.0 [90/2809856] via 172.12.123.1, 00:00:12, Serial0/0.31

Disabling split horizon should be done with caution, but know when and where to do, shows thatYou really understand how this technology works - and what a big step on the way to earn your CCNA's!