cpsc 471 - Chapter 5 Knowledge Checks

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

How does router 2c learn of the path AS3, X to destination network X? [B. From 3a via eBGP.] How does router 2d learn of the path AS3, X to destination network X? [A. From 2c via iBGP.]

EBGP OR IBGP? Consider routers 2c and 2d in Autonomous System AS2 in the figure below. Indicate the flavor of BGP and the router from which each of 2c and 2d learns about the path to destination x. ANSWER LIST: A. From 2c via iBGP. B. From 3a via eBGP. QUESTION LIST: How does router 2c learn of the path AS3, X to destination network X? [Choose Answer A or B] How does router 2d learn of the path AS3, X to destination network X? [Choose Answer A or B]

☑Network graph ☑Intent

INTERNAL STRUCTURE OF THE SDN CONTROLLER (1). Which of the functions below belong in the controller layer labeled "Interface, abstractions for network control apps"? Check all below that apply. ☐Link-state information ☐Network graph ☐Host information ☐Flow tables ☐OpenFlow protocol ☐Intent ☐Switch information ☐Statistics

☑Switch information ☑Link-state information ☑Host information ☑Flow tables ☑Statistics

INTERNAL STRUCTURE OF THE SDN CONTROLLER (2). Which of the functions below belong in the controller layer labeled "Network-wide distributed, robust state management"? Check all below that apply. ☐OpenFlow protocol ☐Switch information ☐Link-state information ☐Host information ☐Intent ☐Flow tables ☐Statistics ☐Network graph

☑ OpenFlow protocol

INTERNAL STRUCTURE OF THE SDN CONTROLLER (3). Which of the functions below belong in the controller layer labeled "Communication to/from controlled device"? Check all below that apply. ☐Flow tables ☐Statistics ☐Switch information ☐Host information ☐Intent ☐Network graph ☐OpenFlow protocol ☐Link-state information

ROUTING WITHIN OR AMONG NETWORKS. Match the terms "interdomain routing" and intradomain routing" with their definitions. Recall that in Internet parlance, an "AS" refers to "Autonomous System" - a network under the control of a single organization. ANSWER LIST: A. Routing among routers within same AS ("network"). B. Routing among different ASes ("networks"). QUESTION LIST: Interdomain routing. [choose A or B] Intradomain routing. [Choose A or B]

Interdomain routing. [B. Routing among different ASes ("networks").] Intradomain routing. [A. Routing among routers within same AS ("network").]

☑A ☑x ☑B

PATH ADVERTISEMENT AND POLICY (PART 1). Suppose a provider network only wants to carry traffic to/from its customer networks (i.e., to provide no transit service), and customer networks only want to carry traffic to/from itself. Consider the figure below. To implement this policy, to which of the following networks would network C advertise the path Cy?

☑w

PATH ADVERTISEMENT AND POLICY (PART 2). Again, suppose a provider network only wants to carry traffic to/from its customer networks (i.e., to provide no transit service), and customer networks only want to carry traffic to/from itself. Suppose C has advertised path Cy to A. To implement this policy, to which of the following networks would network A advertise the path ACy?

☑None of these other networks

PATH ADVERTISEMENT AND POLICY (PART 3). Again, suppose a provider network only wants to carry traffic to/from its customer networks (i.e., to provide no transit service), and customer networks only want to carry traffic to/from itself. Suppose C has advertised path Cy to x. To implement this policy, to which of the following networks would network x advertise the path xCy?

Match the name of the approach towards implementing a control plane with a description of how this approach works. A. An individual routing algorithm components in each and every router interact in the control plane B. A (typically) remote controller computes and installs forwarding tables in routers. QUESTION LIST: Per-router control plane. [choose answer A or B] Software-defined networking (SDN). [choose answer A or B]

Per-router control plane. [A. An individual routing algorithm components in each and every router interact in the control plane] Software-defined networking (SDN). [B. A (typically) remote controller computes and installs forwarding tables in routers.]

Static routing. (Match the name of a general approach to routing with characteristics of that approach.)

Routes change slowly over time. B

Dynamic routing. (Match the name of a general approach to routing with characteristics of that approach.)

Routing changes quickly over time. C

SDN Controller (network operating system) [pick letter for image b aka computer and purple box] SDN-controlled switches [pick letter for image c aka the routers and links] Network-control applications [pick letter for image a aka the green circles]

SDN LAYERS. Consider the SDN layering shown below. Match each layer name below with a layer label (a), (b) or (c) as shown in the diagram. ANSWER LIST: A. (c) B. (a) C. (b) QUESTION LIST: SDN Controller (network operating system) [A or B or C] SDN-controlled switches [A or B or C] Network-control applications [A or B or C]

Centralized, global routing. (Match the name of a general approach to routing with characteristics of that approach.)

All routers have complete topology, and link cost information. A

OPEN SHORTEST PATH FIRST (OSPF). Consider the OSPF routing protocol. Which of the following characteristics are associated with OSPF (as opposed to BGP)? ☐Policy, rather than performance (e.g., least cost path), determines paths that used. ☐Is an inter-domain routing protocol. ☐Finds a least cost path from source to destination. ☐Floods link state control information. ☐Is an intra-domain routing protocol.

☑Finds a least cost path from source to destination. ☑Floods link state control information. ☑Is an intra-domain routing protocol.

Decentralized routing. (Match the name of a general approach to routing with characteristics of that approach.)

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

e

DIJKSTRA'S LINK-STATE ROUTING ALGORITHM (PART 1). 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' (refer to the text for an explanation of notation).

answer says 4 but that makes no sense ? isnt it supposed to be 6?

DIJKSTRA'S LINK-STATE ROUTING ALGORITHM (PART 2). 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' (refer to the text for an explanation of notation).

OPEN SHORTEST PATH FIRST (OSPF). Check the one or more of the following statements about the OSPF protocol that are true. ☐OSPF is an intra-domain routing protocol. ☐The Open Shortest Path First (OSPF) Internet routing protocol implements a Bellman-Ford distance-vector routing algorithm. ☐OSPF implements hierarchical routing ☐OSPF is an interdomain routing protocol. ☐OSFP uses a Dijkstra-like algorithm to implement least cost path routing.

☑OSPF is an intra-domain routing protocol ☑OSPF implements hierarchical routing ☑OSFP uses a Dijkstra-like algorithm to implement least cost path routing.

What is the definition of a "good" path for a routing protocol? Chose the best single answer. ☐A path that has little or no congestion. ☐A low delay path. ☐A path that has a minimum number of hops. ☐A high bandwidth path. ☐Routing algorithms typically work with abstract link weights that could represent any of, or combinations of, all of the other answers.

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

Which of the following statements correctly identify the differences between routing and forwarding. Select one or more statements. ☐Routing refers to moving packets from a router's input to appropriate router output, and is implemented in the control plane. ☐Forwarding refers to determining the route taken by packets from source to destination, and is implemented in the data plane. ☐Routing refers to determining the route taken by packets from source to destination, and is implemented in the control plane. ☐Routing refers to moving packets from a router's input to appropriate router output, and is implemented in the data plane. ☐Routing refers to determining the route taken by packets from source to destination, and is implemented in the data plane. ☐Forwarding refers to moving packets from a router's input to appropriate router output, and is implemented in the control plane. ☐Forwarding refers to moving packets from a router's input to appropriate router output, and is implemented in the data plane. ☐Forwarding refers to determining the route taken by packets from source to destination, and is implemented in the control plane.

☑Routing refers to determining the route taken by packets from source to destination, and is implemented in the control plane ☑Forwarding refers to moving packets from a router's input to appropriate router output, and is implemented in the data plane.

ICMP: INTERNET CONTROL MESSAGE PROTOCOL . Which of the statements below about ICMP are true? ☐ICMP is used by hosts and routers to communicate network-level information. ☐The TTL-expired message type in ICMP is used by the traceroute program. ☐ICMP communicates information between hosts and routers by marking bits in the IP header. ☐ICMP messages are carried in UDP segments using port number 86. ☐ICMP messages are carried directly in IP datagrams rather than as payload in UDP or TCP segments.

☑ICMP is used by hosts and routers to communicate network-level information. ☑The TTL-expired message type in ICMP is used by the traceroute program. ☑ICMP messages are carried directly in IP datagrams rather than as payload in UDP or TCP segments.

DIJKSTRA'S LINK-STATE ROUTING ALGORITHM. 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. (Refer to Section 5.2 in the text for notation.) ☐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. ☐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. ☐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. ☐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. ☐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.

☑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. ☑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 ☑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.

ROUTING WITHIN NETWORKS? Among the following protocols, terminology or considerations, indicate those that are associated with "routing within a single network (typically owned and operated by one organization)." ☐intra-domain routing ☐inter-domain routing ☐BGP ☐Driven more by performance than by routing policy ☐intra-AS routing ☐Driven more by routing policy than end-end routing performance ☐OSPF ☐inter-AS routing

☑intra-domain routing ☑Driven more by performance than by routing policy ☑intra-AS routing ☑OSPF


Kaugnay na mga set ng pag-aaral

Physics Quiz V: Sounds and Waves

View Set

Natural Hazards Ch 15 Waves, beaches, coastal erosion

View Set

Foundations Chapter 38 Fluid Balance

View Set