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 6–10 of 74

Q6GATE 2025 (Session 2)1 markMCQ−0.33 if wrong
A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X.
Which ONE of the following is NOT a possible candidate for X?

Q7GATE 2025 (Session 2)1 markMCQ−0.33 if wrong
Consider a network that uses Ethernet and IPv4. Assume that IPv4 headers do not use any options field. Each Ethernet frame can carry a maximum of 1500 bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDP segment is 7488 bytes.
Which ONE of the following choices has the CORRECT total number of fragments transmitted and the size of the last fragment including IPv4 header?

Q8GATE 2024 (Session 1)1 markMSQ
Which of the following fields is/are modified in the IP header of a packet going out of a network address translation (NAT) device from an internal network to an external network?

One or more options are correct.

Q9GATE 2024 (Session 1)2 marksNAT
Consider the entries shown below in the forwarding table of an IP router. Each entry consists of an IP prefix and the corresponding next hop router for packets whose destination IP address matches the prefix. The notation "/N\mathrm{/N}" in a prefix indicates a subnet mask with the most significant N\mathrm{N} bits set to 1.

PrefixNext  hop  router10.1.1.0/24R110.1.1.128/25R210.1.1.64/26R310.1.1.192/26R4\begin{array}{|l|c|} \hline Prefix & Next\; hop \; router \\ \hline 10.1 .1 .0 / 24 & R1 \\ \hline 10.1 .1 .128 / 25 & R2 \\ \hline 10.1 .1 .64 / 26 & R3 \\ \hline 10.1 .1 .192 / 26 & R4 \\ \hline \end{array}

This router forwards 20 packets each to 5 hosts. The IP addresses of the hosts are 10.1.1.16, 10.1.1.72, 10.1.1.132, 10.1.1.191, and 10.1.1.205. The number of packets forwarded via the next hop router R2R 2 is

Q10GATE 2024 (Session 1)2 marksNAT
Consider sending an IP datagram of size 1420 bytes (including 20 bytes of IP header) from a sender to a receiver over a path of two links with a router between them. The first link (sender to router) has an MTU (Maximum Transmission Unit) size of 542 bytes, while the second link (router to receiver) has an MTU size of 360 bytes. The number of fragments that would be delivered at the receiver is _____

Keep practising

Topics in Computer Networks

All CS topics ›