The Internet 🌍
Welcome, students! In this lesson, you will learn what the Internet is, how it works, and why it matters in computer networks. By the end of this lesson, you should be able to explain the main ideas and terminology behind the Internet, connect it to the broader topic of networks, and describe how it supports communication between computers all over the world.
Learning objectives
By studying this lesson, you will be able to:
- explain the main ideas and terminology behind the Internet
- describe how data moves across a network of networks
- connect the Internet to key ideas in Networks, such as protocols, routing, and packet switching
- use IB Computer Science HL reasoning to explain how the Internet delivers data reliably 🌐
- support your answers with examples from everyday Internet use, such as browsing websites, streaming video, and sending messages
What is the Internet?
The Internet is a global system of interconnected computer networks. It links millions of smaller networks together so that devices can communicate across cities, countries, and continents. A useful way to think about it is this: a local network in a school, home, or company may connect to other networks, and those networks connect again and again until data can travel worldwide.
The Internet is not the same as the World Wide Web. The Web is one service that uses the Internet. For example, when students opens a website, the browser is using the Internet to request files from a web server. But the Internet also carries many other services, including email, online gaming, cloud storage, messaging apps, and voice or video calls.
A key idea in IB Computer Science is that the Internet is a network of networks. This means it has no single central machine controlling everything. Instead, it works because many independent networks follow shared rules called protocols. These rules allow different devices and systems to communicate even if they are made by different companies or located in different countries.
Core terminology you need to know
To understand the Internet, you should know several important terms.
A network is a group of connected devices that can exchange data. A LAN is a local area network, such as a school network or home Wi-Fi. A WAN is a wide area network that covers a larger geographic area. The Internet is the largest example of a WAN, but it is also more complex because it connects many WANs and LANs together.
A protocol is a set of rules for communication. For the Internet, two of the most important protocols are the Internet Protocol $\text{IP}$ and the Transmission Control Protocol $\text{TCP}$. Together, these are often called $\text{TCP/IP}$. $\text{IP}$ is responsible for addressing and routing packets, while $\text{TCP}$ helps make sure data arrives correctly and in the right order.
A packet is a small unit of data sent across a network. Large messages are split into packets so they can travel more efficiently. Each packet usually includes a header with information such as the source address, destination address, and sequence details. This helps routers send the packet in the right direction and helps the receiving device rebuild the original message.
A router is a device that forwards packets between networks. Routers examine destination addresses and choose the best available path. This process is called routing.
A server is a computer that provides services or resources to other devices, called clients. For example, when students visits a website, the browser is a client, and the machine storing the website is a server.
How data travels across the Internet
When you send a message or open a website, your device does not usually send one huge block of data all at once. Instead, the data is broken into packets. These packets may travel by different routes through the Internet before reaching the destination. This is one of the main strengths of packet switching.
Packet switching means a message is divided into packets, and each packet can be sent independently through the network. This is different from circuit switching, where a single fixed path is reserved for the whole communication session. The Internet mainly uses packet switching because it is flexible and efficient. If one route becomes busy or fails, packets can be sent another way 🚦
Here is a simple example. Imagine students sends a photo to a friend. The photo is split into many packets. One packet might go through one router chain, while another takes a different route. At the destination, the packets are checked and reassembled into the original photo. If one packet is missing or damaged, protocols such as $\text{TCP}$ can help request it again.
This is important for reliability. The Internet was designed to keep working even when parts of it fail. If one router breaks or a link becomes unavailable, routing systems can often find another path. This makes the Internet robust, meaning it can continue operating despite problems.
The role of IP addresses and domain names
Every device connected to a network needs an address so data can be delivered to the right place. On the Internet, this address is an $\text{IP}$ address. An $\text{IP}$ address is a numerical label assigned to a device or network interface. It acts like a postal address for data.
There are two main versions of $\text{IP}$ in common use: $\text{IPv4}$ and $\text{IPv6}$. $\text{IPv4}$ uses 32-bit addresses, which gives about $4.3 \times 10^9$ possible addresses. Because the Internet has so many connected devices, $\text{IPv6}$ was introduced using 128-bit addresses, creating a vastly larger address space.
Humans usually prefer names like www.example.com instead of numeric addresses. The Domain Name System $\text{DNS}$ translates domain names into $\text{IP}$ addresses. You can think of $\text{DNS}$ as the Internet’s directory service. When students types a website address into a browser, $\text{DNS}$ helps the browser find the correct server.
For example, if a browser wants to visit a website, it first asks $\text{DNS}$ for the site’s address. Then it uses $\text{IP}$ to send packets to that server. This is a good example of how different Internet services work together.
Protocols that make the Internet work
The Internet works because devices follow agreed rules. These rules are written in protocols, and each protocol has a specific job.
$\text{IP}$ handles addressing and routing. It focuses on getting packets from one network to another. It does not guarantee that packets arrive safely or in order.
$\text{TCP}$ improves reliability. It sets up a connection, numbers packets, checks for errors, and requests retransmission if data is lost. This is why file downloads, website loading, and email delivery often use $\text{TCP}$.
Another important protocol is the HyperText Transfer Protocol $\text{HTTP}$, which is used for transferring web pages. When security is added using encryption, it becomes $\text{HTTPS}$, where the $\text{S}$ stands for secure. $\text{HTTPS}$ uses encryption to protect data from being read or changed by attackers while it travels across the Internet 🔒
The Internet also uses many other protocols, such as $\text{SMTP}$ for sending email and $\text{FTP}$ for file transfer. The important IB idea is that no single protocol does everything. Instead, the Internet is a layered system in which different protocols handle different tasks.
Security and reliability on the Internet
Because the Internet is public, security matters. Data can be exposed to attackers if it is not protected. Common security methods include encryption, authentication, firewalls, and secure protocols.
Encryption changes readable data into a form that cannot be understood without a key. This protects privacy when data is sent over networks. For example, when students enters a password into a secure website, encryption helps prevent others from reading it.
Authentication is the process of checking identity. Websites may use passwords, digital certificates, or multi-factor authentication to confirm that a user or server is genuine. This reduces the risk of fraud or impersonation.
Reliability is also essential. Packet switching supports reliability because packets can be routed around failures. $\text{TCP}$ adds more reliability by checking delivery and sequence. If packets arrive out of order, $\text{TCP}$ can reorder them before the message is shown to the user.
A real-world example is video streaming. If some packets are delayed, the video may pause or lower quality for a moment, but the service can still continue. This shows how the Internet balances speed, reliability, and flexibility.
How the Internet fits into Networks
In IB Computer Science HL, the Internet is one of the clearest examples of the Networks topic. It connects ideas from data transmission, network structures, internet systems, and security.
From the data transmission perspective, the Internet relies on packets, headers, addresses, and protocols. From the network structures perspective, it combines LANs, WANs, routers, switches, and servers. From internet systems, it includes $\text{DNS}$, web services, and client-server communication. From security and reliability, it includes encryption, authentication, routing redundancy, and error handling.
This means the Internet is not just one topic. It is the practical result of many networking ideas working together. If you understand the Internet, you are also understanding how modern communication systems are built.
Example: loading a website
Let’s put everything together with one clear example. Suppose students opens an online news site.
- The browser asks $\text{DNS}$ for the server’s $\text{IP}$ address.
- The browser sends packets using $\text{TCP/IP}$.
- Routers forward the packets across multiple networks.
- The server receives the request and sends back the webpage files.
- The browser rebuilds the page and displays text, images, and links.
If the site uses $\text{HTTPS}$, the data is encrypted. If packets are lost, $\text{TCP}$ can request them again. This example shows how the Internet is both fast and dependable for everyday use.
Conclusion
The Internet is a global network of networks that enables communication between devices around the world. It works through packet switching, shared protocols, routing, addressing, and services such as $\text{DNS}$ and $\text{HTTP}$. It is also built for reliability and security, using tools like $\text{TCP}$, encryption, and authentication. For IB Computer Science HL, understanding the Internet is essential because it connects many parts of the Networks topic into one real-world system 🌐
Study Notes
- The Internet is a global system of interconnected computer networks.
- The Internet is not the same as the World Wide Web.
- The Internet works mainly by packet switching.
- A packet is a small unit of data with a header.
- $\text{IP}$ handles addressing and routing.
- $\text{TCP}$ helps with reliable delivery and packet ordering.
- $\text{TCP/IP}$ is a major protocol set used on the Internet.
- A router forwards packets between networks.
- $\text{DNS}$ translates domain names into $\text{IP}$ addresses.
- $\text{HTTP}$ is used for web communication; $\text{HTTPS}$ adds security.
- $\text{IPv4}$ uses 32-bit addresses; $\text{IPv6}$ uses 128-bit addresses.
- Security methods include encryption, authentication, and secure protocols.
- Reliability is supported by packet switching, routing alternatives, and error checking.
- The Internet is a major part of the IB Networks topic because it combines data transmission, structures, internet systems, security, and reliability.
