L4 - Routing Flashcards

1
Q

Internet routing consists of 2 very distinct parts relating to Autonomous Systems. What are they?

A

1 - Intra-domain routing (inside an AS)

2 - Inter-domain routing (between AS’s)

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

What are the 2 types on intra-domain routing?

A

1 - Distance Vector

2 - Link State

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

What is distance vector routing?

A

This is when a router sends its neighbors copies of its own routing table. Generally it uses the Bellman-Ford algorithm.

When costs decrease, the network converges quickly. But when failures occur, bad news can travel slowly (count to infinity problem, solved by poison reverse).

Routing Information Protocol (RIP) is an example of a distance vector protocol.

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

What is link state routing?

A

This is when routers distribute a network map to every other node in the network. Each node then performs the shortest path computation itself.

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

What are two common link state routing protocols?

A

1 - Open Shortest Path First (OSPF)

2 - Intermediate System-Intermediate System (IS-IS) - this is the most common one.

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

What is a problem with Link State Routing?

A

Scaling - complexity grows as n^3. We can deal with this using hierarchies (areas in OSPF, or levels in IS-IS)

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

What is the protocol used in Interdomain routing (i.e. between AS’s)?

A

Border Gateway Protocol (BGP). Specifically, external BGP (eBGP). There are 3 attributes in a BGP route advertisement - destination, nexthop, and ASpath.

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

What is the protocol used for transmitting routing info inside an AS about external destinations?

A

internal BGP (iBGP).

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

How does BGP pick best route?

A

In order of importance:
1 - Higher local preference value (only known to AS, determines exiting traffic)
2 - Shorter AS paths
3 - Lower MED (multi-exit discriminator) values for AS’s with multiple exit nodes, determines incoming traffic.
4 - Shortest internal path to AS exit (‘hot potato routing’)
5 - Any consistent tie-breaker

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

What are the basic rules of preference in interdomain routing regarding customer/peer/provider routes?

A

customer > peer > provider routes

i.e. customer routes most preferred

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

Is BGP guaranteed to be stable?

A

No, in fact interdomain routing can oscillate indefinitely

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