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

The Internet: Architecture, Operation, Evolution, and Future Directions

1. What the Internet Is

The internet is the most technically complex system humanity has built. It can be understood through several complementary ideas:

  • The internet is a network of networks: many independently operated networks are interconnected to form one global communication system.

  • It connects billions of computers and other devices, allowing them to exchange information.

  • It is a platform on which many applications operate, including:

    • Video streaming

    • Video calls

    • Web browsing

    • Messaging

    • Social media

    • Cloud services

    • Internet of Things applications

At its most basic level, the internet is a communication system that carries information from one computer or device to another.

The internet is both physical infrastructure and a set of rules that allows devices and applications to communicate.

The internet itself is separate from the applications that use it. For example, video-streaming services and video-conferencing applications may be very different, but they can operate over the same underlying internet.


2. Networks, Links, Sources, and Destinations

A simple network can consist of two computers connected by one communication link. Information, such as a movie or video, can travel across that link from one computer to another.

More complex networks contain many computers and many connecting links. In this setting, information may need to pass through several intermediate devices before reaching its destination.

Important network roles

  • Source: The device or computer that sends information.

  • Receiver or destination: The device that receives and reconstructs the information.

  • Communication link: A physical or wireless connection that carries information between devices.

  • Intermediate device: A device that forwards information toward its destination.

For example, a video might travel from a streaming server through several intermediate networks and routers before reaching a viewer’s television, phone, or computer.

The internet is therefore not a single cable or one massive machine. It is a collection of interconnected components that cooperate to move information across long distances.


3. Routing and Multiple Paths

When information travels through a network, there are often several possible paths between the source and the destination. The process of selecting a path is called routing.

A network may contain a direct path between two locations, but it can also contain longer alternative paths.

Why networks use multiple paths

Multiple paths provide:

  • Efficiency: Traffic can usually be sent along a relatively short path.

  • Fault tolerance: If one link or device fails, traffic can be redirected.

  • Congestion management: Traffic can be sent along less crowded routes.

  • Scalability: Large networks can continue to operate as more devices and links are added.

In many parts of the internet, routing systems attempt to select a shortest or otherwise efficient path. However, the shortest path is not always available or desirable. A path may be unavailable because of a failure, or it may be too congested to provide good performance.

Routing allows information to travel through a network, while multiple paths allow the network to continue operating when some components fail or become overloaded.


4. Protocols: Rules for Communication

Physical connections alone are not enough for communication. Devices also need shared rules that determine how messages are sent, received, interpreted, and acknowledged. These rules are called protocols.

A familiar conversational exchange illustrates the idea of a protocol. In a knock-knock joke, one person follows a particular sequence:

  1. One person says, “Knock, knock.”

  2. The other responds, “Who’s there?”

  3. The first person provides a name or phrase.

  4. The second asks for the rest of the phrase.

  5. The first person delivers the punchline.

The exchange works because both participants understand the expected sequence and responses.

Protocols on the internet

Internet protocols establish rules such as:

  • How a device requests information

  • How another device responds

  • How information is divided into smaller units

  • How devices identify one another

  • How missing information is detected

  • How information is retransmitted

  • How messages are formatted and interpreted

Protocols allow two computers that have never communicated before to interact successfully. They do not need to have been built by the same manufacturer or located in the same country, provided that they follow compatible standards.

Examples discussed include:

  • Internet Protocol (IP): Provides addressing and delivery of packets between devices.

  • Transmission Control Protocol (TCP): Helps detect missing packets, request retransmissions, and reconstruct information in the correct order.

  • Wi-Fi protocols: Allow devices to communicate wirelessly with a nearby network device.

  • Domain Name System (DNS): Translates human-readable names into IP addresses.


5. The Internet as a Network of Networks

The global internet is made from many smaller networks connected together.

Levels of network interconnection

A typical connection may involve:

  1. A device in a home, apartment, school, or office

  2. A local network

  3. An internet service provider’s network

  4. Regional or national networks

  5. Larger backbone networks

  6. Networks operated by cloud, content, or application providers

  7. The destination device or server

This structure is similar to a road system:

  • Neighborhood roads resemble local networks.

  • State roads resemble regional networks.

  • Interstate highways resemble major backbone connections.

  • Interchanges resemble routers, where different routes meet.

A local network does not independently connect to every other network in the world. Instead, it connects to an internet service provider, which connects to other networks, and those networks connect to still others.

Home connections

A home or apartment may connect to the internet through:

  • An Ethernet cable

  • A modem

  • A router

  • A wireless access point

  • A connection provided by an internet service provider

An Ethernet cable can carry information at very high rates, potentially around a billion bits per second in a typical example. The connection between the home router and the wider provider network is only one part of the complete path to a distant destination.


6. Routers and Long-Distance Communication

A router is a networking device that connects links and forwards packets toward their destinations. It functions similarly to an interchange in a road system: incoming traffic can be directed onto different outgoing routes.

When a person communicates with someone in another country, the data may travel through:

  • A local wireless or wired connection

  • A home or organizational router

  • An internet service provider

  • Regional routers

  • National or international backbone networks

  • Undersea cables

  • Networks in the destination country

  • The recipient’s local network and device

The route is not necessarily geographically obvious. A message traveling from the eastern United States to Australia might pass through routers in other parts of the United States and then travel over an undersea cable to Australia. It may not use the geographically shortest line because the available infrastructure, routing policies, congestion, or failures influence the selected route.

Undersea cables

Undersea cables are major physical components of the global internet. They cross oceans including:

  • The Atlantic Ocean

  • The Pacific Ocean

  • The Indian Ocean

These cables connect networks in regions such as Europe, North America, Asia, and Australia. Although internet communication often appears wireless to the user, much of the long-distance communication eventually travels through physical fiber-optic cables, including cables laid beneath oceans.


7. Wireless Connections and the First Hop

A device such as a phone, tablet, or laptop may not use a cable for its initial connection. Instead, it communicates wirelessly with a nearby router or access point.

This initial part of the journey is called the first hop.

Wi-Fi

Wi-Fi is a protocol family that allows a device to communicate with the first-hop router over a wireless link. The overall path may therefore begin as:

  1. Phone or computer

  2. Wireless connection

  3. Local router

  4. Wired or wireless provider network

  5. Additional routers and networks

  6. Destination server

The wireless portion is only one segment of the path. Even when the first hop is fast, congestion or limited capacity elsewhere can reduce the performance of the complete connection.

The Wi-Fi protocol family is associated with the 802.11 technical standards.


8. Servers and Content Delivery

A server is essentially a computer designed to provide services or data to other computers. Streaming services use servers with:

  • Large amounts of memory

  • Large amounts of disk storage

  • High-capacity network connections

  • Software that manages content requests and delivery

A streaming service does not necessarily store every movie in one single location. Content can be stored in many locations, often in data centers distributed across different regions.

Why services use nearby servers

Applications generally try to connect users to a server that is geographically or topologically close to them. This reduces the number of network links and routers that information must cross.

Using a nearby server can improve:

  • Response time

  • Streaming quality

  • Reliability

  • Network efficiency

  • Resistance to congestion on long-distance links

A user watching a movie may therefore receive data from a server located much closer than the company’s central headquarters.


9. Packets: How Information Travels

Large pieces of information are not usually sent as one indivisible object. Instead, information is divided into smaller units called packets.

A movie, web page, or message is broken into many packets. These packets travel through the network and are then reassembled at the destination.

Packet behavior

Packets may:

  • Travel through different routes

  • Arrive at different times

  • Become delayed

  • Arrive out of order

  • Be lost because of failures or congestion

  • Need to be transmitted again

For example, packets belonging to a video might arrive in the order:

  1. Packet 1

  2. Packet 2

  3. Packet 3

  4. Packet 5

  5. Packet 4

The receiving device can reorder the packets before presenting the information to the user.

TCP and retransmission

TCP helps provide reliable communication. If a receiving computer notices that a packet is missing, it can inform the sender and request that the missing packet be sent again.

This process allows applications such as video streaming to reconstruct the intended data even when some packets are delayed or lost.

TCP contributes to:

  • Detecting missing packets

  • Requesting retransmission

  • Reordering packets

  • Coordinating communication between sender and receiver

The internet does not guarantee that every packet will travel successfully through the core of the network on its first attempt. Reliability is often achieved by mechanisms at the communicating endpoints, such as TCP.


10. Internet Protocol Addresses

Every device communicating on the internet uses the Internet Protocol. IP provides addressing information so that packets can be directed to the correct destination.

An IP address functions similarly to an address written on a postal letter. Each packet includes information indicating where it should go.

An example of an IPv4-style address is:

128.119.40.186128.119.40.186128.119.40.186

Applications use IP addresses to identify the destination device or service. Routers examine packet addressing information and forward packets toward the appropriate network.

IP’s universal role

The wide range of devices connected to the internet share a fundamental feature:

They communicate using the Internet Protocol.

This common protocol allows devices with different hardware, operating systems, applications, and ownership to participate in one global network.


11. The History and Purpose of Packet Switching

In the 1960s, the United States Defense Advanced Research Projects Agency, known at the time as ARPA and later as DARPA, explored the idea of building a packet-switching network. This work contributed to the development of ARPANET and influenced the modern internet.

Circuit switching versus packet switching

A traditional telephone network uses circuit switching. In a circuit-switched system:

  • A dedicated path is established between the caller and receiver.

  • A dedicated amount of bandwidth is reserved.

  • The path remains associated with the communication session.

Packet switching works differently:

  • Information is divided into packets.

  • Packets may use different routes.

  • Network capacity is shared among many users.

  • The network does not need to reserve one complete dedicated path for every communication session.

Why packet switching was valuable

The Department of Defense was interested in communication systems that were robust and survivable. Packet switching supported this goal because packets could be routed around damaged or failed portions of the network.

If part of a network failed:

  1. Packets could avoid the failed area.

  2. Routing systems could select alternate paths.

  3. Communication might continue without requiring one permanent end-to-end circuit.

This design placed much of the network’s basic forwarding function in the core while allowing reliability and complexity to be handled partly at the endpoints.

Packet switching made networks more flexible and resilient by allowing packets to share links and take different routes.


12. Layering, Abstraction, and the Socket Interface

The internet’s complexity is managed through abstraction and layering. Each layer provides services to the layer above it while hiding many implementation details.

An application does not need to know:

  • Which physical cable carries its data

  • Which routers forward each packet

  • How individual links are managed

  • The exact route used by every packet

  • How a distant network is organized internally

Instead, the application uses a simpler interface.

Sockets as an application interface

The internet’s application programming interface is commonly represented by a socket. A socket provides a way for a program to communicate with another program over a network.

A program generally needs to know:

  • The destination’s IP address or name

  • The communication method or transport service

  • The message to send

The application can then send data without directly controlling every router or link between the endpoints.

This abstraction is a major reason why many different applications can be built on the same internet infrastructure. The underlying network provides communication, while application developers build services on top of it.

The value of abstraction

Abstraction allows:

  • Network engineers to improve the infrastructure without rewriting every application.

  • Application developers to build new services without redesigning the entire network.

  • Different types of hardware and software to interoperate.

  • Complex operations to be presented through simpler interfaces.

The result has been a proliferation of creative applications built on a common communication platform.


13. Domain Name System

People generally prefer names such as ibm.com or facebook.com rather than numerical IP addresses. The Domain Name System (DNS) translates human-readable domain names into IP addresses.

DNS process

When an application wants to contact a named service:

  1. The application identifies the domain name.

  2. DNS finds the corresponding IP address.

  3. The application uses the IP address to send packets.

  4. Routers forward the packets toward the destination.

For example, a name such as gaia.cs.umass.edu can be translated into an address that allows the application to locate the associated server.

DNS provides a layer of convenience and flexibility. A service can change the underlying server or infrastructure while continuing to use a familiar domain name.


14. Decentralized Control and Centralized Coordination

The internet is largely decentralized. No single organization controls every network, router, application, or destination.

Decentralized features

  • Individual providers operate their own networks.

  • Organizations can manage their internal infrastructure.

  • Different networks can establish their own policies.

  • Networks can interconnect while remaining independently administered.

  • No single authority determines all internet traffic paths.

A telecommunications or internet provider can make many decisions about how its own network operates. This distributed ownership is a defining feature of the internet.

Limited centralized coordination

The internet is not completely without centralized coordination. The Internet Corporation for Assigned Names and Numbers, or ICANN, has responsibilities involving names and numbers, including coordination related to domain names and addressing systems.

This creates a balance:

  • Distributed operation: Most networks are independently owned and managed.

  • Centralized coordination: Some shared naming and numbering systems require global agreement.

The internet’s functionality depends on both independence and cooperation.


15. Performance, Bandwidth, and Congestion

A connection may have a high data rate on one segment but still provide lower performance overall.

For example, a home television may have a connection to its router capable of 100100100 megabits per second, while the complete path from a streaming provider’s server to the home may not consistently support that rate.

Bottlenecks

A bottleneck is a part of a communication path whose capacity limits the overall data rate.

The bottleneck may occur:

  • In the home

  • Between the home and the provider

  • Inside the provider’s network

  • At an interconnection between providers

  • Near the application server

  • On an international link

The end-to-end performance is constrained by the slowest or most congested portion of the path.

Congestion

Congestion occurs when too much traffic competes for available network capacity. During congestion:

  • Packets may be delayed.

  • Packets may be dropped.

  • Queues at routers may grow.

  • Applications may experience buffering or reduced quality.

  • TCP may reduce its sending rate.

A fast first-hop connection does not guarantee a fast end-to-end connection. The complete path must have sufficient capacity.


16. Internet of Things

The Internet of Things (IoT) refers to the connection of physical objects and low-power devices to networks. Examples include:

  • Temperature sensors

  • Smart home devices

  • Medical devices

  • Traffic sensors

  • Industrial equipment

  • Wearable devices

  • Connected appliances

IoT devices often operate at the edge of the network, close to the physical environment they measure or control.

IoT communication requirements

IoT devices commonly:

  • Use wireless connections

  • Have limited power

  • Produce small amounts of data

  • Operate with constrained hardware

  • Need to remain configured over long periods

  • May connect to smartphones, gateways, or cloud services

An IoT temperature sensor that reports a home’s temperature once per minute may generate only a very small amount of data—possibly bytes per second on average—compared with high-capacity wired links that can carry hundreds of gigabits per second.

Configuration challenges

A major difficulty is managing many devices at scale. A typical configuration process may require:

  1. Connecting to a temporary local network produced by the IoT device.

  2. Opening a configuration or captive login portal.

  3. Entering the home network’s Wi-Fi name, or SSID.

  4. Entering the Wi-Fi password.

  5. Allowing the device to reconnect to the normal network.

If the Wi-Fi name or password changes, or if the device is moved to a new location, the device may need to be configured again.

If every device must be configured individually, management complexity can increase roughly in proportion to the number of devices. Large IoT deployments therefore need mechanisms that keep administration from growing linearly with device count.

IoT data and edge computing

IoT systems may generate large quantities of data over time even if each individual device transmits only small amounts at a time. The data can be analyzed to identify patterns and support decisions.

One important question is where computation should occur:

  • Centralized computation: Data is sent to a distant data center for storage and analysis.

  • Edge computation: Data is processed near the device that generated it.

  • Hybrid computation: Some processing occurs at the edge, while more complex analysis occurs in a centralized cloud.

IoT data may have significant research and public value. For example, distributed sensors could be used to study how rush-hour traffic affects the acoustic environment of a city. Such information could reveal locations where noise exceeds mandated levels and where intervention may be needed.

Data ownership and sharing

IoT data is often centralized by commercial companies that operate the devices. These companies may not automatically share the data, even when it could be valuable for research or public planning. Access may require agreements, incentives, regulation, or other forms of persuasion.


17. Mobility and Long-Range Wireless Networks

Traditional network configurations often assume that a device connects through a particular provider or gateway. Mobility creates additional challenges because devices may move between networks and coverage areas.

Important mobility questions include:

  • How can a device move from one network to another?

  • How can it maintain communication while changing locations?

  • Can devices avoid being permanently tied to one provider?

  • How can networks use common standards across different geographic regions?

Long-range wireless technologies such as LoRa can provide:

  • Larger coverage areas

  • Communication with low-power devices

  • Gateways that follow common specifications

  • More consistent operation across different deployments

Standardized long-range networks make it easier for devices and gateways in different locations to operate in compatible ways.


18. Software-Defined Networking

Traditional routers often arrive with built-in protocols and limited ways for network operators to change their behavior. This can make it difficult for operators to directly control traffic flows or inspect what is happening inside the network.

Software-defined networking (SDN) addresses this limitation by using software to control network behavior.

Traditional networking

In a traditional arrangement:

  • Routers contain distributed routing protocols.

  • Each router participates in computing forwarding decisions.

  • Operators may have limited control over the detailed behavior.

  • Network state can be difficult to observe and adjust.

Software-defined networking

In an SDN-style arrangement:

  1. A software system computes or coordinates network decisions.

  2. The software communicates instructions to network devices.

  3. Devices forward traffic according to those instructions.

  4. Operators can use software controls to influence traffic flows.

  5. Network information can be collected and analyzed centrally or logically centrally.

Earlier telephone networks used a related idea: a computer program could instruct a distributed collection of telephone switches about how to behave. This approach inspired the idea of using software to control portions of the internet.

Routing Control Platform

The Routing Control Platform, or RCP, was an important precursor to SDN. It explored the possibility of computing routing decisions in a separate system rather than relying entirely on independently running protocols within each router.

Current scope of SDN

Software-defined networking is most commonly deployed within:

  • A single service provider backbone

  • A cloud provider’s network

  • A campus network

  • Some interconnection points between networks

It has not completely replaced distributed protocols across the entire global internet. The internet remains a collection of independently administered networks, which makes universal software control difficult.


19. The Flattening of the Internet

The traditional internet often involved many separately administered networks between a source and a destination. A path might cross around ten networks on average.

More recently, large cloud and content providers have built networks and data centers closer to users and access networks. As a result, a user may sometimes reach a major provider after passing through only a small number of networks.

This trend is called the flattening of the internet.

Causes and effects

The flattening results from:

  • Cloud providers deploying infrastructure closer to users

  • Content providers placing servers in regional data centers

  • Service providers connecting directly to large cloud networks

  • Improved interconnection between major networks

  • Increasing use of edge computing

Benefits may include:

  • Lower delay

  • Fewer potential points of congestion

  • More direct traffic paths

  • Greater control over service performance

  • Easier coordination between infrastructure and applications

The trend can also make software-defined control easier. If a complete path is contained within one provider’s network or a small group of closely connected networks, one organization may be able to coordinate more of the infrastructure.


20. Edge Computing

Edge computing places computation and storage close to the users, sensors, and physical devices that generate or consume data.

A possible edge architecture might include:

  1. A mobile phone, drone, or sensor

  2. A wireless connection

  3. A cellular tower or local gateway

  4. A small number of routers

  5. A nearby server running the application

In this arrangement, the application may be served by infrastructure located near the endpoint rather than by a distant data center.

Advantages of edge computing

  • Lower latency

  • Faster responses

  • Reduced long-distance traffic

  • Better support for real-time applications

  • Greater ability to interact with the physical world

  • Potentially improved privacy or local processing

Edge computing also increases the possibility that a single organization can control the entire path from the endpoint to the application server. This can simplify coordination, although it may also increase dependence on a particular provider.


21. Internet Governance and International Regulation

The internet consists of tens of thousands of separately administered networks located across hundreds of countries. Each network may have its own:

  • Ownership

  • Technical policies

  • Business relationships

  • Security practices

  • Legal obligations

  • Traffic-management rules

The fact that these networks operate together is possible because of shared standards and protocols.

Standards as the basis of interoperability

Common standards define:

  • How equipment communicates

  • How packets are formatted

  • How addresses are represented

  • How routing information is exchanged

  • How secure communication is established

Without common standards, independently operated networks would not be able to function as one global system.

National laws and filtering

There is no single global body that determines what every country must allow or block. Individual countries can impose their own laws and norms.

A country may:

  • Block certain websites or services

  • Prevent traffic from entering or leaving

  • Filter domain-name requests

  • Refuse to provide the IP address for a particular domain

  • Restrict access to particular content

The Great Firewall of China is an example of national-level control that restricts access to selected content and services.

Thus, the internet is globally interconnected but governed through a mixture of:

  • International technical standards

  • Independent network operators

  • National laws

  • Organizational policies

  • Agreements between providers


22. Encryption, Privacy, and Traffic Analysis

Encryption protects the content of communication by making the message unreadable to parties that do not possess the necessary key.

However, encryption does not hide every aspect of communication.

Even when the contents are protected, an observer may still determine:

  • That two devices are communicating

  • When communication occurs

  • How frequently communication occurs

  • How much data is transferred

  • The approximate size of individual transfers

  • Which services may be involved

  • Potential characteristics of the activity

For example, the size and timing of encrypted transfers might allow an observer to infer that a person is using a video-streaming service or estimate the length of the movie being watched.

Encryption can protect the message inside the communication, but it may not conceal all metadata about the communication itself.

Privacy protection is therefore imperfect. Network observers may be unable to read the exact contents while still learning meaningful information from traffic patterns.

Certificate authorities

Certificate authorities help establish secure and encrypted communication between endpoints. They assist devices and applications in determining whether a public key or digital identity can be trusted.

These authorities are part of the shared infrastructure that helps bootstrap secure communication across independently operated networks.


23. The Convergence of Wireless, Networking, and Cloud Computing

Networking research increasingly focuses on the convergence of several areas:

  • Wireless communication

  • Cellular networks

  • Wi-Fi

  • Internet routing

  • Cloud computing

  • Computation

  • Storage

  • Edge infrastructure

Historically, these areas were often treated as separate technical communities with different standards, practices, and design priorities. Modern applications increasingly require them to operate together.

A mobile phone, drone, vehicle, or sensor may communicate wirelessly with a network that connects directly to a nearby server. The application may depend on all of the following working together:

  • Reliable wireless access

  • Efficient routing

  • Nearby computation

  • Sufficient storage

  • Low delay

  • Security

  • Mobility support

This convergence is particularly important for applications that interact with the physical world, where delays or failures could create safety risks.

Examples might include:

  • Autonomous vehicles

  • Industrial control systems

  • Remote medical systems

  • Drone operations

  • Smart-city infrastructure

  • Real-time augmented or virtual reality


24. 5G and the Future of Cellular Networking

The significance of 5G is not limited to higher bandwidth. Its important capabilities include several interacting improvements.

Higher bandwidth

Higher bandwidth allows more data to be transmitted in a given period. This supports:

  • High-resolution video

  • More simultaneous users

  • Data-intensive applications

  • Large-scale sensor deployments

Lower latency

Lower latency means less delay between sending a request and receiving a response. This is important when applications must interact with the physical world in real time.

More nearby computation

5G-related architectures can place computation close to mobile devices and wireless access points. This reduces the distance data must travel before being processed.

Greater coverage

Improved coverage allows devices to remain connected across larger areas and in more locations.

Greater integration

5G also contributes to the integration of:

  • Wireless access

  • Network control

  • Cloud services

  • Computation

  • Storage

  • Software-defined management

The user may notice only faster service when moving from one cellular generation to another, but the underlying network may also be becoming more programmable and more closely integrated with cloud and edge computing.


25. The Internet as Global Communication Infrastructure

The internet is part of a worldwide communication fabric. Its operation depends on the interaction of many elements:

  • Physical cables and wireless links

  • Routers and switches

  • Internet service providers

  • Cloud and content servers

  • Packet switching

  • IP addressing

  • TCP reliability mechanisms

  • DNS naming

  • Wi-Fi and cellular technologies

  • Routing protocols

  • Security systems

  • National policies

  • International standards

  • Independent network operators

Its complexity results from the need to coordinate tens of thousands of networks while preserving decentralized ownership and operation.

The internet continues to evolve toward infrastructure in which communication, computation, and storage are closely connected. As servers move closer to users and devices, applications can respond more quickly and interact more directly with the physical world. The continuing challenge is to preserve interoperability, reliability, security, privacy, and manageable administration across an increasingly large and diverse global system.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent