Discovery · Lesson 07

How does a device deliver traffic locally?

A local network can deliver directly, ask everyone, or address a selected group. ARP (Address Resolution Protocol), broadcast, multicast, and unicast describe different delivery decisions.

The local delivery problem

An IP address is not the whole local delivery story.

On an Ethernet network, a device needs the next interface's MAC (Media Access Control) address to deliver a frame. For an on-link destination, that interface belongs to the destination; for an off-link destination, it normally belongs to the next-hop router.

ARP resolves an IPv4 address to a local MAC address. A request is normally broadcast and the reply is normally unicast. A usable cached mapping avoids repeating the request for every packet.

IPv6 uses Neighbor Discovery rather than ARP. ARP does not authenticate replies: a received mapping alone is not proof of a device's identity.

Local delivery and routing answer different questions.Local delivery finds the next interface on the current network. Routing decides whether the destination is local or needs another network.

Address resolution

ARP and RARP resolve addresses in opposite directions.

01

ARP

Starts with an IPv4 address and discovers the local MAC address needed for the Ethernet frame.

02

RARP

RARP (Reverse Address Resolution Protocol) starts with a device MAC address and asks for an IPv4 address, mainly for older diskless systems.

BOOTP means Bootstrap Protocol; DHCP means Dynamic Host Configuration Protocol; DNS means Domain Name System.

RARP is historical.RARP was limited and has largely been replaced by BOOTP and DHCP, which can assign an address and provide configuration such as a gateway and DNS server.

Build the model

Four delivery ideas

01

Unicast

One sender delivers to one selected destination.

02

Broadcast

One sender delivers to every device in the local broadcast domain.

03

Multicast

One sender delivers to devices that joined a selected group.

04

ARP

Maps an IPv4 address to a local hardware address so a frame can be delivered.

Local Ethernet broadcasts normally stay within their broadcast domain; routers do not forward them to every network. Receiving a frame does not mean every application accepts its contents.

Multicast describes intended group receivers, not a guarantee that only their switch ports receive the frame. A switch may flood multicast when group forwarding state is missing.

Mini experiment

Choose the destination pattern

Select a delivery goal and compare its intended receivers. This simplified model does not show every port a switch may forward to.

PATTERN
RECEIVERS
WHY

Knowledge check

Test your local delivery model