Module 1 · Computing Fundamentals

How the internet works

Lesson 3 of 10 8 min lesson Updated on October 30, 2026
Progress in the course30%

In this lesson

The internet is an agreement.

It is a set of written rules that different networks accept. Understanding the rules explains why the call lags and what the padlock guarantees.

One idea: packets

Before the internet, a phone call reserved a whole line between two people. The line stayed busy even in silence. In 1961, the researcher Leonard Kleinrock proposed another way: cutting the information into small pieces, the packets. Each packet carries the destination address. Each one travels by any free path, and at the destination they are put back together.

On October 29, 1969, Kleinrock tried to send the word "login" to another computer. Only the letters "l" and "o" arrived, and the system crashed. The first message on the internet was "lo".

On January 1, 1983, the networks switched to TCP/IP. That is the birth date of today's internet.

What each piece does

The rules live in public documents, the RFCs. Anyone can read them. The table shows what each piece does and what it does not do.

PieceWhat it doesWhat it does not do
IPTakes the packet to its destinationDoes not guarantee it arrives
TCPDelivers everything, in orderIs not fast when something gets lost
UDPSends with no red tapeDoes not guarantee delivery
DNSTranslates a name into an addressDoes not carry the page
TLSEncrypts the connection (the "s" in https)Does not prove the owner is honest

Think of IP as the mail carrier: it takes the envelope, but does not check whether it arrived. TCP is mail with proof of delivery. UDP is a note thrown out the window: fast, with no confirmation.

That is why a video call uses UDP: it is not worth waiting for the lost frame. A download uses TCP, because every byte has to arrive.

What the pros know

When you type an address and the DNS cannot find a saved answer, the search reaches one of the 13 DNS root servers. But those 13 names are not 13 machines. They are services copied in many places around the world: the official site root-servers.org lists more than a thousand points, operated by 12 organizations. That is how the whole internet keeps finding sites even when one of those copies goes down.

Speed is two measurements

Bandwidth is how much fits per second, in megabits. Latency is how long the answer takes to go and come back, in milliseconds.

Think of a highway. Bandwidth is the number of lanes. Latency is the distance. Ten lanes do not shorten the trip to another country. They only let more cars through.

Latency has a floor set by physics. Light travels 299,792,458 meters per second in a vacuum, according to NIST. Over 6,000 km, the one-way trip alone takes about 20 ms. In fiber, it takes longer.

The padlock: what it guarantees

The padlock uses TLS (RFC 8446). It guarantees three things: the server proved it owns the name, nobody in the middle reads the data and nobody changes the data without being noticed.

It does not guarantee that the store is honest. Free certificates, such as those from Let's Encrypt, are automatic, and scammers get them too. When you open the padlock, look at "issued to": it is the name the site proved it has.

Addresses: the stock ran out

IPv4 has a little over 4 billion addresses. In 2011, IANA handed out the last large blocks. The answer was IPv6, with 128-bit addresses. In Brazil, APNIC's measurement showed 83.55% of users able to use IPv6 on October 21, 2026.

At home, an address that starts with 192.168 is private (RFC 1918). The router swaps it for a public one on the way out.

Practice · 5 min

  1. Open the terminal and run ping to a site you use. Write down the time.
  2. Run tracert (Windows) or traceroute (Mac and Linux) to the same site. See where the time makes its biggest jump.
  3. Open the padlock of a site with a login. Write down the "issued to".

Summary

Sources

Read on October 30, 2026.

  1. Internet Society. Brief History of the Internet: packets (1961) and TCP/IP in 1983.
  2. Kleinrock, L. The first message on the Internet: the "lo" message.
  3. RFCs: IP, TCP, UDP, DNS, TLS 1.3 and private addresses.
  4. Root Server Operators. root-servers.org: 13 names, 12 organizations, more than a thousand points.
  5. NIST. Speed of light in vacuum.
  6. IANA, IPv4 address space, and APNIC Labs, IPv6 in Brazil.
  7. Let's Encrypt. About the service: free certificates.

Lesson quiz

Three situations to apply what you learned.

Lesson 3 of 10

Before moving on to the next lesson

Put what you saw into practice. The boxes stay checked in this browser, so you can come back later.

Have a question about this lesson? The IV Help team answers personally on WhatsApp.

Ask on WhatsApp