What Keeps the Internet Running? A Practical Guide to the Protocols Behind Every Web Request
Every time you type a URL into your browser and press Enter, a surprisingly large number of networking protocols work together behind the scenes.
You see a webpage almost instantly.
But before that happens, your device may need to discover a server's IP address, communicate with your local network, establish a secure connection, route packets across multiple networks, and finally exchange application data with the destination server.
The internet doesn't rely on one protocol.
It relies on layers of protocols, each solving a specific problem.
Let's break down the most important ones.
1. DNS — Finding the Destination
DNS (Domain Name System) translates human-readable domain names into IP addresses.
When you enter:
example.com
your computer needs to discover which IP address corresponds to that domain.
A simplified flow looks like:
Domain Name → DNS Lookup → IP Address
Without DNS, users would have to remember numerical IP addresses instead of convenient domain names.
DNS operates primarily at the application layer.
2. DHCP — Getting an IP Address
Before your device can communicate effectively on a network, it needs network configuration.
That's where DHCP (Dynamic Host Configuration Protocol) comes in.
DHCP can automatically provide devices with information such as:
- IP address
- Subnet mask
- Default gateway
- DNS server
A simplified process is:
Device → DHCP Request → DHCP Server → Network Configuration
This is why you can connect a laptop or phone to a network without manually configuring an IP address every time.
3. ARP — Finding the Local Device
Knowing an IP address isn't always enough.
On an IPv4 local network, a device may need to discover the MAC address associated with a local IP address.
That's the job of ARP (Address Resolution Protocol).
Conceptually:
IP Address → ARP → MAC Address
The MAC address is then used for local Ethernet or Wi-Fi delivery.
This is one of the local-network steps that users rarely notice because it happens automatically.
4. TCP — Reliable Transport
Once your device knows where it needs to communicate, transport protocols become important.
TCP (Transmission Control Protocol) provides reliable, ordered delivery of data.
It uses mechanisms such as:
- Connection establishment
- Sequence numbers
- Acknowledgments
- Retransmissions
- Flow control
- Congestion control
The goal is to ensure that data can be delivered reliably between applications.
A simplified connection establishment is commonly represented as the:
SYN → SYN-ACK → ACK
three-way handshake.
5. TLS — Securing the Connection
If you're visiting an HTTPS website, TLS (Transport Layer Security) helps protect the communication.
TLS provides important security properties such as:
- Encryption
- Authentication
- Integrity protection
Instead of sending sensitive information as readable plaintext across the network, encrypted communication is established between the client and server.
That familiar browser padlock is associated with this secure HTTPS connection.
A simplified conceptual flow is:
TCP Connection → TLS Handshake → Encrypted Application Data
Modern HTTPS commonly uses TLS over TCP, while newer protocols such as HTTP/3 use QUIC, which incorporates TLS differently.
6. HTTP/3 — Modern Web Transport
Modern websites don't necessarily use the traditional:
HTTP → TCP → TLS
stack.
HTTP/3 runs over QUIC, which itself uses UDP as its underlying transport.
QUIC was designed to provide features such as:
- Secure transport
- Stream multiplexing
- Faster connection establishment
- Improved behavior when network conditions change
This can be particularly useful for modern web applications where latency matters.
7. WebSocket — Persistent Two-Way Communication
Normal HTTP requests often follow a request-response pattern.
Client → Request → Server → Response
But some applications need continuous, two-way communication.
That's where WebSocket can be useful.
After establishing the connection, both the client and server can exchange messages over the persistent connection.
Common use cases include:
- Chat applications
- Live dashboards
- Multiplayer applications
- Notifications
- Real-time collaboration
8. WebRTC — Real-Time Audio and Video
WebRTC (Web Real-Time Communication) enables real-time communication directly between applications and browsers.
It is commonly used for:
- Video conferencing
- Voice calls
- Screen sharing
- Real-time media
Unlike ordinary webpage requests, real-time media has very different latency and transport requirements.
WebRTC provides a collection of technologies that help establish and maintain these real-time communication sessions.
9. gRPC — Service-to-Service Communication
Modern applications are often distributed across many services.
One service might handle authentication.
Another might process payments.
Another might perform AI inference.
These services need to communicate with each other.
gRPC is a framework commonly used for service-to-service communication, particularly in distributed systems.
It supports efficient remote procedure calls and commonly uses HTTP/2 for transport.
A simplified architecture might look like:
Service A → gRPC → Service B
This makes gRPC particularly useful in microservice architectures.
10. MQTT — Lightweight Messaging
MQTT (Message Queuing Telemetry Transport) is designed for lightweight messaging, especially in environments where bandwidth or device resources may be constrained.
It uses a publish/subscribe model.
For example:
Temperature Sensor → MQTT Broker → Subscribers
This makes MQTT useful for:
- IoT devices
- Sensors
- Industrial systems
- Connected devices
- Telemetry
11. SSH — Secure Remote Access
SSH (Secure Shell) provides secure remote access to computers and servers.
Engineers commonly use SSH to:
- Access remote servers
- Execute commands
- Transfer files
- Manage infrastructure
- Troubleshoot systems
A simplified flow is:
Your Computer → Encrypted SSH Connection → Remote Server
SSH is one of the fundamental tools in modern infrastructure and DevOps.
12. SMTP — Sending Email
Email also relies on networking protocols.
SMTP (Simple Mail Transfer Protocol) is used for sending email between mail systems and from clients to mail servers in appropriate configurations.
A simplified path might look like:
Email Client → SMTP Server → Recipient Mail Server
Other protocols, such as IMAP and POP3, are commonly associated with retrieving email.
13. TCP vs UDP
Two important transport-layer protocols are TCP and UDP.
TCP
TCP provides:
- Reliable delivery
- Ordered data
- Connection-oriented communication
- Congestion control
It is useful when reliable delivery is important.
UDP
UDP provides a lightweight, connectionless datagram transport.
It doesn't provide TCP-style reliability and ordering guarantees.
That simplicity makes it useful for applications where the application or another protocol handles reliability and where low overhead or flexible delivery is important.
QUIC, for example, uses UDP as its underlying transport.
14. IPv4 and IPv6 — Addressing the Internet
At the Internet layer, IP provides addressing and packet delivery between networks.
IPv4
IPv4 uses 32-bit addresses.
Example:
192.168.1.10
IPv6
IPv6 uses 128-bit addresses.
Example:
2001:db8::1
IPv6 was designed in part to address the limitations of IPv4 address availability and provides a much larger address space.
15. ICMP — Network Control and Diagnostics
ICMP (Internet Control Message Protocol) is used for network control, diagnostics, and error reporting.
One familiar example is:
ping
Ping commonly uses ICMP Echo Request and Echo Reply messages to test reachability and measure round-trip time.
Network tools can use ICMP-related messages to help diagnose connectivity and routing problems.
16. BGP — Connecting Networks Together
This is where the internet becomes especially interesting.
The global internet isn't one giant network controlled by one organization.
It is a network of networks.
BGP (Border Gateway Protocol) is the principal routing protocol used to exchange reachability information between autonomous systems on the internet.
In simplified terms, BGP helps networks determine how traffic can reach other networks.
Conceptually:
Network A → BGP → Network B → BGP → Network C
BGP is one of the fundamental technologies that allows independently operated networks to participate in the global internet.
17. OSPF — Routing Inside a Network
While BGP is primarily concerned with routing between autonomous systems, organizations also need protocols for routing within their own networks.
OSPF (Open Shortest Path First) is an example of an interior gateway protocol.
It helps routers within an autonomous system determine appropriate paths through the network.
So, at a high level:
OSPF → Routing within a network
BGP → Routing between autonomous systems
18. Ethernet — Wired Local Networking
When data travels across a traditional wired local network, Ethernet is one of the foundational technologies involved.
Ethernet defines important aspects of local network communication, including framing and addressing at the link layer.
A simplified path can look like:
Application → Transport → IP → Ethernet → Physical Network
19. Wi-Fi — Wireless Networking
Wi-Fi provides wireless local-area networking.
Instead of sending Ethernet frames through a physical cable, Wi-Fi enables compatible devices to communicate over radio.
Your laptop connecting to a wireless router is a simple example.
The higher-level protocols—such as IP, TCP, TLS, and HTTP—can continue operating above the local link technology.
20. VLAN — Segmenting Networks
VLANs (Virtual Local Area Networks) allow networks to be logically segmented.
For example, an organization could separate:
- Employee devices
- Guest devices
- Servers
- IoT devices
even when they share physical networking infrastructure.
VLANs are widely used in enterprise network design.
21. NAT — Translating Network Addresses
NAT (Network Address Translation) allows network addresses to be translated between different address spaces.
A common example is a home network where multiple private IPv4 devices access the public internet through a router with a public IP address.
Conceptually:
Private Network → NAT Router → Public Internet
NAT has become a common part of IPv4 network deployments, particularly because private address spaces allow many devices to share public IPv4 connectivity.
22. Putting It All Together
So what happens when you type a URL into your browser?
A simplified version looks something like this:
Step 1 — Network Configuration
Your device obtains network configuration, often through:
DHCP
Step 2 — Domain Resolution
The browser needs to discover the destination address:
DNS → IP Address
Step 3 — Local Delivery
If the destination is reached through the local network, mechanisms such as:
ARP → MAC Address
can help determine the local link-layer destination for IPv4.
Step 4 — Routing
Your packets travel through multiple networks.
Routing protocols such as:
OSPF + BGP
help networks determine paths.
Step 5 — Transport
Depending on the application and protocol:
TCP, UDP, or QUIC
may carry the traffic.
Step 6 — Security
For HTTPS:
TLS
protects the communication.
Step 7 — Application Protocol
Finally, the application protocol handles the actual request.
For a modern website, that could be:
HTTP/1.1, HTTP/2, or HTTP/3
Step 8 — Response
The server processes the request and sends data back through the networking stack.
Your browser then turns that response into the webpage you see.
The Internet Is a Stack, Not a Single Technology
The most important lesson is that the internet works because many specialized protocols cooperate.
A simplified view is:
Application Layer
HTTP/3 · WebSocket · WebRTC · gRPC · DNS · MQTT · SSH · SMTP
↓
Transport Layer
TCP · UDP · QUIC
↓
Internet Layer
IPv4 · IPv6 · ICMP · BGP · OSPF
↓
Link Layer
Ethernet · Wi-Fi · VLAN · PPP · ARP
Each protocol solves a different problem.
You don't need to understand every packet to browse the web—but understanding these layers gives you a much better mental model of what's happening whenever an application communicates across a network.
Final Takeaway
The next time you type a URL and a webpage appears almost instantly, remember what is happening underneath:
DNS finds the destination.
DHCP configures your device.
ARP handles local address resolution.
IP addresses and routes packets.
TCP or QUIC transports data.
TLS protects the connection.
HTTP delivers the web content.
BGP connects networks across the global internet.
Ethernet and Wi-Fi move data across local links.
All of these technologies work together so seamlessly that we rarely think about them—until something breaks.
The internet isn't powered by one protocol. It's powered by an entire ecosystem of protocols working together.