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 56–60 of 74

Q56GATE 20061 markMCQ−0.33 if wrong
A router uses the following routing table:
Destination MaskInterface144.16.0.0255.255.0.0eth0144.16.64.0255.255.224.0eth1144.16.68.0255.255.255.0eth2144.16.68.64255.255.255.224eth3\begin{array}{|l|l|l|} \hline \textbf {Destination} & \textbf { Mask} & \textbf{Interface} \\\hline \text {144.16.0.0} & \text{255.255.0.0} & \text{eth$0$} \\\hline\text {144.16.64.0} & \text{255.255.224.0} & \text{eth$1$} \\\hline\text {144.16.68.0} & \text{255.255.255.0} & \text{eth$2$}\\\hline \text {144.16.68.64} & \text{255.255.255.224} & \text{eth$3$}\\\hline\end{array}
Packet bearing a destination address 144.16.68.117 arrives at the router. On which interface will it be forwarded?

Q57GATE 20061 markMCQ−0.33 if wrong
Two computers C1 and C2 are configured as follows. C1 has IP address 203.197.2.53 and netmask 255.255.128.0. C2 has IP address 203.197.75.201 and netmask 255.255.192.0. Which one of the following statements is true?

Q58GATE 20061 markMCQ−0.33 if wrong
For which one of the following reason does Internet Protocol (IP) use the time-to-live (TTL) field in the IP datagram header?

Q59GATE 20051 markMCQ−0.33 if wrong
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updated interval, three tasks are performed.

i. A node determines whether its neighbors in the graph are accessible. If so, it sets the tentative cost to each accessible neighbor as 1. Otherwise, the cost is set to ∞\infty.
ii. From each accessible neighbor, it gets the costs to relay to other nodes via that neighbor (as the next hop).
iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.

BAC DFE
Continuing from the earlier problem, suppose at some time t, when the costs have stabilized, node A goes down. The cost from node F to node A at time (t+100) is :

Q60GATE 20051 markMCQ−0.33 if wrong
Consider a simple graph with unit edge costs. Each node in the graph represents a router. Each node maintains a routing table indicating the next hop router to be used to relay a packet to its destination and the cost of the path to the destination through that router. Initially, the routing table is empty. The routing table is synchronously updated as follows. In each updated interval, three tasks are performed.

i. A node determines whether its neighbors in the graph are accessible. If so, it sets the tentative cost to each accessible neighbor as 1. Otherwise, the cost is set to ∞\infty.
ii. From each accessible neighbor, it gets the costs to relay to other nodes via that neighbor (as the next hop).
iii. Each node updates its routing table based on the information received in the previous two steps by choosing the minimum cost.

BAC DFE
For the graph given above, possible routing tables for various nodes after they have stabilized, are shown in the following options. Identify the correct table.

Keep practising

Topics in Computer Networks

All CS topics ›