Quiz 5 Control Plane

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

flashcard set

Earn XP

Description and Tags

CNT 3004 - Computer Networks and Communication

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

Which of the following statements correctly identify the differences between routing and forwarding. Select one or more statements.

  1. Forwarding refers to moving packets from a router’s input to appropriate router output, and is implemented in the data plane.

  2. Forwarding refers to determining the route taken by packets from source to destination, and is implemented in the control plane.

  3. Routing refers to moving packets from a router’s input to appropriate router output, and is implemented in the data plane.

  4. Routing refers to moving packets from a router’s input to appropriate router output, and is implemented in the control plane.

  5. Routing refers to determining the route taken by packets from source to destination, and is implemented in the data plane.

  6. Forwarding refers to determining the route taken by packets from source to destination, and is implemented in the data plane.

  7. Forwarding refers to moving packets from a router’s input to appropriate router output, and is implemented in the control plane.

  8. Routing refers to determining the route taken by packets from source to destination, and is implemented in the control plane.

  1. Forwarding refers to moving packets from a router’s input to appropriate router output, and is implemented in the data plane.

  1. Routing refers to determining the route taken by packets from source to destination, and is implemented in the control plane.

2
New cards

Fowarding

the router-local action of transferring a packet from an input link interface to the appropriate output link interface

3
New cards

Routing

the network-wide process that determines the end-to-end paths that packets take from source to destination

4
New cards

Centralized, global routing

All routers have complete topology, and link cost information.

5
New cards

Decentralized routing

An iterative process of computation, exchange of information with neighbors. Routers may initially only know link costs to directly-attached neighbors.

6
New cards

Static routing

Routes change slowly over time.

7
New cards

Dynamic routing

Routing changes quickly over time.

8
New cards

What is the definition of a “good” path for a routing protocol? Chose the best single answer.

  1. A path that has little or no congestion.

  2. A path that has a minimum number of hops.

  3. Routing algorithms typically work with abstract link weights that could represent any of, or combinations of, all of the other answers.

  4. A high bandwidth path.

  5. A low delay path.

  1. Routing algorithms typically work with abstract link weights that could represent any of, or combinations of, all of the other answers.

9
New cards

“Good” path

  • BGP may use Multi-Exit-Discriminator (MED) values as part of cost metric

  • BGP can include Weight, Local_Pref, AS-Path Length, Origin, policies and can learn from RIP, IGP or OSPF advertisements

  • OSPF calculates metric cost with a reference bandwidth of 100 Mbps for cost calculation divided by the outgoing interface bandwidth.

  • EIGRP uses the minimum bandwidth on the path to a destination network and the total delay to compute routing metrics with values configured on the interfaces of routers in the path to the destination network.

10
New cards

Consider Dijkstra’s link-state routing algorithm that is computing a least-cost path from node a to other nodes b, c, d, e, f. Which of the following statements is true?

  1. In the initialization step, the initial cost from a to each of these destinations is initialized to either the cost of a link directly connecting a to a direct neighbor, or infinity otherwise.

  2. The values computed in the vector D(v), the currently known least cost of a path from a to any node v, will never increase following an iteration.

  3. Following the initialization step, if nodes b and c are directly connected to a, then the least cost path to b and c will never change from this initial cost.

  4. The values computed in the vector D(v), the currently known least cost of a path from a to any node v, will always decrease following an iteration.

  5. Suppose nodes b, c, and d are in the set N’. These nodes will remain in N’ for the rest of the algorithm, since the least-cost paths from a to b, c, and d are known.

  1. In the initialization step, the initial cost from a to each of these destinations is initialized to either the cost of a link directly connecting a to a direct neighbor, or infinity otherwise.

  2. The values computed in the vector D(v), the currently known least cost of a path from a to any node v, will never increase following an iteration.

  1. Suppose nodes b, c, and d are in the set N’. These nodes will remain in N’ for the rest of the algorithm, since the least-cost paths from a to b, c, and d are known.

11
New cards
<p>Consider the graph shown below and the use of Dijkstra’s algorithm to compute a least cost path from a to all destinations. Suppose that nodes b and d have already been added to N’. What is the next node to be added to N'?</p>

Consider the graph shown below and the use of Dijkstra’s algorithm to compute a least cost path from a to all destinations. Suppose that nodes b and d have already been added to N’. What is the next node to be added to N'?

node e

12
New cards
<p>Consider the graph shown below and the use of Dijkstra’s algorithm to compute a least cost path from a to all destinations.  Suppose that nodes b and d have already been added to N’. What is the path cost to the next node to be added to N'?</p>

Consider the graph shown below and the use of Dijkstra’s algorithm to compute a least cost path from a to all destinations. Suppose that nodes b and d have already been added to N’. What is the path cost to the next node to be added to N'?

4

13
New cards
<p>Use Dijkstra’s algorithm to compute a least cost path from u to all other destinations. Suppose that nodes x and y have already been added to N’. What is the next node to be added to N’? Fill out the table.</p>

Use Dijkstra’s algorithm to compute a least cost path from u to all other destinations. Suppose that nodes x and y have already been added to N’. What is the next node to be added to N’? Fill out the table.

knowt flashcard image
14
New cards
<p>Consider the 6-node network shown below, with the given link costs. Write your answer as n,p.</p><ol><li><p>What is the shortest distance to node x and what node is its predecessor? </p></li><li><p>What is the shortest distance to node y and what node is its predecessor?</p></li><li><p>What is the shortest distance to node v and what node is its predecessor?</p></li></ol><p></p>

Consider the 6-node network shown below, with the given link costs. Write your answer as n,p.

  1. What is the shortest distance to node x and what node is its predecessor?

  2. What is the shortest distance to node y and what node is its predecessor?

  3. What is the shortest distance to node v and what node is its predecessor?

  1. 4,v

  2. 5,w

  3. 3,u

15
New cards
<p>Consider the incomplete 6-node network shown below, with the given link costs.</p><p>Consider the completed table below, which calculates the shortest distance to all nodes from W:</p><p>Node | Shortest distance from W | Previous Node</p><p>W        0                                          n/a</p><p>U         1                                          W</p><p>Y          2                                          W</p><p>V          4                                         W</p><p>X          4                                         U</p><p>Z          4                                         W</p><p>For links X and Y, what are the costs associated?</p>

Consider the incomplete 6-node network shown below, with the given link costs.

Consider the completed table below, which calculates the shortest distance to all nodes from W:

Node | Shortest distance from W | Previous Node

W 0 n/a

U 1 W

Y 2 W

V 4 W

X 4 U

Z 4 W

For links X and Y, what are the costs associated?

cannot determine value of X and Y so n/a

16
New cards

Per-router control plane

  • Individual routing algorithm components interact in the control plane

  • Routing algorithm runs in each and every router

  • Both a forwarding and a routing function are contained within each router

  • Each router has a routing component that communicates with the routing components in other routers to compute the values for its forwarding table

17
New cards

Software-defined networking (SDN)

  • A (typically) remote controller gathers information from routers, and then computes and installs the forwarding tables in routers

  • A logically centralized controller computes and distributes the forwarding tables to be used by each and every router

18
New cards

ping

  • verify whether a network data packet can reach an address without errors or not

  • used to check for network errors

  • used in video games to estimate latency

<ul><li><p>verify whether a network data packet can reach an address without errors or not</p></li><li><p>used to check for network errors</p></li><li><p>used in video games to estimate latency</p></li></ul><p></p>
19
New cards

traceroute (tracert → windows)

  • provides a map of data on the internet from its source to its destination

  • helps in the packet capture

  • troubleshoot the hop delays during video conferences

<ul><li><p>provides a map of data on the internet from its source to its destination</p></li><li><p>helps in the packet capture</p></li><li><p>troubleshoot the <strong>hop</strong> delays during video conferences</p></li></ul><p></p>
20
New cards

ifconfig vs ipconfig

ifconfig:

  • used in Linux / macOS

  • displays IP configuration details of network interfaces

  • provides packet statistics, error counters, and interface status

  • doesn't have a built-in command for releasing IP addresses

ipconfig:

  • used in Windows

  • displays IP configuration details of network adapters

  • displays MAC address, DNS suffix, and IPv6 status

  • can release currently assigned IP address of a network adapter

<p>ifconfig:</p><ul><li><p>used in Linux / macOS</p></li><li><p>displays IP configuration details of network interfaces</p></li><li><p>provides packet statistics, error counters, and interface status</p></li><li><p>doesn't have a built-in command for releasing IP addresses</p></li></ul><p>ipconfig:</p><ul><li><p>used in Windows</p></li><li><p>displays IP configuration details of network adapters</p></li><li><p>displays MAC address, DNS suffix, and IPv6 status</p></li><li><p>can release currently assigned IP address of a network adapter</p></li></ul><p></p>
21
New cards
<p>What is the fastest and still effective utility to determine from Host A if the Webserver is running?</p>

What is the fastest and still effective utility to determine from Host A if the Webserver is running?

ping because it sends ICMP packets

22
New cards
<p>If a ping test fails from Host A to Webserver, what is the most effective utility to determine (from Host A) where the possible fault is located in the network?</p>

If a ping test fails from Host A to Webserver, what is the most effective utility to determine (from Host A) where the possible fault is located in the network?

traceroute