Skip to content

GATE CS 2005 Q24 — Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets

Explain with AI

The address resolution protocol (ARP) is used for:

Choose one option
View worked solution

Answer: D

The Address Resolution Protocol (ARP) is a communication protocol used for discovering the link-layer address (MAC address) associated with a given internet-layer address (IP address) within a local network.

When a host needs to send a packet to another host on the same local network, it knows the destination's IP address but requires its physical MAC address to encapsulate the packet into a data link layer frame. It broadcasts an ARP Request, and the target host replies with its MAC address.

Analysis of the options:

  • Option A: Finding the IP address from a domain name is performed by the DNS (Domain Name System) protocol.
  • Option B: Finding the IP address of the default gateway is typically handled via DHCP (Dynamic Host Configuration Protocol) or static configuration.
  • Option C: Finding the IP address that corresponds to a MAC address is performed by RARP (Reverse ARP) or DHCP.
  • Option D: Finding the MAC address that corresponds to an IP address is the fundamental purpose of ARP.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Transport Layer: Flow Control, Congestion Control, UDP, TCP, Sockets questions