# Q2(c) · ARP response destination

Subject: Computer Networks

Exam: TEE

Reader: https://deep-learning-study-room.vercel.app/cn/#tee/papers/paper-2024-ai-final/q2c

Canonical: https://deep-learning-study-room.vercel.app/read/cn/tee/papers/paper-2024-ai-final--q2c/

Exact historical variant. Current-syllabus questions solved; excluded topics and source limitations stated.

### Q2(c). Why is an ARP response normally sent to a specific destination MAC address rather than broadcast? [5 marks]

### Answer

**Definition.** Address Resolution Protocol (ARP) resolves a known IPv4 address to a link-layer hardware address on the local network.

**Simple meaning.** IP pata hai; local delivery ke liye MAC chahiye.

Swipe across the diagram to read its labels ↔

![ARP resolves the selected local next hop](https://deep-learning-study-room.vercel.app/cn/fig/arp.c8af39ddb3.svg)

Diagram: ARP resolves the selected local next hop. Labels: ARP resolves the selected local next hop | ARP resolves the selected local next hop | 1. Decide local destination or gateway | Compare the destination with the local prefix. | 2. Look in the ARP cache | If the next-hop mapping is missing, send a local broadcast request. | 3. Receive the mapping | The address owner normally replies with its hardware address. | 4. Build the local frame | Use that MAC for the next link; retain the final destination IP.

ARP: find the local next-hop MAC address

## Understand it step by step

1. First determine whether the destination is on the local subnet. If local, the next hop is the destination itself. If remote, the next hop is a router such as the default gateway.
2. Check the ARP cache. If the next-hop mapping is absent, broadcast an ARP request on the local link.
3. The owner of the requested IPv4 address normally replies with its hardware address. The sender caches the mapping and constructs its data frame.
4. Routers do not normally forward a host’s ARP broadcast across networks. ARP resolves the next hop, not the MAC of a remote Internet server.

#### Practical example

Host 192.168.1.10/24 sending to 192.168.1.20 asks for .20’s MAC. Sending to 203.0.113.7 through gateway 192.168.1.1 asks for the gateway’s MAC instead.

ARP maps a known local next-hop IPv4 address to a hardware address. A sender broadcasts a request when the mapping is missing; the address owner replies, and the mapping is cached. For a remote IP destination, the sender resolves its gateway’s local MAC address, then forwards the packet toward that gateway.

**Yaad rakho:** Remote packet ka next-hop MAC gateway ka hota hai.

The request already contains the requester’s MAC address. The owner of the requested IP can therefore address its reply directly to that MAC. Unicast avoids making every LAN host process a reply intended for one requester and reduces unnecessary traffic. Ordinary request is broadcast because the destination MAC was unknown; ordinary response is unicast because it is now known. Gratuitous/announcement ARP is a different case and can be broadcast.
