Use Sophia to knock out your gen-ed requirements quickly and affordably. Learn more
×

How the Internet Works

Author: Sophia
what's covered
The Internet might feel like a single, invisible force that just “works,” but behind the scenes it is made up of many parts working together in structured ways. From the unique addresses that identify every device, to the protocols that govern how messages travel, to the high-speed backbone that carries global traffic, each element plays an important role.

In this tutorial, you will explore these building blocks step by step. You will see how devices get addresses, how names like google.com are translated into numbers, how data is divided into packets and routed across the world, and how protocols at every layer keep information moving smoothly and securely.

Specifically, this lesson will cover:

Table of Contents

1. The Internet's Building Blocks

The Internet is a global WAN made up of many smaller networks. These networks are owned by businesses, schools, governments, and even individuals, but they all work together by following the same set of protocols: TCP/IP. Thanks to this common suite, the Internet enables people to communicate and share information worldwide.

To understand how the internet works, it helps to break it down into components:

  • Endpoint devices: Computers, smartphones, tablets
  • Networks: Local networks like Wi-Fi or a business LAN
  • Infrastructure devices: Routers, switches, and cabling
  • Protocols: Rules for formatting, addressing, transmitting, and receiving data
  • Together, these form a layered system that you will learn about in this tutorial.

2. Addresses

Every device connected to the internet needs an identifier, just as every house on a street needs a mailing address. On the internet, this is called an Internet Protocol (IP) address. An IP address is a string of numbers that uniquely identifies a device on a network.

In addition to IP addresses, every device on a local network has a Media Access Control (MAC) address. This unique hardware identifier is built into the network card and does not change. While IP addresses handle communication across the wider internet, MAC addresses identify devices within a local network.

IN CONTEXT

An IP address is like a phone number, easily reassigned. A MAC address is like a street address, tied permanently to the house where it was built.

terms to know
IP address
A string of numbers that uniquely identifies a device on a network.
MAC Address (Media Access Control Address)
A unique hardware identifier assigned to a network device, used for communication on a local network.

2a. Types of IP Addresses

There are two versions of the Internet Protocol because the number of connected devices grew far beyond early expectations.

IPv4 was created in the early days of the internet and uses 32-bit addresses, supporting about 4.3 billion unique values. Written in dotted decimal form (for example, 192.168.1.1), it eventually ran short as billions of new devices came online.

IPv6 was introduced to solve this problem. It uses 128-bit addresses, providing virtually unlimited unique values and offering improvements in routing, security, and mobility. IPv6 addresses are written in hexadecimal and separated by colons.

IPv4 remains common because of older systems, but IPv6 is the long-term solution.

2b. Network Address Translation

Because there are fewer IPv4 addresses than devices, Network Address Translation (NAT) was developed to let multiple devices share a single public IP. Inside a local network, each device has a private IP, while the router translates these into one public IP visible to the wider internet.

IN CONTEXT

Think of it like an apartment building. Inside, every apartment has its own number (private IPs), but from the outside, everyone uses the same street address (the public IP). The building manager (your router with NAT) sorts out which apartment each letter belongs to. Outsiders only see the building’s main address.

IPv6 does not use NAT because it has enough addresses for every device to have its own unique public IP.

2c. DNS Servers and Name Resolution

A domain name is a human-friendly label used to identify websites and resources. Instead of typing IP addresses, users enter names like www.example.com. The Domain Name System (DNS) resolves these names into IP addresses so devices can connect.

When you type a domain into a browser, your device first checks if the address is cached locally. If not, it queries a DNS resolver, which consults a hierarchy of servers until it finds the correct IP. The result is returned to your device, allowing it to connect to the website.

Caching makes future lookups faster but means that changes to domain names may take time to spread across the internet.

terms to know
Domain Name System (DNS)
A network service that translates between IP addresses and human-friendly domain names.


3. Packets and Routing

At the heart of internet communication is the idea of breaking information into smaller pieces called packets. Instead of sending an entire email, webpage, or video as one large block, the internet divides it into many packets. Each carries a fragment of the data along with basic addressing information so it can find its way to the destination.

IN CONTEXT

Packets are like envelopes for a long letter. Instead of mailing it whole, you send each page in its own numbered envelope. The envelopes may take different routes but all arrive and are reassembled in order.

As packets travel across the internet, they pass through routers, which forward them toward the destination based on IP addresses. Because packets can take different paths, the network is flexible and can adapt to outages or congestion.

Once packets arrive, the Transmission Control Protocol (TCP) ensures they are arranged properly and requests any missing pieces. For activities where speed matters more than accuracy, such as streaming or online gaming, the User Datagram Protocol (UDP) is often used because it skips some of the error-checking steps.

terms to know
Packet
A small chunk of data sent across the internet, containing addressing and sequencing information.
TCP (Transmission Control Protocol)
A reliable network delivery protocol or packets that ensures reliable delivery by numbering and reordering packets.
UDP (User Datagram Protocol)
A fast network delivery protocol for packets that skips error-checking to achieve faster speed.



4. The Internet Backbone

The Internet backbone is the high-capacity network of cables and routers that carry data between major regions of the world. It includes:

  • Fiber optic cables spanning continents and oceans
  • High-speed routers at major exchange points.
  • Agreements between large internet service providers (ISPs) to share traffic
Local networks connect to regional ISPs, which connect to national and international backbones. Think of it like a highway system: small roads feed into bigger roads, and eventually into interstate highways. The backbone ensures that data can travel from any corner of the world to another.

term to know
Internet Backbone
The high-capacity cables and routers that carry global internet traffic between major networks.


5. Internet Protocols

For the internet to function, devices must agree on how to talk to each other. These rules are enforced by multiple protocols that operate at different layers of the data transmission process.

When the Internet (or any TCP/IP based network) sends and receives data, that data moves through a four-layer process. There are different protocols that govern how each layer works.

IT034

A transmission begins at the Application layer, where the program generating the request communicates with the operating system. The protocol depends on the task: a browser uses HTTP or HTTPS for web pages, while an email client may use IMAP to receive mail or SMTP to send it. This layer is closest to the user and sets the stage for the rest of the process.

The Transport layer ensures correct delivery. TCP provides reliability with error-checking and reordering, while UDP is faster but less precise, useful for streaming or gaming.

The Internet layer manages addressing and routing using IP, whether IPv4 or IPv6. It adds the source and destination addresses so routers can forward packets toward the recipient, though it does not guarantee delivery.

The Network Access layer handles physical transmission over Ethernet, Wi-Fi, or cellular. Here, MAC addresses identify devices on the local network while switches and access points move the bits. When data arrives, it moves back up the layers in reverse until it reaches the correct application.

IN CONTEXT

IT professionals must understand the TCP/IP model to configure networks, secure systems, and troubleshoot problems. End users don’t need this knowledge since software handles it automatically, but basic awareness—such as knowing email uses SMTP or video calls may rely on UDP—can make troubleshooting easier and communication with support clearer.

summary
In this lesson, you studied The Internet’s Building Blocks of devices, networks, and protocols. You learned how Addresses identify devices, and how Types of IP Addresses evolved from limited IPv4 to expansive IPv6. Network Address Translation was shown as a way to conserve IPv4 space, while DNS Servers and Name Resolution translate domain names into IPs. You then saw how Packets and Routing move data efficiently with TCP ensuring reliability and UDP favoring speed. Finally, you explored The Internet Backbone, which links regions worldwide, and Internet Protocols, where the TCP/IP model coordinates communication across layers.

Source: THIS TUTORIAL WAS AUTHORED BY SOPHIA LEARNING. PLEASE SEE OUR TERMS OF USE.

Terms to Know
Client

A computer system or device that sends a request to a server over a network.

Communication Protocol

A set of rules used to define the communication method and process between electronic devices.

Computer Network

Two or more computer systems connected together via communication media that use communication protocols to transmit data between each other.

Server

A computer system or device that listens for and attempts to respond to and fulfill requests.