Protocols & models · Offline reference

Common Protocol Reference

Identify common protocols by the job they perform and the units they exchange. IP selects an end destination and a forwarding path. An Ethernet link still needs a frame for the next local interface. Each network hop chooses its own link-layer delivery method.

Inputs

Result

Selection
All entries
Calculated or matching entries
ProtocolPrincipal jobUnit or identifying detail
EthernetDeliver a frame on a local linkA MAC frame carries link-layer addresses and an upper-layer identifier.
ARPResolve a next-hop IPv4 address on EthernetAn ARP message relates a protocol address to a hardware address.
IPv4 / IPv6Address packets and route them between linksThe network header carries source, destination and a lifetime or hop limit.
ICMP / ICMPv6Carry network control, feedback and error informationA type and code identify a message. ICMPv6 also supports Neighbor Discovery.
TCPDeliver an ordered byte streamSegments have sequence numbers and acknowledgments.
UDPDeliver individual datagramsEach datagram carries a source port, destination port, length and checksum field.
DNSRetrieve named resource recordsA question specifies an owner and type. DNS can use multiple transports.
DHCPv4Lease configuration to an IPv4 clientMessages contain options such as address lifetime, mask and DNS server.
TLSAuthenticate peers as configured and protect a channelTLS negotiation and record protection are distinct from IP forwarding.
In this guide11 sections

Introduction

Identify common protocols by the job they perform and the units they exchange. IP selects an end destination and a forwarding path. An Ethernet link still needs a frame for the next local interface. Each network hop chooses its own link-layer delivery method.

Method and concepts

An application produces bytes. TCP presents an ordered byte stream and segments it for delivery. UDP carries individual datagrams. IP carries a transport segment or datagram across networks. For each Ethernet hop, a frame carries the IP packet to the next interface.

  1. Select an entry to isolate the relevant case.
  2. Read the associated evidence and compare it with your local configuration.

Networking fundamentals diagram

  1. Workstation · 192.0.2.21
  2. LAN switch · forwards frame
  3. Router · selects next hop
  4. Service · 198.51.100.8
On the workstation's Ethernet link, the router receives the frame. The remote service remains the IP destination throughout this ordinary routed example.

Worked examples

Read the Ethernet entry

  1. Deliver a frame on a local link
  2. A MAC frame carries link-layer addresses and an upper-layer identifier.

Networking fundamentals: Trace a request to a remote service

  1. Give the workstation 192.0.2.21/24 and gateway 192.0.2.1. The service 198.51.100.8 lies outside 192.0.2.0/24.
  2. The default route selects 192.0.2.1. The workstation resolves the gateway's local Ethernet address, then addresses the frame to the gateway while leaving 198.51.100.8 in the packet's destination field.
  3. At a rate of 100,000,000 bit/s, serializing 1,500 bytes alone takes 1,500 × 8 ÷ 100,000,000 seconds, or 120 microseconds. A complete exchange also accounts for link overhead, intervening hops and the reply.

Reference table

Common Protocol Reference reference
ProtocolPrincipal jobUnit or identifying detail
EthernetDeliver a frame on a local linkA MAC frame carries link-layer addresses and an upper-layer identifier.
ARPResolve a next-hop IPv4 address on EthernetAn ARP message relates a protocol address to a hardware address.
IPv4 / IPv6Address packets and route them between linksThe network header carries source, destination and a lifetime or hop limit.
ICMP / ICMPv6Carry network control, feedback and error informationA type and code identify a message. ICMPv6 also supports Neighbor Discovery.
TCPDeliver an ordered byte streamSegments have sequence numbers and acknowledgments.
UDPDeliver individual datagramsEach datagram carries a source port, destination port, length and checksum field.
DNSRetrieve named resource recordsA question specifies an owner and type. DNS can use multiple transports.
DHCPv4Lease configuration to an IPv4 clientMessages contain options such as address lifetime, mask and DNS server.
TLSAuthenticate peers as configured and protect a channelTLS negotiation and record protection are distinct from IP forwarding.

Reading the result

Serialization time is the time a link takes to put all the bits of a unit on the wire. Divide bits by bits per second. Propagation adds a distance-dependent delay. Processing and queues add further delay that can vary from packet to packet.

Common mistakes

  • Looking for a remote server's MAC address in the workstation's local neighbor table.
  • Using the advertised line rate as an application throughput guarantee.

Frequently asked questions

Why is Ethernet needed when an application already uses IP?

IP selects an end destination and a forwarding path. An Ethernet link still needs a frame for the next local interface. Each network hop chooses its own link-layer delivery method.

Can two devices communicate through a switch without a router?

Yes. Two correctly configured devices on the same Ethernet domain can deliver local IP traffic directly. A router is needed to forward between IP networks.

Why does a successful address lookup leave other checks to make?

DNS supplies a candidate address. Packet forwarding, transport establishment and the application exchange are subsequent steps, each with its own configuration.

Does a switch choose the route to a remote IP address?

An ordinary Layer 2 switch forwards frames within a link-layer domain using destination MAC information. A router selects a next hop for traffic crossing IP networks.

Does the destination MAC stay the same across the whole path?

Usually it changes at each routed Ethernet hop. The IP destination can remain the remote service while each local frame names the next hop on that link.

Why can a fast link still feel slow?

Line rate affects serialization, but propagation distance, queueing, processing, retransmissions, and the remote service also contribute to elapsed time.

Does a successful ping prove an application works?

No. It tests a particular ICMP exchange. DNS resolution, transport connection setup, firewall policy, TLS, and application behavior still need their own checks.

What is encapsulation?

Each protocol adds information needed for its part of delivery. Application bytes can be carried by a transport unit, inside an IP packet, inside a link frame, and ultimately as signals on a medium.

Does a router preserve the incoming Ethernet frame?

A router normally removes the incoming link-layer header, forwards the network-layer packet, then creates a new link-layer frame for the next link.

Why can packet loss reduce TCP throughput?

TCP interprets loss as a signal to recover data and adjust congestion behavior. Retransmissions consume capacity and a reduced sending window can slow later data.

Can DNS be working while a web connection fails?

Yes. DNS can return an address while routing, firewall policy, transport setup, TLS validation, or the web application fails later in the request path.

Why can a frame be discarded even when its destination IP is correct?

The local frame can contain an unknown or incorrect destination MAC, fail its frame check, belong to the wrong VLAN, or arrive on a link with a policy or physical fault. IP addressing is only one part of delivery.

What is a network MTU?

It is the maximum network-layer packet size a link is configured to carry without link-independent fragmentation. The link framing around that packet adds its own bytes.

Does DNS usually use TCP or UDP?

Traditional DNS queries commonly use UDP, while TCP is also used, including for some large or truncated replies and zone transfers. DNS over TLS and DNS over HTTPS use different transport arrangements.

Can one application exchange use several network paths?

Yes. DNS can return several addresses, routing can change, and modern transports can use multiple paths. A successful test on one address or route does not prove every path works.

What is the difference between capacity and throughput?

Capacity describes a link's potential rate under specified conditions. Throughput is the rate actually achieved for traffic across a path, after contention, protocol overhead, and other limits.

Further learning and references