lectura teo 10 Flashcards

1
Q

What are the two widely deployed Internet routing protocols?

A

OSPF and BGP

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

OSPF vs. BGP

A

OSPF is a routing protocol that operates within a single ISP’s network. BGP is a routing protocol that serves to interconnect all of the networks in the Internet; BGP is thus often referred to as the “glue” that holds the Internet together.

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

Name 3 broad ways to classify routing algorithms.

A
  • centralized/descentralized routing algorithm
  • static/dynamic
  • load sensitive/insensitive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

centralized routing algorithm

A

computes the least-cost path between a source and destination using complete, global knowledge about the network. That is, the algorithm takes the connectivity between all nodes and all link costs as inputs. This then requires that the algorithm somehow obtain this information before actually performing the calculation. The calculation itself can be run at one site (e.g., a logically centralized controller as in Figure 5.2) or could be replicated in the routing component of each and every router (e.g., as in Figure 5.1). The key distinguishing feature here, however, is that the algorithm has complete informa- tion about connectivity and link costs. Algorithms with global state information are often referred to as link-state (LS) algorithms, since the algorithm must be aware of the cost of each link in the network. We’ll study LS algorithms in Section 5.2.1.

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

descentralized routing algorithm

A

the calculation of the least-cost path is carried out in an iterative, distributed manner by the routers. No node has com- plete information about the costs of all network links. Instead, each node begins with only the knowledge of the costs of its own directly attached links. Then, through an iterative process of calculation and exchange of information with its neighboring nodes, a node gradually calculates the least-cost path to a destination or set of destinations. The decentralized routing algorithm we’ll study below in Section 5.2.2 is called a distance-vector (DV) algorithm, because each node main- tains a vector of estimates of the costs (distances) to all other nodes in the net- work. Such decentralized algorithms, with interactive message exchange between neighboring routers is perhaps more naturally suited to control planes where the routers interact directly with each other, as in Figure 5.1.

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

static routing algorithms

A

routes change very slowly over time, often as a result of human intervention (for example, a human manually editing a link costs).

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

Dynamic routing algorithms

A

change the routing paths as the network traffic loads or topology change. A dynamic algorithm can be run either periodically or in direct response to topology or link cost changes. While dynamic algorithms are more responsive to network changes, they are also more susceptible to problems such as routing loops and route oscillation.

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

load-sensitive algorithm

A

link costs vary dynami- cally to reflect the current level of congestion in the underlying link. If a high cost is associated with a link that is currently congested, a routing algorithm will tend to choose routes around such a congested link. While early ARPAnet routing algo- rithms were load-sensitive [McQuillan 1980], a number of difficulties were encoun- tered [Huitema 1998].

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

load-insensitive

A

Today’s Internet routing algorithms (such as RIP, OSPF, and BGP) are load-insensitive, as a link’s cost does not explicitly reflect its current (or recent past) level of congestion.

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

Link-state algorithm

A

Dijkstra.

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

Result of the link-state algorithm.

A

When the LS algorithm terminates, we have, for each node, its predecessor along the least-cost path from the source node. For each predecessor, we also have its predecessor, and so in this manner, we can construct the entire path from the source to all destinations. The forwarding table in a node, say node u, can then be constructed from this information by storing, for each destination, the next-hop node on the least-cost path from u to the destination.

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

Case: link costs are not symmetric. What happens? Como se mitiga?

A
  • oscillations happen.
    Sol:
    ensure that not all routers run the LS algorithm at the same time. This seems a more reasonable solution, since we would hope that even if routers ran the LS algorithm with the same periodicity, the execution instance of the algorithm would not be the same at each node. Interestingly, researchers have found that routers in the Internet can self-synchronize among themselves [Floyd Synchronization 1994]. That is, even though they initially execute the algorithm with the same period but at different instants of time, the algorithm execution instance can eventually become, and remain, synchronized at the routers. One way to avoid such self-synchronization is for each router to randomize the time it sends out a link advertisement.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Link-state (LS) algorithm vs Distance vector (DV) alg. approeaches.

A

Whereas the LS algorithm is an algorithm using global information, the distance- vector (DV) algorithm is iterative, asynchronous, and distributed.

It is distributed in that each node receives some information from one or more of its directly attached neighbors, performs a calculation, and then distributes the results of its calculation back to its neighbors.

It is iterative in that this process continues on until no more information is exchanged between neighbors. (Interestingly, the algorithm is also self-terminating—there is no signal that the computation should stop; it just stops.)

The algorithm is asynchronous in that it does not require all of the nodes to operate in lockstep with each other.

We’ll see that an asynchronous, iterative, self-terminating, distributed algorithm is much more interesting and fun than a centralized algorithm!

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

Basic idea of DV.

A

Each node x begins with D x (y), an estimate of the cost of the least-cost path from itself to node y, for all nodes, y, in N. Let D x = [D x (y): y in N] be node x’s distance vector, which is the vector of cost estimates from x to all other nodes, y, in N.

In the distributed, asynchronous algorithm, from time to time, each node sends a copy of its distance vector to each of its neighbors. When a node x receives a new distance vector from any of its neighbors w, it saves w’s distance vector, and then uses the Bellman-Ford equation to update its own distance vector

If node x’s distance vector has changed as a result of this update step, node x will then send its updated distance vector to each of its neighbors, which can in turn update their own distance vectors. Miraculously enough, as long as all the nodes continue to exchange their distance vectors in an asynchronous fashion, each cost estimate D x (y) converges to d x (y), the actual cost of the least-cost path from node x to node y [Bertsekas 1991]!

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