Chapter 4-5 - Part2 Flashcards

1
Q

What is traditional destination-based forwarding?

A

matching each destination one by one, by giving a range of address and then depending on that range, sends to a link interface

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

What is longest prefix matching?

A

Use the LONGEST address prefix that matches destination address.

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

Centralized vs Decentralized Routing Rhythm classification

A

Centralized (Global): all routers have complete topology, info

Decentralized: iterative process of computation, exchanging info with neighbors

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

Explain Dijkstra’s Algorithm from a single source

A
  1. Find closest unchecked node (v) to source.
  2. Find all unchecked nodes of (v). Update Distance if shorter
  3. Repeat step 1.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s a problem with Dijkstra’s algorithm?

A

Route oscillations are possible.

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

Explain Bellman Ford Algorithm

A

Include:

  1. Direct Path from source to node
  2. Any neighboring node of a neighbor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Explain Distance Vector Algorithm. When does it send updates to neighboring nodes?

A

Each node:

  1. waits for change in link cost
  2. recompute DV
  3. Will only send updates if DV changes!
How well did you know this?
1
Not at all
2
3
4
5
Perfectly