Routing Flashcards

1
Q

Global routing algorithm

A

all routers have complete
topology, link cost info

• “link state” algorithms

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

Decentralized router algorithm

A

-router knows physically-connected
neighbors, and link costs
to the neighbors

-• iterative process of
computation, exchange of info
with neighbors

• “distance vector” algorithms

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

static routing algorithm

A

routes change slowly over time

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

dynamic routing algorithm

A

routes change more quickly over time

-periodic update

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

entry (Y, p, c) in the vector of router X means:

A

‘X’ can reach ‘Y’ via (source) port ‘p’ with cost ‘c’

‘A -1 0’ means ‘A can reach itself at cost 0’

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

distance vector routing (4)

A

each router maintains a vector of distances to other routers.

initially, it only knows itself

Periodically sends its distance vector to neighboring routers

-distributed implementation of a shortest-path computation algorithm (Bellman-Ford algorithm)

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

problems with Distance vector Routing

A
  • slow convergence
  • after a change in network topology (ie failures of links), it takes a while for routing tables to stabilize

-transient (not permenant) routing loops

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

link state routing (6)

A

-using a special purpose broadcast algorithm, every router periodically broadcasts to all other routers a list of its local links

(LSA) - link state advertisement

  • every router has complete map of whole network
  • uses shortest path algo to find shortest path to other routers
  • when detecting failure/ recovery/addition of its local links, a router broadcasts a new LSA
  • and all routers re-compute shortest paths

-all LSA forwarding steps are reliable, using stop-and-wait

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

disadvantages of link state routing (4)

A

limitations in scale b/c of maintaining entire network map at each router,
periodic broadcasts from each router,
shortest path computations at each router

-higher complexity than RIP

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

advantage of link state routing

A

fast convergence after network changes

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

Path Vector routing

A
  • each router maintains a vector of complete paths to all other routers
  • used by Border Gateway Protocol (BGP) of Internet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

advantage of path vector routing

A

prevents routing loops (by inspecting paths)

enables policy routin

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

policy routing

A

selection of paths based on non-technical issues (like routers belonging to rival ISPs)

-by scanning a path before accepting it

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

Autonomous systems (AS)

A

-Internet is divided into these

Each AS comprises the routers and networks governed by a single administrator (like BU, or Time warner cable)

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

routing occurs at 2 levels:

A

Intra-AS routing (internal gateway routing – aka Interior Gateway Protocols (IGP)) (i.e. RIP, OSPF and IGRP) - destination is inside source AS

Inter-AS routing (external gateway routing) (.e. BGP)

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

inside each AS, ____ - AS routing is used

A

Intra-AS routing

17
Q

Border Gateway Protocol (BGP)

A

-standard for Inter-AS routing

Path Vector protocol
-routes to networks (ASs), not individual hosts

Routing Information Bases (RIB)

-BGP messages exchanged using TCP

18
Q

When router notices the failure of port p, it changes in its vector all the entries (Y, p, c) to

A

(Y, p, infinity)

19
Q

RIP (routing information protocol) (4)

A
  • UDP
  • distance vectors (advertisement) exchanged b/t neighbors every 30 secs - each one lists 25 dest networks within Autonomous System (AS) (in UDP packets)
  • no ad after 180 secs –> dead , new ads sent (good for spreading news of link failure)
  • tables managed by daemons (application-level process)
20
Q

Why different Intra- and Inter-AS routing?

A

Inter-AS: admin wants to control who it routes through (no competitors)

Intra-AS: single admin, dont need to worry about that. Can focus on performance