4 - Routing Flashcards

1
Q

Examples of an Autonomous System

A

Internet service provider, content provider, campus network

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

intra-domain routing

A

process by which traffic is routed inside any single autonomous system

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

inter-domain routing

A

process of routing traffic between autonomous systems

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

A topology inside of an autonomous system consist of:

A

nodes and edges.

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

Points of Presence (PoP)

A

nodes inside of an autonomous system

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

PoP is typically located in a dense population center so that:

A

It can be close to the PoPs of other providers for easier interconnection and also close to other customers for cheaper back haul to customers that may be purchasing connectivity from this particular AS

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

PoPs are constrained by:

A

fiber paths

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

Routing is the process by which:

A

nodes discover where to forward traffic so that it reaches a certain node.

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

2 types of intra-domain routing

A

distance vector and link state

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

Distance Vector routing

A

Each node sends multiple distance vectors to each of its neighbors, which amounts to copies of its own routing table.

routers then compute costs to each destination in the topo, based on shortest available path.

based on bellman-ford algorithm.

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

Routing Information Protocol (RIP)

A

a distance vector routing protocol.

edges have unit cost

infinite = 16

table refresh: 30 seconds or when updates occur.

Tell all neighbors except for one that caused update (“split horizon”)

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

Downsides of Routing Information Protocol (RIP)

A
  1. slow convergence

2. count to infinity

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

Link State Routing

A

used in most networks

distribute network map

each node performs shortest path (SPF) computation

Iniitially adds costs of immediate neighbors, flood costs to neighbors

Dijkstras algorithm

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

2 common link state routing protocols and which one is more commonly used?

A
  1. Open Shortest Paths First (OSPF)

2. Intermediate System - Intermediate System (IS-IS) (used more)

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

Problem with link state routing

A

scale

The complexity of a link state routing protocol grows as n cubed where n is the # of nodes in the network

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

How to cope with scale (related to link state routing)

A

introduce hierarchy

OSPF: Areas

IS-IS: Levels

Shortest path computed within area or stitching together the shortest path to the area zero backbone router, and the shortest path across area zero, followed by another intra area shortest path

17
Q

Route Advertisements

A

Each AS advertises reachability to some destination by sending these (in interdomain routing).

used Border Gateway Protocol (BGP)

18
Q

Route advertisement contains these 3 things (BGP route attributes)

A

Destination IP, Next Hop IP, AS path

Last number on AS path is known as the “origin AS”, which originated the announcement

19
Q

eBGP (external Border Gateway Protocol)

A

Consisting of route advertisements solely between border routers of adjacent autonomous systems

Responsible for transmitting routing information between border routers of adjacent ASes about external destinations

20
Q

iBGP (internal border gateway protocol)

A

The protocol that is used to transmit routes inside an autonomous system for external destinations

Responsible for disseminating BGP route advertisements about external destinations to routers inside any particular AS

21
Q

IGP (intra-domain routing protocol)

A

routes inside an AS to internal destinations

22
Q

iBGP (internal-gateway border protocol)

A

routes inside an AS to external destinations

23
Q

BGP Route Selection Process

A
  1. Prefer higher “local preference”
  2. Shortest AS path length
  3. Multi-exit discriminator (MED) (lower med values preferred and only comparable among routes from the same AS)
  4. Shortest IGP path (“hot potato” routing)
  5. Tiebreak -> “most stable”, lowest router ID