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 66–70 of 74
The address resolution protocol (ARP) is used for:
Answer: (D)
ARP maps a known IP address to the MAC (hardware) address of the same host on the local network. A host broadcasts an ARP request, "Who has this IP address?", and the owner replies with its MAC address.
Why the others are wrong: (A) finding an IP address from a name is done by DNS. (B) ARP does not find the default gateway. (C) mapping a MAC address to an IP address is the reverse job, done by RARP.
Answer: (D)
Why the others are wrong: (A) finding an IP address from a name is done by DNS. (B) ARP does not find the default gateway. (C) mapping a MAC address to an IP address is the reverse job, done by RARP.
Answer: (D)
In the TCP/IP protocol suite, which one of the following is NOT part of the IP header?
Answer: (D)
The IP header has fields such as fragment offset, source IP address and destination IP address, all used for routing and fragmentation at the network layer.
Port numbers are not in the IP header. They are in the TCP or UDP header and are used by the transport layer to deliver data to the right process.
Answer: (D)
Port numbers are not in the IP header. They are in the TCP or UDP header and are used by the transport layer to deliver data to the right process.
Answer: (D)
A host is connected to a Department network which is part of a University network. The University network, in turn, is part of the Internet. The largest network in which the Ethernet address of the host is unique is
Answer: (D)
An Ethernet address is the same as a MAC address. It is burned into the NIC by the manufacturer, and the manufacturer's block of the address is assigned by a global authority, so the address is unique across all devices in the world.
It does not depend on which network the device is in. If a device moves from one network to another, its MAC address stays the same. So the largest network in which it is unique is the whole Internet.
Answer: (D)
It does not depend on which network the device is in. If a device moves from one network to another, its MAC address stays the same. So the largest network in which it is unique is the whole Internet.
Answer: (D)
A subnet has been assigned a subnet mask of 255.255.255.192. What is the maximum number of hosts that can belong to this subnet?
Answer: (C)
The last octet of the mask is , so the mask is 26 ones followed by 6 zeros. That leaves 6 host bits.
Number of addresses .
Two of these are reserved: the all-zeros host part is the network address and the all-ones host part is the broadcast address. So hosts .
Answer: (C)
Number of addresses .
Two of these are reserved: the all-zeros host part is the network address and the all-ones host part is the broadcast address. So hosts .
Answer: (C)
Consider three IP networks A, B and C. Host HA in network A sends messages each containing 180 bytes of application data to a host HC in network C. The TCP layer prefixes a 20 byte header to the message. This passes through an intermediate network B. The maximum packet size, including 20 byte IP header, in each network is
A : 1000 bytes
B : 100 bytes
C : 1000 bytes
The network A and B are connected through a 1 Mbps link, while B and C are connected by a 512 Kbps link (bps = bits per second).
Assuming that the packets are correctly delivered, how many bytes, including headers, are delivered to the IP layer at the destination for one application message, in the best case ? Consider only data packets.
A : 1000 bytes
B : 100 bytes
C : 1000 bytes
The network A and B are connected through a 1 Mbps link, while B and C are connected by a 512 Kbps link (bps = bits per second).
Assuming that the packets are correctly delivered, how many bytes, including headers, are delivered to the IP layer at the destination for one application message, in the best case ? Consider only data packets.
Answer: (D)
Data sent by the TCP layer bytes (application data plus TCP header). Network A allows 1000 bytes per packet, so the packet bytes passes without fragmentation. Network B has a maximum packet size of 100 bytes.
Each fragment carries a 20-byte IP header, so its data can be at most bytes. 80 is a multiple of 8, which is needed because the fragment offset is counted in units of 8 bytes, so 80 is allowed.
The 200 bytes of data split into , which makes 3 fragments of sizes bytes.
Network C allows 1000 bytes, so the fragments are not split further, and the destination receives all three. In the best case none of them is lost or fragmented again.
Total delivered to the IP layer at the destination bytes. This is the 200 bytes of data plus bytes of IP headers. The link speeds do not change this count.
Answer: (D)
Each fragment carries a 20-byte IP header, so its data can be at most bytes. 80 is a multiple of 8, which is needed because the fragment offset is counted in units of 8 bytes, so 80 is allowed.
The 200 bytes of data split into , which makes 3 fragments of sizes bytes.
Network C allows 1000 bytes, so the fragments are not split further, and the destination receives all three. In the best case none of them is lost or fragmented again.
Total delivered to the IP layer at the destination bytes. This is the 200 bytes of data plus bytes of IP headers. The link speeds do not change this count.
Answer: (D)
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link Layer
Network Layer ProtocolYou are here
Transport Layer ProtocolApplication Layer ProtocolsNetwork Security