Академический Документы
Профессиональный Документы
Культура Документы
Determining IP Routes
Introducing Routing
ICND v2.23-2
What Is Routing ?
Routing table
Routing Protocols
Static Route a route (path) that a network administrator enters into the router manually
Dynamic Route a route (path) that a network routing protocol discovers automatically and adjusted when topology changes
6
Routing Protocols
Static
Direct connected Static Default route route IGP Distance vector (RIPv1 , IGRP)
Dynamic
EGP (EGP , BGP) Hybrid (EIGRP , RIPv2)
An autonomous system is a collection of networks under a common administrative domain. IGPs operate within an autonomous system. EGPs connect different autonomous systems.
8
Administrative Distance
it is a value between ( 0 255 ) that reflects the truthfulness of routing protocol (the best protocol has the least admin. distance)
10
11
C 10.0.0.0 C 11.0.0.0
C 11.0.0.0 C 12.0.0.0
C 12.0.0.0 C 13.0.0.0
12
Internet
12.0.0.1/8 12.0.0.2/8
192.168.1.0
S0 12.0.0.2
13
OR
192.168.1.0
Internet
S0 12.0.0.1/8 12.0.0.2/8
12.0.0.1
14
C S*
15
16
12.0.0.0
13.0.0.0
11.0.0.0 10.0.0.0
17
Routing loops
- when network 10.0.0.0 fails , router A will mark its metric by 16 (a max. hop count value to avoid counting to infinity) and send its routing table to B after the periodic interval. - before B sends its periodic update to C , router C sent its routing table to B containing a path to 10.0.0.0 with a better metric so B think that 10.0.0.0 can be reached by C while C depends on B for that so loop occurs .
10.0.0.0
10.0.0.0
E0
16 down
10.0.0.0 10.0.0.0
S0 S1
16 3
10.0.0.0
S0
2
18
10.0.0.0
E0
16 down
10.0.0.0
S0
16
10.0.0.0
S0
19
Poison reverse
10.0.0.0
E0
16 down
10.0.0.0
S0 down
10.0.0.0
S0
20
10.0.0.0
21
22
RIP v1
- distance vector routing protocol - symbol in routing table is R - admin. Distance = 120 - metric is hop count , metric 16 means unreachable - full routing tables are flooded in the network till convergence occurs (use Bellman Ford algorithm) - after convergence , periodic updates are sent every 30 seconds , hold down timer = 180 sec - at change , triggered update is sent - support load balancing if many paths to the same network exist with an equal metric (maximum is six paths , default = 4) 24 - classful
RIP Configuration
Router(config)#router rip
25
26
27
28
29
IGRP
- distance vector routing protocol - Cisco proprietary - symbol in routing table is I - admin. Distance is 100 - metric is composite (bandwidth , delay by default) while (load , reliability , MTU) can be used , maximum hop count is 255 (more scalable) - full routing tables are flooded in the network till convergence occurs (use Bellman Ford algorithm) - after convergence , periodic updates are sent every 90 seconds , hold down timer = 270 sec - at change , triggered update is sent - support load balancing if many paths to the same network exist even if they have unequal metric (maximum is six paths , default = 4) - classful 30
Configuring IGRP
Router(config-router)#network network-number
31
32
33
RouterA#debug ip igrp events IGRP event debugging is on RouterA# 00:23:44: IGRP: sending update to 255.255.255.255 via Ethernet0 (172.16.1.1) 00:23:44: IGRP: Update contains 0 interior, 2 system, and 0 exterior routes. 00:23:44: IGRP: Total routes in update: 2 00:23:44: IGRP: sending update to 255.255.255.255 via Serial2 (10.1.1.1) 00:23:45: IGRP: Update contains 0 interior, 1 system, and 0 exterior routes. 00:23:45: IGRP: Total routes in update: 1 00:23:48: IGRP: received update from 10.1.1.2 on Serial2 00:23:48: IGRP: Update contains 1 interior, 1 system, and 0 exterior routes. 00:23:48: IGRP: Total routes in update: 2