Crack
GATE
C
G
Topic
Routing and IP Addressing
Computer Networks
0
/ 31 done
Questions per paper
All
MCQ
MSQ
NAT
2015 to 2026. Point at a year to read it.
0
1
2
3
2015
2019
2021
2023
2025
2026
Show as a table
Year
All
MCQ
MSQ
NAT
2015
1.3
1
0
0.3
2018
0
0
0
0
2019
2
2
0
0
2020
2
2
0
0
2021
1.5
0.5
1
0
2022
3
1
1
1
2023
2
0
1
1
2024
3
0.5
1.5
1
2025
3
2.5
0
0.5
2026
1.5
0.5
0.5
0.5
1
CS 2026 Set 1 · 2 marks · MSQ · Moderate
An ISP having an address block 202.16.0.0/15 assigns a block of 6000 IP addresses to a client, using the classless internet domain routing (CIDR) super-netting approach. Which of the following address blocks can be assigned by the ISP?
2
CS 2026 Set 2 · 1 mark · MCQ · Easy
Which one of the following protocols may need to broadcast some of its messages?
3
CS 2026 Set 2 · 1 mark · NAT · Easy
If an IP network uses a subnet mask of 255.255.240.0, the maximum number of IP addresses that can be assigned to network interfaces is ________. (answer in integer)
4
CS 2025 Set 1 · 2 marks · MCQ · Moderate
A packet with the destination IP address
145.36.109.70
145.36.109.70
145.36.109.70
arrives at a router whose routing table is shown. Which interface will the packet be forwarded to?
5
CS 2025 Set 1 · 2 marks · NAT · Hard
Suppose a message of size
15000
b
y
t
e
s
15000\,\mathrm{bytes}
15000
bytes
is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is ____. (Answer in integer)
6
CS 2025 Set 2 · 1 mark · MCQ · Easy
Consider the following statements:
7
CS 2025 Set 2 · 1 mark · MCQ · Easy
Consider the routing protocols given in
List I
and the names given in
List II
:
8
CS 2025 Set 2 · 1 mark · MCQ · Moderate
A machine receives an IPv4 datagram. The protocol field of the IPv4 header has the protocol number of a protocol X.
9
CS 2025 Set 2 · 1 mark · MCQ · Moderate
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.
10
CS 2024 Set 1 · 1 mark · MSQ · Easy
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?
11
CS 2024 Set 1 · 2 marks · NAT · Moderate
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
N
N
” in a prefix indicates a subnet mask with the most significant
N
N
N
bits set to 1.
12
CS 2024 Set 1 · 2 marks · NAT · Moderate
Consider sending an IP datagram of size
1420
1420
1420
bytes (including
20
20
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
542
542
bytes, while the second link (router to receiver) has an MTU size of
360
360
360
bytes. The number of fragments that would be delivered at the receiver is ____
13
CS 2024 Set 2 · 1 mark · MSQ · Easy
Which of the following statements about IPv4 fragmentation is/are TRUE?
14
CS 2024 Set 2 · 1 mark · MSQ · Easy
Which of the following fields of an IP header is/are always modified by any router before it forwards the IP packet?
15
CS 2024 Set 2 · 2 marks · MCQ · Easy
Which one of the following CIDR prefixes exactly represents the range of IP addresses 10.12.2.0 to 10.12.3.255?
16
CS 2023 · 1 mark · MSQ · Easy
Which of the following statements is/are INCORRECT about the OSPF (Open Shortest Path First) routing protocol used in the Internet?
17
CS 2023 · 2 marks · NAT · Moderate
The forwarding table of a router is shown below.
18
CS 2022 · 1 mark · MCQ · Moderate
Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below.
19
CS 2022 · 2 marks · MSQ · Hard
Consider routing table of an organization’s router shown below:
20
CS 2022 · 2 marks · NAT · Moderate
Consider a network with three routers
P
P
P
,
Q
Q
Q
,
R
R
R
shown in the figure below. All the links have cost of unity.
21
CS 2021 Set 1 · 1 mark · MCQ · Easy
Consider the following two statements.
22
CS 2021 Set 1 · 2 marks · MSQ · Moderate
Consider two hosts
P
P
P
and
Q
Q
Q
connected through a router
R
R
R
. The maximum transfer unit (MTU) value of the link between
P
P
P
and
R
R
R
is 1500 bytes, and between
R
R
R
and
Q
Q
Q
is 820 bytes.
23
CS 2021 Set 2 · 2 marks · MSQ · Moderate
Consider a computer network using the distance vector routing algorithm in its network layer. The partial topology of the network is as shown below.
24
CS 2020 · 1 mark · MCQ · Moderate
Consider the following statements about the functionality of an IP based router.
25
CS 2020 · 2 marks · MCQ · Moderate
An organization requires a range of IP addresses to assign one to each of its
1500
1500
1500
computers. The organization has approached an Internet Service Provider (ISP) for this task. The ISP uses CIDR and serves the requests from the available IP address space
202.61.0.0
/
17
202.61.0.0/17
202.61.0.0/17
. The ISP wants to assign an address space to the organization which will minimize the number of routing entries in the ISP's router using route aggregation. Which of the following address spaces are potential candidates from which the ISP can allot any one to the organization?
26
CS 2019 · 2 marks · MCQ · Moderate
Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5, and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for all the three machines. Which one of the following is true?
27
CS 2019 · 2 marks · MCQ · Easy
Suppose that in an IP-over-Ethernet network, a machine X wishes to find the MAC address of another machine Y in its subnet. Which one of the following techniques can be used for this?
28
CS 2015 Set 1 · 1 mark · MCQ · Easy
Which one of the following fields of an IP header is NOT modified by a typical IP router?
29
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Consider the following routing table at an IP router:
30
CS 2015 Set 2 · 2 marks · MCQ · Moderate
Host A sends a UDP datagram containing
8880
b
y
t
e
s
8880\,\mathrm{bytes}
8880
bytes
of user data to host B over an Ethernet LAN. Ethernet frames may carry data up to
1500
b
y
t
e
s
1500\,\mathrm{bytes}
1500
bytes
(i.e.
M
T
U
=
1500
b
y
t
e
s
\mathrm{MTU}=1500\,\mathrm{bytes}
MTU
=
1500
bytes
). Size of UDP header is
8
b
y
t
e
s
8\,\mathrm{bytes}
8
bytes
and size of IP header is
20
b
y
t
e
s
20\,\mathrm{bytes}
20
bytes
. There is no option field in IP header. How many total number of IP fragments will be transmitted and what will be the contents of offset field in the last fragment?
31
CS 2015 Set 3 · 2 marks · NAT · Moderate
In the network
200.10.11.144
/
27
200.10.11.144/27
200.10.11.144/27
, the fourth octet (in decimal) of the last IP address of the network which can be assigned to a host is ____.