Several identifiers, one exchange
Network conversations use different identifiers for different decisions.
A person may start with a DNS name such as example.com. DNS can resolve that name to an IP address. Routing uses the IP address to choose a destination network, while the transport port identifies the service on that host.
At each local hop, the sender needs a next-hop link-layer address such as a MAC address. That local address can change at every router even though the end-to-end destination IP remains the routing target.
Build the model
Four addressing roles
Name
DNS provides a human-friendly label that can resolve to one or more addresses.
IP address
IPv4 or IPv6 identifies the routed destination and its network prefix.
Port
A transport port selects the service or conversation endpoint on a host.
MAC address
A link-layer address identifies the next local receiver for a frame.
Follow the request
Each layer answers a different question
The identifiers cooperate but are not interchangeable. DNS can change its answer, routing can choose a different path, and the local MAC destination can change at every hop.
Knowledge check
Test your addressing model
Answer six questions.