Вы находитесь на странице: 1из 37

Introduction to Dynamic Routing Protocol

Routing Protocols and Concepts Chapter 3

Version 4.0

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Objectives


Describe the role of dynamic routing protocols and place these protocols in the context of modern network design. Identify several ways to classify routing protocols. Describe how metrics are used by routing protocols and identify the metric types used by dynamic routing protocols. Determine the administrative distance of a route and describe its importance in the routing process. Identify the different elements of the routing table.

 

 

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

 Dynamic routing protocols are usually used in larger networks to ease the administrative and operational overhead of using only static routes.  Typically, a network uses a combination of both a dynamic routing protocol and static routes.

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

 Dynamic routing protocols(1980s)  The first version of RIP was released in 1982, but some of the basic algorithms within the protocol were used on the ARPANET as early as 1969.  One of the earliest routing protocols was Routing Information Protocol (RIP). 

- RIP has evolved into a newer version RIPv2.

 To address the needs of larger networks, two advanced routing protocols were developed:

1.Open Shortest Path First (OSPF) and 2. Intermediate System-to-Intermediate System (IS-IS). Cisco developed Interior Gateway Routing Protocol (IGRP) and Enhanced IGRP (EIGRP), also used.
2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

The Role of Dynamic Routing Protocol(operation)


 -used to facilitate the exchange of routing information between routers.

- allow routers to dynamically share information about remote networks and automatically add this information to their own routing tables. - determine the best path to each network which is then added to the routing table. -One of the primary benefits to using a dynamic routing protocol is that routers exchange routing information whenever there is a topology change. This exchange allows routers to automatically learn about new networks and also to find alternate paths when there is a link failure to a current network.
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

 Comparison of static routing and Dynamic routing protocols:


STATIC require more administrative overhead. DYNAMIC require less administrative overhead. Expenses include CPU time and Network link bandwidth. Better choice

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Dynamic Routing Protocols


 Function(s) of Dynamic Routing Protocols:
Dynamically share information between routers. Automatically update routing table when topology changes. Determine best path to a destination.

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Dynamic Routing Protocols


 The purpose of a dynamic routing protocol is to:
Discover remote networks Maintaining up-to-date routing information Choosing the best path to destination networks Ability to find a new best path if the current path is no longer available

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

Dynamic Routing Protocols


 Components of a routing protocol
Datastructures Some routing protocols use tables and/or databases for its operations. This information is kept in RAM. Algorithm In the case of a routing protocol algorithms are used for facilitating routing information and best path determination Routing protocol messages These are messages for discovering neighbors and exchange of routing information

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

10

Dynamic Routing Protocols


 Advantages of static routing
It can backup multiple interfaces/networks on a router Easy to configure No extra resources are needed More secure

 Disadvantages of static routing


Network changes require manual reconfiguration Does not scale well in large topologies

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

11

 Dynamic Routing Advantages and Disadvantages  Dynamic routing advantages:  Administrator has less work maintaining the configuration when adding or deleting networks.  Protocols automatically react to the topology changes.  Configuration is less error-prone.  More scalable, growing the network usually does not present a problem.  Dynamic routing disadvantages:  Router resources are used (CPU cycles, memory and link bandwidth).  More administrator knowledge is required for configuration, verification, and troubleshooting.
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

12

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

13

Classifying Routing Protocols


 Dynamic routing protocols are grouped according to characteristics.  Examples include: RIP IGRP EIGRP OSPF IS-IS BGP

 Autonomous System is a group of routers under the control of a single authority.


2007 Cisco Systems, Inc. All rights reserved. Cisco Public

14

Classifying Routing Protocols


 Types of routing protocols:
Interior Gateway Protocols (IGP) Exterior Gateway Protocols (EGP)

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

15

Classifying Routing Protocols


 Interior Gateway Routing Protocols (IGP)
Used for routing inside an autonomous system & used to route within the individual networks themselves Examples: RIP, EIGRP, OSPF

 Exterior Routing Protocols (EGP)


Used for routing between autonomous systems Example: BGPv4 The metric used by the routing protocol RIP is hop count, which is the number of routers that a packet must traverse in reaching another network. OSPF uses bandwidth to determine the shortest path.

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

16

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

17

Classifying Routing Protocols


 IGP: Comparison of Distance Vector & Link State Routing Protocols
Distance vector Routes are advertised as vectors of distance & direction Incomplete view of network topology Generally, periodic updates Link state Complete view of network topology is created Updates are not periodic
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

18

 Interior Gateway Protocols (IGPs) can be classified as two types:  Distance vector routing protocols  Link-state routing protocols

Distance Vector Routing Protocol Operation


-Distance vector means that routes are advertised as vectors of distance and direction. -Distance is defined in terms of a metric such as hop count and direction is simply the next-hop router or exit interface. -Distance vector protocols typically use the Bellman-Ford algorithm for the best path route determination.  Some distance vector protocols periodically send complete routing tables to all connected neighbors.  In large networks, these routing updates can become enormous, causing significant traffic on the links.
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

19

Link-state Protocol Operation


 In contrast to distance vector routing protocol operation, a router configured with a link-state routing protocol can create a "complete view" or topology of the network by gathering information from all of the other routers.  To continue our analogy of sign posts, using a link-state routing protocol is like having a complete map of the network topology. .  A link-state router uses the link-state information to create a topology map and to select the best path to all destination networks in the topology.

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

20

Classifying Routing Protocols


1.Classful Routing Protocols
 Classful routing protocols do not send subnet mask information in routing updates.  The first routing protocols such as RIP, were classful.  This was at a time when network addresses were allocated based on classes, class A, B, or C.  A routing protocol did not need to include the subnet mask in the routing update because the network mask could be determined based on the first octet of the network address.  Classful routing protocols can still be used in some of today's networks, but because they do not include the subnet mask they cannot be used in all situations. Classful routing protocols cannot be used when a network is subnetted using more than one subnet mask, in other words classful routing protocols do not support variable length 21 subnet masks (VLSM).
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

 Classful routing protocols include RIPv1 and IGRP.  here are other limitations to classful routing protocols including their inability to support discontiguous networks. Classful routing protocols, discontiguous networks . 2.Classless Routing Protocols  Classless routing protocols include the subnet mask with the network address in routing updates.  Today's networks are no longer allocated based on classes and the subnet mask cannot be determined by the value of the first octet.  Classless routing protocols are required in most networks today because of their support for VLSM, discontiguous networks.

 Classless routing protocols are RIPv2, EIGRP, OSPF, IS-IS, BGP.

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

22

Classifying Routing Protocols

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

23

 Classful routing protocols


Do NOT send subnet mask in routing updates

 Classless routing protocols


Do send subnet mask in routing updates

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

24

Classifying Routing Protocols


 Convergence is defined as when all routers routing tables are at a state of consistency

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

25

Routing Protocols Metrics


 Metric
A value used by a routing protocol to determine which routes are better than others

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

26

Routing Protocols Metrics


 Metrics used in IP routing protocols
Bandwidth Cost Delay Hop count Load Reliability

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

27

Routing Protocols Metrics


 The Metric Field in the Routing Table  Metric used for each routing protocol
RIP - hop count IGRP & EIGRP Bandwidth (used by default), Delay (used by default), Load, Reliability IS-IS & OSPF - Cost, Bandwidth (Ciscos implementation)

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

28

Routing Protocols Metrics


 Load balancing
This is the ability of a router to distribute packets among multiple same cost paths

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

29

Administrative Distance of a Route


 Purpose of a metric
Its a calculated value used to determine the best path to a destination

 Purpose of Administrative Distance


Its a numeric value that specifies the preference of a particular route

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

30

Administrative Distance of a Route


 Identifying the Administrative Distance (AD) in a routing table
It is the first number in the brackets in the routing table

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

31

Administrative Distance of a Route


 Dynamic Routing Protocols

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

32

Administrative Distance of a Route


 Directly connected routes
Have a default AD of 0

 Static Routes
Administrative distance of a static route has a default value of 1

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

33

Administrative Distance of a Route


 Directly connected routes
Immediately appear in the routing table as soon as the interface is configured

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

34

Summary
 Dynamic routing protocols fulfill the following functions Dynamically share information between routers Automatically update routing table when topology changes Determine best path to a destination  Routing protocols are grouped as either Interior gateway protocols (IGP)Or Exterior gateway protocols(EGP)  Types of IGPs include Classless routing protocols - these protocols include subnet mask in routing updates Classful routing protocols - these protocols do not include subnet mask in routing update
2007 Cisco Systems, Inc. All rights reserved. Cisco Public

35

Summary
 Metrics are used by dynamic routing protocols to calculate the best path to a destination  Administrative distance is an integer value that is used to indicate a routers trustworthiness  Components of a routing table include: Route source Administrative distance Metric

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

36

2007 Cisco Systems, Inc. All rights reserved.

Cisco Public

37

Вам также может понравиться