Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
BRKRST-1301 14444_04_2008_c1
Cisco Public
What is Routing?
10.120.2.0 172.16.1.0
S0
Exit Interface E0 S0
Routed Protocol: IP
Static Route
Uses a route that a network administrator enters into the router manually
Dynamic Route
Uses a route that a network routing protocol adjusts automatically for topology or traffic changes
BRKRST-1301 14444_04_2008_c1
Cisco Public
Static Routes
Stub Network
172.16.1.0 SO
Network
A 172.16.2.2
172.16.2.1
B B
Configure unidirectional static routes to and from a stub network to allow communications to occur.
BRKRST-1301 14444_04_2008_c1
Cisco Public
BRKRST-1301 14444_04_2008_c1
Cisco Public
172.16.1.0 SO
Network
172.16.2.2
172.16.2.1
B B
Default Routes
Stub Network
172.16.1.0 SO
Network
172.16.2.2
172.16.2.1
B B
This route allows the stub network to reach all known networks beyond router A.
BRKRST-1301 14444_04_2008_c1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
172.16.1.0
E0
S0
Destination Network
Exit Interface
172.17.3.0
E0 S0 S1
10
I need to send a packet to Network E. Both router B and C will get it there. Which route is best?
E Router C Router D
BRKRST-1301 14444_04_2008_c1
Cisco Public
11
Distance Vector
C
B A D
Hybrid Routing
B C D A
Link State
BRKRST-1301 14444_04_2008_c1
Cisco Public
12
Routing Table
Routing Table
Routing Table
Routing Table
Pass periodic copies of routing table to neighbor routers and accumulate distance vectors
BRKRST-1301 14444_04_2008_c1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
13
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
E0
BRKRST-1301 14444_04_2008_c1
Cisco Public
14
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table
10.2.0.0
10.3.0.0 10.4.0.0
S0
S1 S1
0
0 1
10.3.0.0
10.4.0.0 10.2.0.0
S0 E0 S0
0
0 1
0
1
Routers discover the best path to 10.1.0.0 S0 1 destinations from each neighbor
BRKRST-1301 14444_04_2008_c1
Cisco Public
15
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table
10.2.0.0
10.3.0.0 10.4.0.0
S0
S1
0
0 1
10.3.0.0
10.4.0.0 10.2.0.0
S0 E0 S0 S0
0
0 1 2
S0
S0 S0
S1 the best path to Routers discover 10.1.0.0 from 1 neighbor 10.1.0.0 S0 each destinations
BRKRST-1301 14444_04_2008_c1
Cisco Public
16
T1
Reliability MTU
T1 B
BRKRST-1301 14444_04_2008_c1
Cisco Public
17
19
BRKRST-1301 14444_04_2008_c1
Cisco Public
20
BRKRST-1301 14444_04_2008_c1
Cisco Public
21
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0
10.2.0.0 10.3.0.0 10.4.0.0
E0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 S1
S0
S0
Each node maintains the distance from itself to each possible 2 1 2 10.1.0.0 S0 S0 10.1.0.0 S0 destination network
BRKRST-1301 14444_04_2008_c1
Cisco Public
22
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 S1
BRKRST-1301 14444_04_2008_c1
Cisco Public
23
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 10.3.0.0 10.4.0.0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 10.1.0.0 S1 S1
S0
S0 S0
1 1
10.1.0.0
Router C concludes that the best path to network 10.4.0.0 is through Router B
BRKRST-1301 14444_04_2008_c1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
24
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 S1 10.1.0.0 S0
3 1
10.1.0.0 S0
Router A updates its table to reflect the new but erroneous hop count
BRKRST-1301 14444_04_2008_c1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
25
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 10.1.0.0 S1 S0
Packets for network 10.4.0.0 bounce between routers A, B, and C Hop count for network 10.4.0.0 counts to infinity
6
1
10.1.0.0 S0
BRKRST-1301 14444_04_2008_c1
Cisco Public
26
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 10.1.0.0 S1 S0
S0
S0 S0 S0
0 16 1 2
16 1
16
BRKRST-1301 14444_04_2008_c1
Cisco Public
27
10.2.0.0 A
S0
10.3.0.0 B
S1
10.4.0.0
S0
S0
E0
Routing Table
Routing Table 0 0
10.1.0.0
10.2.0.0 10.3.0.0 10.4.0.0
E0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 10.1.0.0 S1 E1
S0
S0 S0
1 2
10.1.0.0
It is never useful to send information about a route back in the direction from which the original packet came
BRKRST-1301 14444_04_2008_c1
Cisco Public
28
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Routing Table
Routing Table 0 0
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 S1 10.1.0.0 E1
S0
1 2
S0 Infinity 1 S0 S0 2
Routers set the distance of routes that have gone down to infinity
BRKRST-1301 14444_04_2008_c1
Cisco Public
29
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Poison Reverse
Routing Table Routing Table 0 0 1 Routing Table 0 0
Possibly Down
10.1.0.0 E0
10.2.0.0 S0 10.3.0.0 10.4.0.0 S0 S0
10.2.0.0 S0
10.3.0.0 S1 10.4.0.0 S1 10.1.0.0 E1
S0
S0 Infinity 1 S0 S0 2
BRKRST-1301 14444_04_2008_c1
Cisco Public
30
10.1.0.0
E0
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
Router keeps an entry for the network possibly down state, allowing time for other routers to recompute for this topology change
BRKRST-1301 14444_04_2008_c1
Cisco Public
31
10.1.0.0
E0
10.2.0.0 A
S0 S0
10.3.0.0 B
S1 S0
10.4.0.0 C
E0
BRKRST-1301 14444_04_2008_c1
Cisco Public
32
RIP Timers
1. 2. 3. Update Timer Broadcast the routing table to all it neighbour for every 30 seconds. Invalidation Timer It is either 3 or 6 times the Update Timer. If no updates are received for a particular route and that route is marked as Invalid route. Holddown Timer The Invalid route is not removed from the routing table it will be marked as possibly down on the routing table. If it receives the route with the better metric before the hold down timer expiry then it will accept or it will remove.
BRKRST-1301 14444_04_2008_c1
Cisco Public
34
Hybrid Routing
Choose a routing path based on distance vectors Balanced Hybrid Routing Converge rapidly using change-based updates
35
Network 172.16.0.0
RIP
Router configuration
Select routing protocols Specify networks or interfaces RIP
IGRP, RIP
IGRP
Network 160.89.0.0
Network 172.30.0.0
BRKRST-1301 14444_04_2008_c1
Cisco Public
36
37
RIP Overview
19.2 kbps T1 T1 T1
38
RIP Configuration
Router(config)#router rip
Starts the RIP routing process
Router(config-router)#network network-number Selects participating attached networks The network number must be a major classful network number
BRKRST-1301 14444_04_2008_c1
Cisco Public
39
S3
S3
E0
192.168.1.0
A 172.16.1.1 10.1.1.1
BRKRST-1301 14444_04_2008_c1
Cisco Public
40
A 172.16.1.1 10.1.1.1
RouterA#sh ip protocols Routing Protocol is "rip" Sending updates every 30 seconds, next due in 0 seconds Invalid after 180 seconds, hold down 180, flushed after 240 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Redistributing: rip Default version control: send version 1, receive any version Interface Send Recv Key-chain Ethernet0 1 1 2 Serial2 1 1 2 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 120 00:00:10 Distance: (default is 120)
BRKRST-1301 14444_04_2008_c1 2008 Cisco Systems, Inc. All rights reserved. Cisco Public
41
A 172.16.1.1 10.1.1.1
RouterA#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR T - traffic engineered route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets 172.16.1.0 is directly connected, Ethernet0 10.0.0.0/24 is subnetted, 2 subnets 10.2.2.0 [120/1] via 10.1.1.2, 00:00:07, Serial2 10.1.1.0 is directly connected, Serial2 192.168.1.0/24 [120/2] via 10.1.1.2, 00:00:07, Serial2
Cisco Public
C R C R
BRKRST-1301 14444_04_2008_c1
42
A 172.16.1.1 10.1.1.1
RouterA#debug ip rip RIP protocol debugging is on RouterA# 00:06:24: RIP: received v1 update from 10.1.1.2 on Serial2 00:06:24: 10.2.2.0 in 1 hops 00:06:24: 192.168.1.0 in 2 hops 00:06:33: RIP: sending v1 update to 255.255.255.255 via Ethernet0 (172.16.1.1) 00:06:34: network 10.0.0.0, metric 1 00:06:34: network 192.168.1.0, metric 3 00:06:34: RIP: sending v1 update to 255.255.255.255 via Serial2 (10.1.1.1) 00:06:34: network 172.16.0.0, metric 1
BRKRST-1301 14444_04_2008_c1
Cisco Public
43
Introduction to OSPF
Area 0
Area 2 Area 1
Open Standard Link State Protocol, Uses SPF algorithm Fast Convergence with triggered updates Classless protocol, supports VLSM and summarization Uses Cost as metric (Inverse Bandwidth)
BRKRST-1301 14444_04_2008_c1
Cisco Public
44
B C D
Link-State Packets Topological Database SPF Algorithm
Routing Table
45
Cisco Public
46
OSPF Terminology
g
BRKRST-1301 14444_04_2008_c1
Cisco Public
47
BRKRST-1301 14444_04_2008_c1
Cisco Public
48
Hello Protocol
It is the means by which neighbors are discovered. It advertises several parameters on which two routers must agree before they can become neighbors. Hello packets act as keepalives between neighbors. It ensures bi-directional communication between neighbors. It elects Designated Routers (DRs) and Backup Designated Routers (BDRs) on Broadcast and Nonbroadcast Multiaccess (NBMA) networks.
BRKRST-1301 14444_04_2008_c1
Cisco Public
49
Establishing Adjacency
BRKRST-1301 14444_04_2008_c1
Cisco Public
50
BRKRST-1301 14444_04_2008_c1
Cisco Public
51
BRKRST-1301 14444_04_2008_c1
Cisco Public
52
Areas are used to control when and how much routing information is shared across your network.
OSPF implements a two-layer hierarchy: the backbone (area 0) and areas off of the backbone (areas 165,535) Every area off the backbone must be connected to the backbone area.
BRKRST-1301 14444_04_2008_c1
Cisco Public
53
OSPF CONFIGURATION
BRKRST-1301 14444_04_2008_c1
Cisco Public
54
BRKRST-1301 14444_04_2008_c1
Cisco Public
55
BRKRST-1301 14444_04_2008_c1
Cisco Public
56
BRKRST-1301 14444_04_2008_c1
Cisco Public
57
BRKRST-1301 14444_04_2008_c1
Cisco Public
58
BRKRST-1301 14444_04_2008_c1
Cisco Public
59
show ip protocol
show ip route
show ip ospf interface shop ip ospf show ip ospf neighbor detail show ip ospf database
BRKRST-1301 14444_04_2008_c1
Cisco Public
60
EIGRP
1. 2. 3. 4. 5. 6. Characterstic of EIGRP Cisco properitary. Advanced Distance vector protocol. Claless routing protocol. Multiple network layer protocol support using PDM. Faster convergence. Equal and Unequal cost path load balancing.
7.
8.
BRKRST-1301 14444_04_2008_c1
Cisco Public
61
Hybrid Routing
Choose a routing path based on distance vectors Balanced Hybrid Routing Converge rapidly using change-based updates Share attributes of both distance-vector and link-state routing
BRKRST-1301 14444_04_2008_c1
Cisco Public
62
BRKRST-1301 14444_04_2008_c1
Cisco Public
63
BRKRST-1301 14444_04_2008_c1
Cisco Public
64
3.
4.
Advertise Distance The Distance between the Next hop router and the destination.
Successor Next Hop Router of the Best path.
5.
Feasible Successor Next Hop router fo the backup path for the Best route.
BRKRST-1301 14444_04_2008_c1
Cisco Public
65
BRKRST-1301 14444_04_2008_c1
Cisco Public
66
More Info
Topology table will have a maximum of six backup path for a successor route. It is for faster convergence. Active State - Recomputation Passive state No Re-computation
BRKRST-1301 14444_04_2008_c1
Cisco Public
67
6.
Note: 224.0.0.10 is the multicast address used by EIGRP packet types (Hello, Update and Query Packet)
BRKRST-1301 14444_04_2008_c1
Cisco Public
68
BRKRST-1301 14444_04_2008_c1
Cisco Public
69
4.
5. 6.
Reliability
MTU Note: Eigrp Metric = IGRP Metric * 256.
7.
8.
BRKRST-1301 14444_04_2008_c1
Cisco Public
70
Basic configuration
Conf t)#router eigrp <AS> -rtr)#network <Network ID> <WM>
BRKRST-1301 14444_04_2008_c1
Cisco Public
71
Load Balancing
Eigrp supports Equal cost path load balancing. Default is 4 and Maximum is 6. It also supports Unequal cost path load balancing using Variance command.
BRKRST-1301 14444_04_2008_c1
Cisco Public
72
BRKRST-1301 14444_04_2008_c1
Cisco Public
73
Summary
After completing this chapter, you should be able to perform the following tasks:
Determine when to use a static or dynamic route. Configure a static route on a Cisco Router.
BRKRST-1301 14444_04_2008_c1
Cisco Public
74
BRKRST-1301 14444_04_2008_c1
Cisco Public
75