8. Routing Flashcards

(16 cards)

1
Q

Multiple Choice

Which of the following tasks is NOT performed by a router?

Clarifier: Choose the task that routers do not do among forwarding, routing table updates, packet encapsulation, and path selection.

Routing and Forwarding

A

C) Packet encapsulation

Clarifier: Routers forward packets, update routing tables, and select paths, but packet encapsulation is done at the Data Link or Physical layer, not the router.

Packet encapsulation is typically done at lower layers (Data Link/Physical). Routers operate mainly at the Network layer, forwarding packets and updating routing tables.

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

True/False

The optimality principle states that if router J lies on the optimal path from router I to router K, then the optimal path from J to K also lies along the same route.

Optimality Principle

A

True

This principle ensures that subpaths of an optimal path are themselves optimal, forming a sink tree rooted at the destination.

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

Open-Ended

Explain the main difference between distance vector routing and link state routing.

Comparison between the two primary routing algorithm categories.

A

Distance vector routing relies on routers exchanging distance vectors with neighbors to update routes, while link state routing requires routers to flood link state packets to all routers to build a complete network map.

Distance vector uses neighbor info only; link state routers have full network topology, enabling them to compute shortest paths individually.

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

Multiple Choice

What problem does the ‘count to infinity’ issue primarily affect?

Clarifier: Select the routing algorithm most impacted by this problem.

Count to Infinity Problem

A

B) Distance Vector Routing

Clarifier: This problem arises when distance vector protocols slowly converge on route failures.

Distance vector algorithms can suffer slow convergence and loops causing the ‘count to infinity’ problem; link state protocols do not have this issue.

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

True/False

Flooding is a practical routing method used commonly in large-scale networks.

Usefulness and practicality of flooding routing.

A

False

Flooding sends packets out all outgoing lines, causing excessive overhead; it’s mainly used for special cases like testing or emergency networks.

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

Open-Ended

Describe one method to reduce duplicate packets during flooding.

Techniques to control flooding overhead.

A

Using a hop counter that decrements at each hop, or keeping track of flooded packets to avoid resending duplicates.

Hop count limits packet lifetime; tracking prevents multiple transmissions of the same packet.

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

Multiple Choice

In the Distance Vector Routing algorithm, what does a router do when it receives routing information from a neighbor?

Clarifier: Select the correct update action the router takes.

Distance Vector table update mechanism.

A

C) Adds one hop to the cost received and updates its table if the new cost is lower or the route is new.

Clarifier: Routers update their routing tables based on neighbors’ info, incrementing the cost metric.

Routing info received includes neighbor’s cost to destinations; router adds its cost to neighbor and updates its own table accordingly.

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

True/False

Split horizon with poison reverse is a technique to prevent routing loops in distance vector protocols.

Loop prevention techniques in routing.

A

True

Split horizon prevents advertising a route back on the interface it was learned from; poison reverse advertises it with an infinite metric to break loops.

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

Open-Ended

What is the main purpose of hierarchical routing?

Hierarchical routing benefits and motivation.

A

To reduce routing table size and routing overhead in large networks by dividing the network into regions or areas.

Hierarchical routing limits routing information scope, improving scalability and efficiency in large-scale networks.

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

Multiple Choice

Which of the following routing protocols is an example of an exterior gateway protocol (EGP)?

Clarifier: Choose the protocol that routes between autonomous systems.

Distinguishing interior vs exterior routing protocols.

A

D) Border Gateway Protocol (BGP)

Clarifier: BGP handles routing between autonomous systems on the Internet.

RIP and OSPF are interior protocols used inside ASes; BGP is the standard inter-AS protocol.

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

True/False

OSPF uses a link state routing algorithm and can assign different weights to links based on service types.

OSPF characteristics.

A

True

OSPF is a link state protocol that supports cost metrics including hop count and differentiated service weights.

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

Open-Ended

Briefly describe the purpose of a HELLO packet in link state routing.

Neighbor discovery and link cost measurement.

A

HELLO packets are used to discover neighbors, confirm connectivity, and measure link delay by exchanging time stamps.

HELLO exchanges allow routers to learn neighbor IDs and link metrics needed to build link state packets.

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

Multiple Choice

What is the maximum hop count allowed in RIP before a route is considered unreachable?

Clarifier: RIP’s limit for path cost to prevent loops.

RIP hop count limits.

A

C) 15

Clarifier: A hop count of 16 is considered infinite, meaning unreachable.

RIP uses a maximum cost of 15 hops to limit network size and prevent routing loops.

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

True/False

In the Border Gateway Protocol (BGP), the path vector algorithm stores the full path of autonomous systems a route traverses.

BGP routing table contents.

A

True

BGP includes the full AS path in its routing information to enforce policies and prevent loops.

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

Open-Ended

What role does an Autonomous System (AS) play in Internet routing?

AS definition and significance.

A

An AS is a collection of IP networks under a common administrative domain that runs its own routing policies and protocols.

ASes are the building blocks of Internet routing; each AS uses interior protocols internally and BGP externally.