Routing Flashcards

1
Q

Routing def.

A

Determine a path through the network for packets

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

Forwarding def.

A
  • Advance packets through the network
    • includes also the routing decision
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

On the fly routing algorithms

A
  • Routing by network address
  • label switching
  • source routing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Proactive routing algorithms

A
  • Non adaptive (static)
    • fixed directory routing
    • selective flooding and derivatives
    • Admin has full control
    • error prone
    • does not adapt to changes
  • Adaptive algos (dynamic)
    • centralized routing
      • Routing control center calculates and distributes tables
      • single point of failure and bottleneck, not suitable for highly dynamic networks
    • isolated routing
      • each node decides independently, no exchange of information
      • backward learning
    • distributed routing: combines advantages of both isolated and centralized routing
      • distance vector
      • link state
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Distance vector algorithm

A

DV:

  • List of all reachable destinations
  • ditance from announcing router
  • generated by each router
  • received from neighbors

Issues: they are all about instability

  • black hole
  • count to infinity
  • bouncing effect (loop)

Advantages:

  • simple to implement
  • protcols are simple to deploy, with very little configuration

Shortcomings:

  • exponential wors case complexity (n2)
  • convergence time limited by slower links
  • complex tuning and troubleshooting
  • large routing traffic and storage (not suitable for large and complex networks)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Solution to DV issues

A

They are partial solutions:

  • split horizon: If C reaches destination A through B, it is useless for B trying to reach A through C.
    • prevents loops between two nodes, speeds up convergence
    • DV do not contain non useful destinations (the one from that node)
  • path hold down: il L fails, all destinations reachable through it are considered unreachable for some time.
    • high convergence time
  • route poisoning: invalid route is advertise as infinite instead of omitting it, it will have to expire for that, yields a faster convergence time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Routing protocol def.

A

Enables routers to exchange information on the network to determine the best route for each destination.

It is based on routing algorithms.

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

Link state algorithm

A
  • Information on the state of each link.
  • A local map
  • Sent by each node to all others node (selective flooding)
  • Nodes build a network map
  • Each node computes routes on the map (dijkstra)

Advantages:

  • LSs spred quickly
  • Link state are small
  • Fast and efficient neighbor greeting
  • Rarely generates loops
  • Simple to understand and troubleshoot (all nodes have the same db)

Shortcomings:

  • High implementation complexity
    • selective flooding
    • first imple. took several years
  • Protocols with complex configuration

Link state generation:

Actual protocols generate LSs periodically, but in principle they only when there is a topology change

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

Routing protocols compared with the internet layers

A

Between IP and TCP/UDP

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

Routing domain def

A
  • A set of routers deploying the same routing protocol.
  • It is a connected portion of the network.
  • Redistribution:
    • A router may belong to different domains using different routing protocols
    • It can redistribute information learned from one protocol to another.
  • Redistribution policies
    • by admin
    • advertisement filters
    • metric conversion (bandwidth to cost)
    • information source priority.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Autonomous systems, why?

A

Subnets grouped by topology, organizational criteria.

Identified by two byte number, assigned by IANA.

Example: Large ISP’s subnets.

Why?

  • To control addressing and routing in a tight way, possibly with internal routing domains
  • Scalability: not all information is propagated everywhere
    • destination can be aggregated → hierarchical routing
      • Exterior routing might cause sub-optimal routing.
  • Administration: autonomous internal routing choices, negotiated external routing choices.
    *
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

NAP and IXP

A

Neutral Access Point/Internet eXchange Point

A LAN to which different AS’s are connected

Pairs of routers exchange information (BGP)

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