You are on page 1of 3

06/05/2021

Introduction

Routing Protocols

1 2

Introduction Introduction

3 4

Dynamic Vs Static Routing Dynamic Routing: Routing Protocols


• Routing tables can contain directly connected, manually • The purpose of any routing protocol is to:
configured static routes and/or routes learned dynamically – dynamically communicate information about all network paths used to
using a routing protocol. reach a destination,
• Static routing is when you manually configure a router to send – build routing tables,
traffic for particular destinations in preconfigured directions. – and to select from those paths, the best path to reach a destination
network.
• Dynamic routing is when you use a routing protocol such as
• Some of the most common routing protocols include IGRP,
OSPF, IS-IS, EIGRP, and/or BGP to figure out what paths traffic
EIGRP, OSPF, IS-IS and BGP.
should take.

5 6

1
06/05/2021

Classification of Routing Protocols Interior Gateway Routing Protocols


• There are three main classification of routing • Interior routing protocol designed for networks that are
protocols: controlled by an organization.
– Interior vs exterior routing protocols • They keep track of paths used to move data from one end
system to another inside a network or set of networks that
– Link state vs distance vector routing protocols
you administrate – Autonomous System.
• Autonomous Systems: All of the networks you manage
combined are usually just one.
• IGP's fall into two categories:
– Distance Vector Protocols: Routing Information Protocol (RIP), Interior
Gateway Routing Protocol (IGRP), Enhanced Interior Gateway Routing
Protocol (EIGRP).
– Link State Protocols: Open Shortest Path First (OSPF), Intermediate
System to Intermediate System (IS-IS)
7 8

Distance Vector vs Link State Routing


Introduction
Protocols
• "Distance Vector" and "Link State" are terms used to describe
routing protocols which are used by routers to forward
packets between networks.
• The terms distance vector and link state are used to group
routing protocols into two broad categories based on
whether:
– the routing protocol selects the best routing path based on a distance
metric (the distance) and an interface (the vector)  distance vector
routing protocol
– or selects the best routing path by calculating the state of each link in
a path and finding the path that has the lowest total metric to reach
the destination  link state routing protocol

9 10

Distance Vector Routing Protocol Link State Routing Protocol


• Distance: Distance is the cost of reaching a destination, usually • Link state protocols know whether a link is up or down and
based on the number of hosts the path passes through, or the total how fast it is (bandwidth and delay) and calculates a cost to
of all the administrative metrics assigned to the links in the path.
'get there'.
• Vector: From the standpoint of routing protocols, the vector is the
interface traffic will be forwarded out in order to reach a given • Link State protocols will take a path which has more hops, but
destination network along a route or path selected by the routing that uses a faster medium over a path using a slower medium
protocol as the best path to the destination network. with fewer hops.
• Distance vector protocols use a distance calculation plus an
outgoing network interface (a vector) to choose the best path to a • Because of their awareness of media types and other factors,
destination network. link state protocols require more processing power (more
• Common distance vector routing protocols include: circuit logic in the case of ASICs) and memory.
– RIP • Distance vector algorithms, being simpler, require simpler
– IGRP hardware.

11 12

2
06/05/2021

A Comparison: Link State vs. Distance


A Comparison: Link State vs. Distance Vector
Vector
• See Fig. below. If all routers were running a Distance Vector protocol, the
path or 'route' chosen would be from A B directly over the ISDN serial
link, even though that link is about 10 times slower than the indirect route
from A C D B.
• A Link state protocol would choose the A C D B path because it's using a
faster medium (100 Mb ethernet).
• In this example, it would be better to run a Link State routing protocol, but
if all the links in the network are the same speed, then a Distance Vector
protocol is better.

13 14

Exterior Routing Protocols Exterior Routing Protocols


• Exterior Gateway Protocols handle routing outside an
Autonomous System and get you from your network, through
your Internet provider's network and onto any other network.
• Exterior routing protocols are designed for use between two
different networks that are controlled by two different
organizations.
• Commonly used between ISPs in an ISP or between ISPs with
the company.
• BGP (Border Gateway Protocol)is used by companies with
more than one internet provider to allow them to have
redundancy and load balancing of their data transported to
and from the internet.
15 16

Exterior Routing Protocols


• Examples of an EGP:
– Border Gateway Protocol (BGP)
– Exterior Gateway Protocol (Replaced by BGP)
• For example, a company runs BGP as an exterior routing
protocol between the router of the company with the ISP
router.
• IP exterior gateway protocols require three settings the
following information before the router can be used:
– List of neighboring routers to exchange routing information
– The list of networks to advertise
– Number of autonomous system from the local router

17

You might also like