Dynamic Routing: Internetworking - Lecture 6
Dynamic Routing: Internetworking - Lecture 6
Internetworking – Lecture 6
Dynamic Routing
An automated routing solution
Defining a routing Protocol
Design Considerations
Metrics of Routing Protocols
Categorising Routing protocols
An Automated Routing Solution
We established that static routing is
unworkable;
The more complex the networks the harder it
problem is required
Key Features of Dynamic Routing
Key features of dynamic routing are:
◦ They learn about the network
◦ Automatically modify the routing tables
◦ Dynamically routing should be deployed on any
sized network
What is a Routing Protocol?
A set of rules that allow 2 or more routers to
exchange information about the networks
they are connected to.
It is based on an algorithm to solve the
communication problem
Therefore it is a process that runs on the
router
Algorithms used are based on graph theory
single routes
Protocols should use the bandwidth efficiently
Traffic generated for router communication must be
tables
Then communicate this information to their
networks
View of Distance Vector Protocol
Communication
neighbours
Share the metrics of the routes it knows
In distance vector protocols the metrics is distance initially
hop count – e.g. how many routers the packet has to cross to
reach its destination, 3 hops = the metric 3
Distance Vector Protocol
If two or more paths are discovered for the
same destination, the route with the lowest
hop count would win and be added to the
routing table
routers
Link state Routing Protocols
Known as shortest path first
Based on the Dijkstra algorithm
Works on first hand information not “routing by
Rumours”
Data is transmitted via Link State Advertisement
(LSA)
It includes the state of the directly connected
routers Links
Link state determines how many routers are out
there and what networks are connected to them
Each router ends up with a topology map of the
system
Link-State Routing Protocols
As only the link state is communicated and not the
whole routing table, therefore convergence is improved
Also communication is initiated on a change of a link
state only
The metric is bandwidth
Therefore when the Dijkstra algorithm are run the
themselves.
Link state Routing Protocols
Improvements over Distance Vector
Updated packets can be sent via multicast
rather than broadcast
Reduces processing on devices that are not
routers
Can be configured in a hierarchical fashion
Reduces unnecessary traffic
Link state v Distance Vector
Link state protocols calculate the distance to
another network
Distance vector needs to be told this
bandwidth
Large route tables means the lookup process takes
longer
It also requires larger memory and CPU resources
subnets
◦ Reduces the table size
Route Summarisation
This has become a critical function of modern
networking
Summarisation can be employed at the address