Lesson 3 - Intradomain routing Flashcards

1
Q

What is the difference between the forwarding and routing?

A

By forwarding we refer to transferring a packet from an incoming link to an outgoing link within a single router.

By routing we refer to how routers work together using routing protocols to determine the good paths (or good routes as we call them) over which the packets travel from the source to the destination node.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the main idea behind link state routing algorithm?

A

Djikstra’s algorithm. All nodes know the network topology and link costs. Start with N’ just containing the source node. Initialize all paths to infinity except directly attached nodes. Perform iterations and update whenever we find lower costs until every node is examined and added to N’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name an example of link state routing algorithm

A
  1. Open shortest path first
  2. IS-IS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the computational complexity of the link state routing algorithm?

A

n^2 (decreases each iteration by n-1)

num iterations is always N-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the main idea behind distance vector routing algorithm?

A

It is a routing algorithm in which a router periodically sends its entire routing table to its neighbors.

Bellman Ford algorithm. Iterative (continues until no more updates), asynchronous (nodes do not have to be synchronized with each other), and distributed (no need to know network topology or have some central point of calculation)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Explain the steps of distance vector routing

A

Each node maintains its own distance vector with costs to reach every other node in the network.

They send each other their distance vectors and update accordingly if there are shorter paths found between what was already in its distance vector and newly received information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

When does count to infinity problem occur in DV?

A

When there is a large increase in cost between nodes, such as a severed connection.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is poison reverse in DV?

A

Refers to the practice of advertising a route, but with a special metric value called Infinity. Routers consider routes advertised with an infinite metric to have failed.

When one node knows there is a path through another node, it will poison the opposite path so it is never taken. When bad news comes, it will take the opposite path and pass on this information so the new path is quickly used and the previous path becomes poisoned.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is RIP?

A

Based on the Distance Vector protocol and uses hop count as the metric (each link = 1 cost). Uses RIP response message instead of distance vectors. Each node maintains a RIP Table (Routing Table), which will have one row for each subnet in the AS. Uses UDP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is OSPF?

A

A routing protocol that uses the link-state routing algorithm to find the best path between source and destination router. Advancement of RIP. Uses flooding of link-state info and Dijkstra. Advances include authentication of messages, option to use multiple same cost paths, and support for hierarchy within a single routing domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is hot potatoe routing

A

When there are equally good egress points (network exits) - choose the one that is the shortest (closest) path cost away = hot potato routing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are classes of intradomain routing algorithmms (or interior gateway protocols)?

A
  1. Link-state algorithms (OSPF)
  2. Distance vector algorithms (RIP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the characteristics of distance vector alrogithm?

A
  1. Its iternative (iterates until the neighbors do not have new updates)
  2. Asynchronous (does not require nodes to be synchronized)

3 Distrbuted/not centralized (nodes send info to each other, then send results back)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the characteristics of the link state alrogithm?

A
  1. link costs are known to all nodes
  2. the network topology is known by all nodes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what are the differences between link state routing and distance vector routing?

A

Distance vector sends its entire table to its neightbords and link state broadcasts its neighbor info to every router

Distance vector has slow convergence and suffer from count to infinity problems where as link state has fast convergence and high reliability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How does a router process advertisements?

A

The router checks if advertise is new or duplicate by referring to the link-state database. If its new, it updates this database and runs OSPF based on current topology. It floods the LS update and updates FIB.