Routing Flashcards
(37 cards)
What is the internet?
A web of systems connected via buses and wires
What is routing?
A way to determine an end-to-end path through a network
What is a forwarding table, and how is it used in routing?
A table containing information on the ‘next hop’ for a packet to reach the next destination, used to determine where to send the data
A router may have multiple ports, which are used for…
Taking in and sending data
What do routing algorithms determine?
A good path through a network from source to destination
How is a network graph defined? (HINT: Use sets N and E)
As an undirected graph of N nodes, each connected by a set of E node-pair edges which define the links between each node. Each edge has a link cost, which is usually the cost of going from one node to another
What is meant by a neighbour in a network graph?
An adjacent node to the current one
What does it mean for a routing algorithm to be global?
The algorithm knows the complete topology and link cost information of the router’s network
What does it mean for a routing algorithm to be decentralised?
The algorithm only knows the router’s physically connected neighbours and their link costs
What does it mean for a routing algorithm to be static?
Routes change slowly over time
What does it mean for a routing algorithm to be dynamic?
Routes change quickly over time
What does it mean for a routing algorithm to be load sensitive?
If it considers traffic in its calculations
What does it mean for a routing algorithm to be load insensitive?
If it does not consider traffic in its calculations
What is the primary difference between link state and distance vector algorithms?
Link state is global while distance vector is local
The Distance Vector (DV) algorithm uses what data structure to estimate cost to some destination?
Vectors
The Link State algorithm uses what other type of algorithm to calculate a path?
Shortest path algorithms like Dijkstra’s or A*
What is Dijkstra’s algorithm used for?
Calculating least-cost paths from one node to all others in a network
What type of routing algorithm is Dijkstra’s?
Link state
What time complexity does Dijkstra’s run in?
Polynomial
What are the limitations of link state algorithms in highly dynamic networks?
A slow response to changes, large routing tables and frequent link state messages consuming bandwidth
What does it mean when we say that the Distance Vector (DV) routing algorithm is distributed?
Each node transmits and receives data only to and from its direct neighbours
What does it mean when we say that the Distance Vector (DV) routing algorithm is iterative?
Continues until no more information is exchanged
What does it mean when we say that the Distance Vector (DV) routing algorithm is asynchronous?
Doesn’t require all nodes to exchange information at the same time
How do Distance Vector (DV) algorithms store routing information?
In a routing table