1. Home
  2. Explore
  3. Computer Science
  4. Internet Fundamentals

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Internet Fundamentals

Understanding the Internet: From Connected Computers to Intelligent Global Infrastructure

The internet is often described as a place for searching, streaming videos, sending messages, or joining video calls. Technically, however, it is much more than a collection of websites and applications. The internet is a massive physical and organizational system that connects billions of computing devices and allows them to exchange information.

A useful way to understand it is through five levels of increasing difficulty:

  1. The internet as connected computers
  2. The internet as a network of networks
  3. The internet as a system of packets, addresses, and protocols
  4. The internet as an open platform for applications
  5. The internet as a programmable, mobile, distributed, and globally governed infrastructure

Each level builds on the one before it.

Level One: The Internet Connects Computers

At its most basic level, the internet is a communication system. Computers and other devices are connected by communication links, allowing information to move from one device to another.

A communication link might be:

  • An Ethernet cable
  • A fiber-optic cable
  • A wireless Wi-Fi connection
  • A cellular connection
  • An undersea cable crossing an ocean

A device that sends information is called the source. A device that receives and gathers the information is called the receiver. For example, when a streaming server sends a movie to a television, the server is the source and the television is the receiver.

The information being transferred can be divided into tiny units called bits. A bit is a basic unit of information that can have one of two values. Communication links carry enormous numbers of bits every second. A wired connection into a home might carry information at a rate of approximately a billion bits per second, depending on the connection.

The physical cables, computers, routers, wireless transmitters, and other equipment form the tangible foundation of the internet. Without this physical infrastructure, applications such as video streaming and online messaging would have nowhere to operate.

Routing: Choosing a Path

A simple network might contain only two computers and one link. Larger networks contain many devices and many links. If a video must travel from one computer to another, the information may have several possible paths.

The process of selecting a path through a network is called routing. A network may choose a relatively short path so that information reaches its destination efficiently. However, the shortest path is not always the only path, and it may not always be available.

Multiple paths are valuable because parts of a network can become:

  • Broken
  • Overloaded
  • Disconnected
  • Temporarily unavailable

If one path fails, routing can direct information along another path. This gives the internet a degree of robustness, meaning that communication can continue even when some components do not work.

Routing is the process of selecting a path for information to travel from its source to its destination.

Routers: Intersections of the Internet

A router is a device that connects communication links and helps move information from one part of a network to another. A router can be compared to an interchange in a road system. Roads meet at interchanges, and vehicles are directed toward different destinations. Likewise, network links meet at routers, and packets are directed toward their next destinations.

When information travels across the internet, it usually passes through several routers. Each router examines information about the destination and forwards it along an appropriate link.

Protocols: The Rules of Communication

Physical connections alone are not enough. Computers also need shared rules for communicating. These rules are called protocols.

A protocol defines such matters as:

  • How a request is made
  • How a response is sent
  • How information is formatted
  • How devices identify one another
  • What happens when information is missing
  • How devices coordinate their actions

A knock-knock joke illustrates the idea of a protocol. One person follows an expected sequence:

  1. One person says, “Knock, knock.”
  2. The other asks, “Who’s there?”
  3. The first person gives a response.
  4. The other asks for the rest of the joke.

The joke works because both participants understand the same rules. Similarly, two computers that have never communicated before can exchange information because they follow common internet protocols.

Think About It: Why would a network need both physical connections and communication rules? What would happen if two connected computers interpreted messages differently?

Level Two: The Internet Is a Network of Networks

The internet is not one single network owned and operated by one organization. It is a network of networks. Many smaller networks are connected to one another, forming a worldwide communication system.

A home network may contain:

  • Phones
  • Computers
  • Televisions
  • Tablets
  • Smart devices
  • A home router

That home network connects to an internet service provider, or ISP. The ISP connects to larger regional networks, which connect to national and international networks. These networks may then connect to other providers and large technology companies.

The Road-System Analogy

The structure resembles a road system:

  • Neighborhood roads resemble local networks.
  • City roads resemble regional networks.
  • State roads resemble larger provider networks.
  • Interstate highways resemble major national and international connections.

A message does not travel along one enormous, uninterrupted highway. Instead, it moves through many interconnected networks, passing through routers at important junctions.

This layered structure allows separate organizations to operate their own networks while still communicating with one another.

The First Hop

When a phone or laptop connects wirelessly to a home or public network, the first part of its journey is called the first hop. The device communicates with a nearby router over a wireless link.

Wi-Fi is a protocol that allows a device to communicate with this first-hop router without a physical cable. The Wi-Fi protocol is part of a family of standards identified by the designation 802.11.

After the first hop, information may travel through wired links, fiber-optic links, wireless systems, and other networks.

International Connections and Undersea Cables

International internet communication depends heavily on physical cables laid across the ocean floor. These undersea cables connect networks in regions such as:

  • North America
  • Europe
  • Asia
  • Other areas connected across the Atlantic, Pacific, and Indian Oceans

When a person in the United States communicates with someone in Australia, information may travel through several routers and then across an undersea cable. The route may cross the United States, reach a coastal network, travel through an undersea cable, and enter Australian networks.

The internet therefore depends on a combination of local infrastructure and long-distance infrastructure. Wireless communication may begin the journey, but much of the longer journey can occur through physical cables.

Servers and Nearby Data

A server is a computer designed to provide information or services to other computers. Servers often have substantial storage capacity and processing capability. A streaming service, for example, stores video content on many servers rather than on one single machine.

Applications generally try to connect a user’s device to a server that is geographically or topologically close. The fewer network links information must cross, the less opportunity there is for delay or congestion. Distributing copies of data across many locations helps applications deliver content more efficiently.

This is why a video library may appear to be “in one place” from the user’s perspective even though the content is physically stored in many locations.

Think About It: Why is it useful for a streaming service to store content on many nearby servers instead of placing every video on one distant server?

Level Three: Packets, Addresses, and Reliable Delivery

Large files and continuous streams are not generally sent as one enormous piece. Instead, information is divided into smaller units called packets.

A packet contains part of the overall information being transmitted. Packets travel through the network and are then reassembled at the receiving device.

Why Packets Are Used

Packet-based communication has several important advantages.

First, packets can share network links with packets from many other users. A link does not need to remain reserved for one communication session.

Second, packets can take different routes. If one route becomes unavailable, later packets may travel along another route.

Third, packet switching allows network resources to be used efficiently. A link can carry packets from video calls, web pages, games, and other applications at different times.

Packet Switching and Circuit Switching

The traditional telephone network used a different approach called circuit switching. In a circuit-switched system, a dedicated path and a dedicated portion of network capacity are reserved for a communication session between two endpoints.

The internet is primarily based on packet switching. Instead of reserving one permanent path, it sends packets through shared network links. Different packets from the same communication may even travel through different routes.

Packet switching makes the network flexible and efficient, but it also means that packets may be delayed, arrive out of order, or fail to arrive.

Reordering Packets

Suppose a video is divided into packets numbered one through five. The receiving device might receive packets in this order:

  • Packet one
  • Packet two
  • Packet three
  • Packet five
  • Packet four

The application or communication software can place the packets back in their correct order. The video is not supposed to display packet five before packet four simply because packet five arrived first.

TCP: Handling Missing Information

The Transmission Control Protocol, or TCP, helps provide reliable communication. If a receiving device notices that a packet is missing, it can request that the sender transmit the packet again.

For example, the receiver might effectively communicate:

“Packet four was not received. Please resend it.”

The sender can then retransmit the missing packet. This process allows applications to work even though the underlying network does not guarantee that every packet will arrive correctly or in order.

TCP is an example of complexity being handled at the endpoints. The central network can remain relatively flexible, while the sending and receiving devices manage tasks such as detecting missing packets and putting data back in order.

IP: Addressing Packets

The Internet Protocol, or IP, gives packets addressing information. An IP address identifies a network interface or device so that routers know where the packet should go.

An IP address functions somewhat like a postal address. A letter needs an address so that postal workers can deliver it. Similarly, a packet needs a destination IP address so that routers can forward it toward the correct device.

Every device connected to the internet uses the IP protocol to participate in internet communication. TCP and IP often work together:

  • IP helps packets reach the intended destination.
  • TCP helps ensure that a complete and correctly ordered stream of information is delivered.

Congestion and Packet Loss

A network connection may have a high data rate on one segment but still perform poorly overall. For example, a home may have a connection capable of carrying hundreds of megabits per second between a television and a home router. That does not guarantee the same rate between the home and a distant streaming server.

The slow point may be somewhere along the route. If many users attempt to send information through the same network link, that link can become congested. Congestion occurs when more information is competing for network capacity than the network can handle at that moment.

Congestion can lead to:

  • Delayed packets
  • Dropped packets
  • Reduced video quality
  • Buffering
  • Slower downloads

A packet may therefore be dropped far from the user’s home, perhaps at a congested link between the streaming service and the home network.

A connection’s performance is determined not only by the speed of the final link into a home, but also by the capacity and congestion of every important link along the path.

Think About It: How can a device have a fast home connection but still experience buffering while streaming a video?

Level Four: The Internet as a Platform for Applications

The internet is not merely a system for moving raw data. It is also a platform on which many different applications operate.

Examples include:

  • Video streaming
  • Video conferencing
  • Search engines
  • Social media
  • Online games
  • Messaging
  • Cloud services
  • Internet-connected devices

These applications use the same underlying internet even though they provide very different experiences. The internet supplies general communication capabilities, and applications build specialized functions on top of those capabilities.

This separation is an example of abstraction. An application does not need to understand every physical cable, router, or undersea link involved in delivering its data. It can use a simpler interface provided by the networking system.

Sockets: An Application Interface

A socket is an application programming interface used for internet communication. It gives a program a way to send and receive messages through the network.

From an application’s perspective, communication can be conceptually simple:

  1. Identify the destination.
  2. Open a communication endpoint.
  3. Send a message.
  4. Receive a response.

The application does not need to manually control every router along the route. The underlying protocols and network equipment handle those details.

This abstraction encourages innovation. Once a common communication infrastructure exists, developers can create new applications without rebuilding the entire network each time.

DNS: Translating Names into Addresses

People prefer memorable names such as ibm.com or facebook.com. Network protocols, however, need numerical IP addresses to route packets.

The Domain Name System, or DNS, translates a human-readable domain name into an IP address. This process allows an application to request a service using a name while the network uses a numerical address internally.

DNS can be understood as a directory:

  • A person knows the name of a service.
  • DNS finds the corresponding numerical address.
  • The application uses that address to communicate with the service.

Without DNS, people would need to remember numerical addresses for the websites and services they use.

The Historical Development of Packet Switching

In the 1960s, a United States research agency then known as ARPA explored the idea of building a packet-switching network. The agency was associated with the Department of Defense and wanted communication systems that were robust and survivable.

A packet-switched design supported this goal because packets could travel through different routes. If part of the network failed, routing could direct packets around the damaged area.

This design did not attempt to make every component of the network perfectly reliable. Instead, some reliability and complexity were placed at the edges, in the sending and receiving systems. This approach allowed the central network to remain adaptable while endpoint systems handled tasks such as retransmission and reordering.

The result was an infrastructure on which later generations could build increasingly sophisticated applications.

Decentralized Operation and Limited Central Coordination

The internet is largely decentralized. There is no single organization that controls every network, router, application, or destination. Individual network owners generally control the operation of their own networks.

This decentralized structure has advantages:

  • Networks can be operated independently.
  • Different organizations can connect to one another.
  • No single failure necessarily destroys the entire internet.
  • Innovation can occur across many independent organizations.

However, complete decentralization would make global communication difficult. Some shared systems and standards are necessary.

The Internet Corporation for Assigned Names and Numbers, or ICANN, provides a limited form of centralized coordination involving names and numbers. This includes important aspects of domain-name coordination and address-related systems.

The internet therefore combines decentralized operation with selected areas of shared coordination.

Think About It: Why would a completely centralized internet be risky, and why would a completely uncoordinated internet be difficult to use?

Level Five: The Internet as a Programmable, Mobile, and Global Infrastructure

At the most advanced level, the internet is not just a collection of cables and protocols. It is a constantly evolving infrastructure involving software control, cloud computing, wireless communication, connected physical devices, security systems, and international governance.

The Internet of Things

The Internet of Things, or IoT, refers to physical objects that contain sensors, processors, and communication capabilities. Examples include:

  • Temperature sensors
  • Smart appliances
  • Medical devices
  • Traffic monitors
  • Industrial equipment
  • Wearable devices

IoT devices often operate at the edge of the network, meaning they are close to the physical environment being measured or controlled.

An IoT medical device, for example, might communicate with a smartphone, use a camera to recognize a person, and help verify that medication is being taken correctly.

IoT Configuration Challenges

Connecting one IoT device can be manageable. Connecting thousands or millions creates a scaling problem.

Many IoT devices require configuration through a local setup process. A user may connect to a temporary network created by the device and enter information such as:

  • The name of the local Wi-Fi network
  • The Wi-Fi password
  • Other connection settings

If the Wi-Fi name or password changes, the device may need to be configured again. When many devices are involved, the management burden can grow with the number of devices.

A major challenge is therefore not merely connecting devices wirelessly. It is keeping large numbers of devices correctly configured over time.

IoT Data Rates and Data Processing

Many IoT devices transmit small amounts of data. A temperature sensor that reports once every minute may send only a tiny amount of information at a time. Its average data rate may be measured in bytes per second rather than in the extremely high rates associated with video or large file transfers.

Although individual measurements may be small, millions of devices can produce enormous datasets. Those datasets can have significant research and practical value.

For example, distributed sensors could help study how rush-hour traffic affects the sound environment of a city. Such data might reveal that a street near a school regularly produces noise levels above an accepted limit, suggesting that an intervention is needed.

Centralized and Edge Computing

IoT data may be processed in a distant, centralized data center, or it may be processed near the device at the edge of the network.

Edge computing means placing computation and sometimes storage close to the devices and users that need it. This can reduce delay and limit the amount of raw data that must travel across the internet.

At present, much IoT data is often centralized, especially when devices are commercial products managed by companies. However, edge computing is increasingly important for applications that need fast responses or that interact directly with the physical world.

Mobility and Wireless Networks

Traditional network designs often assume that a device connects through a relatively stable access point or provider. Mobile devices challenge this assumption because they move between locations and networks.

Wireless systems such as Wi-Fi and cellular networks must support:

  • Devices changing locations
  • Connections moving between coverage areas
  • Different network providers
  • Variable signal quality
  • Devices with limited power

Long-range systems such as LoRa can provide broader coverage and use common specifications across different gateways. Standardization helps devices operate consistently even when they connect through different parts of the infrastructure.

Software-Defined Networking

Traditional routers often arrive with built-in protocols that determine how traffic is managed. Network operators may have limited ability to directly change the behavior of the equipment or inspect everything happening inside the network.

Software-defined networking, or SDN, takes a more programmable approach. Instead of relying entirely on distributed protocols running independently inside each router, software can calculate network behavior and instruct network devices what to do.

This separates two functions:

  • The control function, which decides how traffic should flow
  • The data-forwarding function, which moves packets according to those decisions

An analogy comes from telephone networks, where a computer program could instruct a distributed set of telephone switches. A similar idea can be applied to computer networks.

SDN is especially practical within a single provider’s backbone, cloud provider’s network, or campus network. Applying one unified software-control system to the entire global internet is more difficult because the internet is made up of tens of thousands of separately administered networks.

The Flattening of the Internet

In earlier network arrangements, information might pass through many separately operated networks before reaching its destination. More recently, large cloud providers and major access networks have built connections that bring them closer together.

This can produce a flattening of the internet, in which a source and destination may be connected through fewer intermediate networks than before.

Edge computing can flatten the structure even further. A mobile device might connect wirelessly to a nearby cell tower, then to a small number of routers, and then directly to a nearby server running the application. If one organization controls all of those components, the entire path can be managed as one integrated system.

Standards, Certificates, and Security

The internet works across organizational and national boundaries because equipment follows shared standards and protocols. These standards define how systems exchange information even when they are built and operated by different organizations.

Secure communication also depends increasingly on certificate authorities. Certificate authorities help establish trust between communicating endpoints by supporting the process through which encrypted connections are created and verified.

Encryption protects the contents of a communication, much like placing a letter inside a sealed envelope. However, encryption does not necessarily hide every fact about the communication.

Even when the contents cannot be read, observers may sometimes infer information from:

  • Which devices are communicating
  • When communication occurs
  • How frequently communication occurs
  • How much data is transferred
  • The sizes and timing of transfers

For example, the volume of encrypted data might reveal that a person is streaming a long movie. Encryption can protect privacy, but it does not make all communication patterns invisible.

National Laws and Internet Control

Although the internet is global, its laws and policies are often local. Each country may establish its own rules about:

  • Permitted content
  • Data access
  • Surveillance
  • Network operation
  • Domain-name resolution
  • Cross-border communication

Some governments operate filtering systems or firewalls that restrict certain traffic from entering or leaving the country. A country might also refuse to provide the IP address associated with a particular domain name, preventing users inside that country from reaching the associated service.

There is no single global authority that imposes one uniform set of rules on every country. Instead, the internet’s global operation emerges from the interaction of many independently governed networks, shared technical standards, and limited coordinating institutions.

The Convergence of Wireless, Networking, and Cloud Computing

A major direction in networking is the convergence of three areas:

  1. Wireless and cellular communication
  2. Computer networking
  3. Cloud computing

These areas were once often treated as separate technical communities, with different technologies, standards, and practices. Increasingly, they must work together.

A modern application might involve:

  • A phone, drone, or sensor communicating wirelessly
  • A network forwarding the data
  • A nearby server processing the information
  • Cloud storage preserving the results
  • A rapid response sent back to the device

This convergence is particularly important when applications interact with the physical world and safety may be involved.

What 5G Offers

Fifth-generation cellular systems, commonly called 5G, are often associated with higher bandwidth. Higher bandwidth allows more data to be transferred in a given period.

However, the potential importance of 5G involves more than speed. It also includes:

  • Lower delay, or latency
  • Greater coverage
  • Closer integration between communication and computation
  • Support for applications that require real-time responses

Low delay is essential for systems that interact with the physical world. An application controlling a vehicle, industrial machine, or other safety-sensitive device may need an answer quickly rather than merely a large amount of data.

Softwarization and Integrated Infrastructure

Cellular networks are also moving toward greater softwarization, meaning that software plays a larger role in controlling and managing network behavior.

A user may notice only that a newer generation of cellular service seems faster. Behind the scenes, however, software can influence how resources are assigned, how traffic is managed, and how the network integrates with computing and storage.

The broader trend is toward treating networking, computation, and storage as parts of one information-technology ecosystem. The network is no longer merely “plumbing” that carries data far away from applications. It is becoming closely integrated with the applications themselves.

Think About It: Why might low delay and nearby computing matter more than maximum download speed for an application that controls a physical machine?

Comprehensive Review

The internet can be understood as a system of increasing complexity.

At the foundation, it is a physical collection of computers, communication links, routers, wireless systems, and undersea cables. These components carry information from sources to receivers.

The internet is also a network of networks. Home networks connect to providers, providers connect to regional and international networks, and routers direct information across these connections.

Information is divided into packets. IP addresses help packets find destinations, while TCP can help detect missing packets, request retransmissions, and reorder information. Routing allows packets to follow different paths and helps communication continue when parts of the network fail.

Shared protocols make communication possible. DNS translates human-readable names into IP addresses, and sockets give applications a usable interface for sending and receiving messages.

The internet serves as a platform for countless applications. Streaming, messaging, video conferencing, and other services can all operate over the same underlying infrastructure because abstraction separates application development from the details of physical networking.

Its structure is largely decentralized, with individual networks operated by different organizations. At the same time, shared standards, certificate authorities, and coordinating organizations such as ICANN provide enough common structure for the global system to function.

The internet continues to evolve through IoT, mobile networking, software-defined networking, edge computing, and the integration of wireless communication with cloud computing. The most advanced systems place computation and storage closer to users and physical devices, reduce delay, and use software to manage increasingly complex infrastructure.

The internet is not one machine, one company, or one application. It is a worldwide communication fabric made from many independently operated networks that cooperate through shared protocols, standards, and addressing systems.

Its remarkable power comes from combining a robust packet-switched foundation with open interfaces that allow people and organizations to build new applications on top of it.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent