Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Assignment- 9
TYPE OF QUESTION: MCQ/MSQ
Number of questions​: 10 Total mark: 10 X 1 = 10

Question 1
Router hardware can be typically divided into two planes - control plane and data plane. Which
of the following statements is FALSE ?

A. Control plane is responsible for constructing the routing table.


B. Data plane is responsible for forwarding packets by matching the packet information with
the routing table.
C. Specialized hardware called TCAM is used to increase the performance of control plane.
D. Interface processors and interconnect fabric are a part of data plane.

Correct Answer: c

Question 2
Which of the following statements are correct?
I. Forwarding Information Base (FIB) maps the input interfaces to output interfaces.
II. FIB is a software component that constructs the routing table.
III. The TCAM hardware is used to implement FIB.
IV. When a packet arrives at the input interface, the routing information required to forward
the packet might not be present in the FIB.

A. I and IV
B. I, III and IV
C. I and III
D. Only II
Correct Answer: b
NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Question 3
Among RAM and CAM, which will you choose for fetching data considering the following use
cases,
(i) You have the address.
(ii) You have the content.

A. (i) RAM , (ii) CAM


B. (i) RAM , (ii) RAM
C. (i) CAM , (ii) CAM
D. (i) CAM , (ii) RAM

Correct Answer: a

Question 4
You need to configure a router such that it forwards the packets having destination address in the
range 172.17.2.0 to 172.17.2.255 to the gateway 192.168.1.2 through the interface eth2.
Which is the correct command to do so?

A. ip route add 172.17.2.0 172.17.2.255 192.168.0.1 dev eth2


B. ip route add 172.17.2.0/16 via 192.168.0.1 dev eth2
C. ip route add 172.17.2.0/24 via 192.168.0.1/24 dev eth2
D. ip route add 172.17.2.0/24 via 192.168.0.1 dev eth2

Correct Answer: d

Question 5
Through which commands you can find out (i) the routing table and (ii) one of the routes being
used for a particular destination address.
A. (i) route -n (ii) ping
B. (i) route -n (ii) ip address
C. (i) route -n (ii) traceroute
D. (i) routing table (ii) ip address

Correct Answer: c
NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Question 6
Which of the following statements are correct about SDN?
I. The routing logic is decoupled from the actual routers (switches) which are now only
responsible for forwarding.
II. There must be a separate dedicated controller for each switch.
III. For every packet arriving at a switch’s interface, it communicates with its controller to
find out the route.

A. Only (ii)
B. (ii) and (iii)
C. All (i), (ii), and (iii)
D. Only (i)

Correct Answer: d

Detailed answer:
(i) True
(ii) False - One single common controller can be used with multiple switches.
(iii) False - the FIB is updated with the rule and the next subsequent packets can be processed
from that information without communicating with the controller.
NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Question 7
Suppose, you have 4 different applications, ​A​,​B​ and ​X​,​Y​. Application ​A ​and ​X ​are running in
host ​H1 ​, and they send packets to ​B​ and ​Y ​respectively, which are running in host ​H2​.
The IP address of the hosts and the ports used by the applications are given in the figure below.

The figure shows the network with 4 switches. Suppose you want to configure the routes in this
network using SDN such that the packets from ​A​ to ​B ​move through S2 (blue path) and the
packets from ​X​ to ​Y​ move through S3 (green path).

Which match action rule combination you will need to use in S1?

Match action rule options:

Switch VLAN MAC MAC Eth Type IP Src IP Dst IP TCP TCP Action
Port ID SRC DST ToS SPORT DPORT
I * * * * * 192.168.1.100 192.168.1.200 * 5000 5001 e1
II * * * * * 192.168.1.100 192.168.1.200 * * * e1
III * * * * * 192.168.1.200 192.168.1.100 * * * e2
IV * * * * * 192.168.1.100 192.168.1.200 * 6000 6001 e2
V * * * * * 192.168.1.100 192.168.1.200 * * 6001 e2

A. I and II
B. II and III
C. I and V
D. IV and V

Correct Answer: c
NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Question 8

Which tool can you use to capture and inspect network packets?

A. HTTP Server

B. Wireshark

C. SDN

D. Mininet

Correct Answer: b

Question 9

From the following screenshot of the output of “​ip address​” command, what is the ip address
and broadcast address of the wireless interface wlp1s0?

A. 192.168.0.4 and 192.168.0.255


B. 192.168.0.255 and 192.168.0.4
C. 127.0.0.1 and 192.168.0.255
D. 192.168.0.255 and 192.168.0.255
Correct Answer: a
NPTEL Online Certification Courses

Indian Institute of Technology Kharagpur

Question 10

How to create the following network topology using mininet?

A. mn --topo linear,2,3
B. mn --topo linear,3,2
C. mn --topo linear,2
D. mn --topo single,2

Correct Answer: b

You might also like