Académique Documents
Professionnel Documents
Culture Documents
Static Routes
A static route exists in the routing table when the administrator uses the ip route command to add a route to the routing table Static routes are used when
The internetwork is small, may seldom change, or has no redundant links
Static Routes
The routers need to use dial backup to dynamically call another router when a leased line fails An enterprise internetwork has many small branch offices, each with only one possible path to reach the rest of the internetwork An enterprise wants to forward packets to hosts in the Internet, not to hosts in the enterprise network
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
Dynamic Routes
A dynamic route exists in the routing table
When a routing protocol is activated on the router When other routers running the same routing protocol talk to each other
Then the routes know by the other routers are added to the routing table as dynamic routes
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
10
11
12
13
14
15
16
17
18
Distance Vector Standard HELLO 1 RIP V11 RIP V2 1 No Longer Used Proprietary IGRP1 EIGRP
19
No Longer Used
HELLO
The original NSFnet backbone consisted of six Digital Equipment Corporation LSI-11 computers located across the United States These computers ran special software colloquially called fuzzball that enabled them to function as routers These fuzzball routers connected various networks to the NSFnet and the ARPAnet
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
20
No Longer Used
The six NSFnet routers worked as an autonomous system and like any AS, used an interior routing protocol to exchange routing information The routing protocol used in these early routers was called the HELLO protocol It was developed in the early 1980s and documented in RFC 891 published December 1983
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
21
No Longer Used
The name HELLO is capitalized, but is not an acronym; it simply refers to the word hello, since the protocol uses messages that are sort of analogous to the routers talking to each other The HELLO protocol uses a distance-vector algorithm, like the RIP Unlike RIP, HELLO does not use hop count as a metric
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
22
No Longer Used
Instead, it attempts to select the best route by assessing network delays and choosing the path with the shortest delay One of the key jobs of routers using HELLO is to compute the time delay to send and receive datagrams to and from its neighbors On a regular basis, routers exchange HELLO messages that contain clock and timestamp information
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
23
No Longer Used
By comparing the clock value and timestamp in the message to its own clock using a special algorithm, a receiving device can compute an estimate for the amount of time it takes to send a datagram over the link HELLO messages also contain routing information in the form of a set of destinations that the sending router is able to reach and a metric for each
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
24
No Longer Used
However in this case, the metric is an estimate of the round-trip delay cost for each destination This information is added to the computed round-trip delay time for the link over which the message was received, and used to update the receiving router's own routing table
25
No Longer Used
RIP Version1
This version of RIP only supports FLSM based on address classes As address classes no longer exist version 1 is useless
26
No Longer Used
IGRP
With the deployment of EIGRP and OSPF there is no longer any need for IGRP Therefore, no one uses it any longer
27
No Longer Used
NLSP
NLSP - NetWare Link Services Protocol is a link-state routing protocol in the Novell NetWare architecture NLSP is based on the OSI IS-IS or Intermediate System-to-Intermediate System protocol and was designed to replace IPX RIP and SAP, Novell's original routing protocols that were designed for small scale internetworks
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
28
No Longer Used
Compared to RIP and SAP, NLSP provides improved routing, better efficiency, and scalability As no one uses NetWare anymore, no one uses NLSP any longer
29
No Longer Used
EGP
EGP Exterior Gateway Protocol was the first routing protocol used to allow autonomous systems to talk to each other It was developed in 1982 by Eric C. Rosen and David L. Mills It was first formally described in RFC 827 and formally specified in RFC 904 in 1984 EGP is no longer used
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
30
No Longer Used
BGP - Border Gateway Protocol is now the accepted standard for Internet routing and has essentially replaced the more limited EGP
31
32
33
34
35
Intradomain v Interdomain
Some routing protocols work only within domains Others work between domains A domain in these terms is an autonomous system, which is a group of routers under a single administrative control
36
Intradomain v Interdomain
The nature of these two types of routing protocols is different In that the intradomain routing protocols are concerned with talking to only their close relatives Whereas interdomain routing protocols are concerned with talking to strangers
37
Intradomain v Interdomain
Using these two types enables the organization to control the type and amount of outside traffic that comes in and goes out of its network The terms are also expressed as interior intradomain and exterior interdomain
38
Intradomain v Interdomain
39
40
41
42
43
44
45
46
47
48
49
50
Dijkstra Algorithm
Link-state protocols use the Dijkstra SPF Shortest Path First algorithm to calculate and add routes to the IP routing table The SPF algorithm calculates all the possible routes to each destination network, and the cumulative metric for the entire path
51
Dijkstra Algorithm
Each router views itself as the starting point, and each subnet as the destination, and use the SPF algorithm to look at the LSDB - Link State Database to create a roadmap and pick the best route to each subnet
52
53
54
55
56
57
Static Routes
To use static routes an entry is made directly into the router's routing table from the command line of the router's operating system For example, to make such an entry into the routing table of a Cisco router the following is done
58
Static Routes
At the enable level
routername#config terminal routername(config)#ip route 192.168.1.0 255.255.255.224 S0 routername#CTRL Z
This is read as follows The command is ip route The IP address is the address to be entered into the table
59
Static Routes
Next is a subnet mask to identify the network portion of the IP address Last is the address of the directly connected interface of the next hop router In this case out serial port 0
The above is done for all routes at each router This method is used for two main reasons
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
60
Static Routes
The first is it is all that is needed for a private network in a hub and spoke arrangement The second reason is security If no information is exchanged with any outside entity, it is less likely that anyone will be able to determine the extent and layout of your network
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
61
62
63
64
65
66
67
Dynamic Routes
Unlike static routes, which point one way and only one way, a dynamic routing protocol can compensate for changes in the network without someone having to go to the command line of each router and make the change There are only a few major routing protocols that can do this work for you
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
68
Dynamic Routes
Of course all the routers must speak the same language for this to work Recall as well that dynamic routing protocols fall into two general classes
Distance Vector Link State
69
70
71
72
EIGRP
EIGRP is used by Cisco only operations
Copyright 2009 Kenneth M. Chipps Ph.D. www.chipps.com
73
74