Professional Documents
Culture Documents
CA - Ex - S2M04 - Distance Vector Routing Protocols - PPT (Compatibility Mode)
CA - Ex - S2M04 - Distance Vector Routing Protocols - PPT (Compatibility Mode)
CA - Ex - S2M04 - Distance Vector Routing Protocols - PPT (Compatibility Mode)
Objectives
Identify the characteristics of distance vector routing protocols. Describe the network discovery process of distance vector routing protocols using Routing Information Protocol (RIP). Describe the processes to maintain accurate routing tables used by distance vector routing protocols. Identify the conditions leading to a routing loop and explain the implications for router performance. Recognize that distance vector routing protocols are in use today
Routing Information Protocol (RIP): RFC 1508 Hop count is used as the metric Maximum hop count is 15 Routing updates are broadcast (ver1) or multicast (ver2) every 30 seconds
Distance Vector Routing Protocols Interior Gateway Routing Protocol (IGRP) Proprietary protocol developed by Cisco. Bandwidth, delay, load and reliability are used to create a composite metric. Routing updates are broadcast every 90 seconds, IGRP is the predecessor of EIGRP and is now obsolete
Enhanced Interior Gateway Routing Protocol (EIGRP) It can perform unequal cost load balancing. It uses Diffusing Update Algorithm (DUAL) to calculate the shortest path. Routing updates are sent only when there is a change in the topology.
H c vi n m ng Bch Khoa - Website: www.bkacad.com 8
The Meaning of Distance Vector: a router using distance vector routing protocols knows 2 things: 1. Distance to final destination 2. Vector or direction traffic should be directed Routers using distance vector routing are not aware of the network topology. The router knows only: 1. The direction or interface in which packets should be forwarded 2. The distance or how far it is to the destination network
10
1.Periodic updates 2.Neighbors: Routing by rumor 3.Broadcast updates 255.255.255.255 4.Entire routing table is included with routing update
H c vi n m ng Bch Khoa - Website: www.bkacad.com 11
Animation 4.1.2.2
12
14
15
Animation 4.1.4.2
H c vi n m ng Bch Khoa - Website: www.bkacad.com 16
Network Discovery
17
Cold Start
Router initial start up After a cold start and before the exchange of routing information, the routers initially discover their own directly connected networks and subnet masks.
Animation 4.2.1.1
18
10.1.0.0
10.2.0.0
10.3.0.0
10.4.0.0
10.4.0.0
2
H c vi n m ng Bch Khoa - Website: www.bkacad.com
10.1.0.0
2
20
Convergence
22
23
24
25
26
RIP Timers
Update Invalid
30 secs Update and Invalid timers are then reset. 180 secs - Invalid timer expires, route now
unreachable but still in routing table until flush timer expires. Holddown timer of 180 sec begins.
Holddown Flush
240 secs
Route will now be removed from the routing table.
Invalid Timer. If an update has not been received to refresh an existing route after 180 seconds (the default), the route is marked as invalid by setting the metric to 16. The route is retained in the routing table until the flush timer expires. Flush Timer. By default, the flush timer is set for 240 seconds, which is 60 seconds longer than the invalid timer. When the flush timer expires, the route is removed from the routing table. Holddown Timer. This timer stabilizes routing information and helps prevent routing loops during periods when the topology is converging on new information. Once a route is marked as unreachable, it must stay in holddown long enough for all routers in the topology to learn about the unreachable network. By default, the holddown timer is set for 180 seconds.
H c vi n m ng Bch Khoa - Website: www.bkacad.com 28
Bounded Updates: EIGRP EIRPG routing updates are 1. Partial updates 2. Triggered by topology changes 3. Bounded: meaning the propagation of partial updates are automatically bounded so that only those routers that need the information are updated. 4. Non periodic
29
Triggered Updates
Conditions in which triggered updates are sent: 1. An interface changes state 2. A Route becomes unreachable 3. A Route is placed in routing table
Animation 4.3.3
30
Triggered Updates
Two problems: 1. Packets containing the update message can be dropped or corrupted by some link in the network. 2. The triggered updates do not happen instantaneously. It is possible that a router that has not yet received the triggered update will issue a regular update at just the wrong time, causing the bad route to be reinserted in a neighbor that had already received the triggered update.
H c vi n m ng Bch Khoa - Website: www.bkacad.com 31
Random Jitter
Synchronized updates: a condition where multiple routers on multi access LAN segments transmit routing updates at the same time. Problems: Bandwidth consumption Packet collisions Solution: used of random variable called RIP_JITTER, 0% to 15% of the specified update interval (25 to 30 seconds for the default 30-second interval)
H c vi n m ng Bch Khoa - Website: www.bkacad.com 32
Random Jitter
Animation 4.3.4.1
33
Routing Loop
34
35
Routing loops may be caused by: 1. Incorrectly configured static routes 2. Incorrectly configured route redistribution 3. Slow convergence 4. Incorrectly configured discard routes
Animation 4.4.1.1
H c vi n m ng Bch Khoa - Website: www.bkacad.com 36
Routing loops can create the following conditions: 1. Excess use of bandwidth 2. CPU resources may be strained 3. Network convergence is degraded 4. Routing updates may be lost or not processed in a timely manner
Animation 4.4.1.1
H c vi n m ng Bch Khoa - Website: www.bkacad.com 37
The Solutions
Lab 4.4.1.2
39
Count to Infinity
Animation 4.4.2.1
H c vi n m ng Bch Khoa - Website: www.bkacad.com 40
Setting a maximum
Distance Vector routing protocols set a specified metric value to indicate infinity Once a router counts to infinity it marks the route as unreachable
41
Setting a maximum
42
Holddown timers
1. A router receives an update from a neighbor indicating that a network that previously was accessible is now no longer accessible.
45
Holddown timers
2. The router marks the network as possibly down and starts the holddown timer.
46
Holddown timers
3. If an update with a better metric for that network is received from any neighboring router during the holddown period, the network is reinstated and the holddown timer is removed.
47
Holddown timers
4. If an update from any other neighbor is received during the holddown period with the same or worse metric for that network, that update is ignored. Thus, more time is allowed for the information about the change to be propagated.
48
Holddown timers
5. Routers still forward packets to destination networks that are marked as possibly down. This allows the router to overcome any issues associated with intermittent connectivity. If the destination network truly is unavailable and the packets are forwarded, black hole routing is created and lasts until the holddown timer expires.
49
A router should not advertise a network through the interface from which the update came.
Animation 4.4.5.1
50
Route poisoning is used to mark the route as unreachable in a routing update that is sent to other routers. Split horizon with poison reverse: The rule states that once a router learns of an unreachable route through an interface, advertise it as unreachable back through the same interface Animation 4.4.6.1 Animation 4.4.6.2
H c vi n m ng Bch Khoa - Website: www.bkacad.com 51
IP & TTL
Purpose of the TTL field The TTL field is found in an IP header and is used to prevent packets from endlessly traveling on a network
52
IP & TTL
How the TTL field works TTL field contains a numeric value The numeric value is decreased by one by every router on the route to the destination. If numeric value reaches 0 then Packet is discarded
53
54
55
RIP
56
RIP
RIPv2 introduced the following improvements to RIPv1: 1. Includes the subnet mask in the routing updates, making it a classless routing protocol. 2. Has authentication mechanism to secure routing table updates. 3. Supports variable length subnet mask (VLSM). 4. Uses multicast addresses instead of broadcast. 5. Supports manual route summarization.
57
EIGRP
Animation 4.5.1.1
H c vi n m ng Bch Khoa - Website: www.bkacad.com 59
Summary
60
Q&A
61
Q&A
62
Q&A
63
Q&A
64
Q&A
66