Network Layer Protocol: GATE CS Previous Year Questions

Network Layer Protocol · Computer Networks

74 questions · asked in 23 of 27 years (2000–2026)

MCQ 54 · MSQ 7 · NAT 131-mark 44 · 2-mark 30

2000Questions per year2026

Questions 16–20 of 74

Q16GATE 20221 markMCQ−0.33 if wrong
Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below.
To InternetFirewallRouterRouterRouterWeb ServerEthernetEthernet
What is the number of subnets inside the enterprise network?

Q17GATE 20222 marksMSQ
Consider routing table of an organization's router shown below:
SubnetNumberSubnetMaskNextHop12.20.164.0255.255.252.0R112.20.170.0255.255.254.0R212.20.168.0255.255.254.0Interface012.20.166.0255.255.254.0Interface1default R3\begin{array}{|l|l|l|} Subnet Number & Subnet Mask & Next Hop \\ 12.20.164.0 & 255.255.252.0 & R1 \\ 12.20.170.0 & 255.255.254.0 & R2 \\ 12.20.168.0 & 255.255.254.0 & Interface 0 \\ 12.20.166.0 & 255.255.254.0 & Interface 1 \\ default & ~ & R3 \\ \hline \end{array}
Which of the following prefixes in CIDR notation can be collectively used to correctly aggregate all of the subnets in the routing table?

One or more options are correct.

Q18GATE 20222 marksNAT
Consider a network with three routers P, Q, R shown in the figure below. All the links have cost of unity.
PQR
The routers exchange distance vector routing information and have converged on the routing tables, after which the link Q-R fails. Assume that P and Q send out routing updates at random times, each at the same average rate. The probability of a routing loop formation (rounded off to one decimal place) between P and Q, leading to count-to-infinity problem, is ____

Q19GATE 2021 (Session 2)2 marksMSQ
Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is shown below.
RXYZ ......... QP
The objective is to find the shortest-cost path from the router R to routers P and Q. Assume that R does not initially know the shortest routes to P and Q. Assume that R has three neighboring routers denoted as X, Y and Z. During one iteration, R measures its distance to its neighbors X, Y, and Z as 3, 2 and 5, respectively. Router R gets routing vectors from its neighbors that indicate that the distance to router P from routers X, Y and Z are 7, 6 and 5, respectively. The routing vector also indicates that the distance to router Q from routers X, Y and Z are 4, 6 and 8 respectively. Which of the following statement(s) is/are correct with respect to the new routing table o R, after updation during this iteration?

One or more options are correct.

Q20GATE 20201 markMCQ−0.33 if wrong
Consider the following statements about the functionality of an IP based router.

I. A router does not modify the IP packets during forwarding.
II. It is not necessary for a router to implement any routing protocol.
III. A router should reassemble IP fragments if the MTU of the outgoing link is larger than the size of the incoming IP packet.

Which of the above statements is/are TRUE?

Keep practising

Topics in Computer Networks

All CS topics ›