Link State Routing Flashcards

1
Q

What is Link State Routing (LSR)?

A

LSR, also known as Shortest Path First (SPF) forwarding, is a routing method where routers maintain a complete view of the network topology using link-state packets (LSPs) and calculate shortest paths using Dijkstra’s Algorithm.

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

What triggers the generation of Link State Packets (LSPs)?

A

LSPs are generated by:

Periodic updates.
Changes in network topology, such as:
New neighbors or links.
Changes in link costs.
Link or node failures.

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

What information is contained in an LSP?

A

An LSP contains:

A list of neighbors.
The cost to each neighbor.

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

How are LSPs distributed in the network?

A

Using the flooding method, where routers send LSPs to all neighbors (except the source).

Improved Flooding reduces redundancy by discarding duplicate LSPs and only forwarding updated ones.

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

What are the steps in Dijkstra’s Algorithm for LSR?

A

Initialize the root router (cost = 0).
Add neighbors to a tentative list (TENT) with costs.
Move the neighbor with the lowest cost to the confirmed list (PATH).
Update TENT with paths from the newly confirmed router.
Repeat until all nodes are in PATH.
Outputs: PATH (shortest paths) and the forwarding table.

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

What happens when there are topology changes in LSR?

A

Events like adding/removing routers or changes in link cost trigger recalculation of PATH and forwarding tables using Dijkstra’s Algorithm.
Example: A new link with a lower cost prompts a route update.

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

What is Open Shortest Path First (OSPF)?

A

A popular link-state routing protocol with features like:

Dividing networks into areas for scalability.
Load balancing and multi-level routing.
Key Messages:
Hello (tests reachability).
LSA (shares topology information).
LSR (queries link status).
LSU (responds with updates).
Acknowledgment (confirms LSU receipt).

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

How does OSPF handle multicast routing?

A

OSPF uses Dijkstra’s tree with the sender as the root and forwards messages to all child nodes in the tree.

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

What techniques are used for load balancing in LSR?

A

1.Load Splitting:
*Multiple routes are maintained per destination.
*Routes are chosen via:
—–Round-robin.
—–Random selection.
Congestion-based metrics.
2.Variable Link Cost:
*Link costs adjust dynamically based on traffic, enabling automatic load balancing.

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

How does LSR compare to DVR (Distance Vector Routing)?

A

Bandwidth Usage: Dependent on network topology. Both can grow bandwidth-intensive in large networks.
Computation:

Challenges: High communication overhead in large networks, mitigated by multi-level routing.

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