4 - Dynamic Routing and Protocols Flashcards

1
Q

Dynamic Routing

A

Router generates tables, detects topology, provides optimal routing. Scalability, robustness and simplicity

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

Convergence

A

When all routers have a stable view of the network

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

What happens when there is not convergence?

A

Network downtime and packets disappear (black holes)/go back and forward in loops

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

Least cost path

A

Sum of cost of links is minimum

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

Shortest path

A

Least links used

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

Distance vector

A

Accumulates a metric hop by hop as the protocol messages traverse the subnet
- Based on Bellman-Ford algorithm

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

How do Distance Vector Protocols work?

A
  • Router advertises distances it has to other prefixes/subnets
  • Other routers compute next hop table based on least cost from neighbouring routers and the cost to that neighbour itself.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Bellman-Ford Algorithm: Describe the process

A

dx(y):= cost of least-cost path from x to y
then
dx(y) = min {c(x,v)+dv(y)}
min is taken over all neighbors v of x

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

What is stored in the RIB?

A

Accumulated cost
Next hop the entry was received from
Accumulated hop and max hop count
Time received

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

Why store the accumulated hop and max hop count?

A

Detect cycles

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

What happens when distance vector adds a subnet?

A
  • Routing update broadcast to neighbours
  • Any router receiving compares the new cost to that in its RIB
  • If it is smaller or new then the entry is used and broadcast to all neighbours
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens in distance vector when a subnet is removed?

A

Each RIB entry is aged
- Timeout defines when it is removed

Periodically, routes are re-advertised.

If neighbour does not respond witin timeout, all routes learned are removed

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

Iterative, Asynchronous distance vector

A

Each iteration caused by:
- local link cost change
- DV update message from neighbour

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

Distributed distance vector

A

Each node notifies neighbors only when its DV changes

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

What happens when link cost changes?

A

Update routing info, recalculate distance vector
If DV changes, notify neighbours

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

Good news travels…

A

fast

17
Q

Bad news travels…

A

slow

18
Q

Poisoned reverse

A

Z tells Y that Z’s distance to X is infinite (no more routing from Y to X via Z)

19
Q

RIP

A

Routing Information Protocol

Distance Vector algorithm
BSD-UNIX in 1982

20
Q

Maximum hops in RIP

A

15hops. 16 is infinite

21
Q

RIP convergence speed

A

Slow

22
Q

RIP robustness

A

poor

23
Q

RIP method

A

Listen to all neighbouring routes
Install all in routing table (lowest wins)
Advertise all routes in table

24
Q

IGRP

A

Interior Gateway Routing Protocol