If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Computer networks

The Internet is the world's largest computer network. Let's break that down:
A computer network is any group of interconnected computing devices capable of sending or receiving data. A computing device isn't just a computer—it's any device that can run a program, such as a tablet, phone, or smart sensor.

Building a network

The simplest computer network is two devices:
A network like that only has to worry about a few things, like how to physically connect the two devices and how to send data over the physical connection in a format they both understand.
Let's add one more device:
Now there's additional complexity. How can each device know whether incoming data is meant for them or for their neighbor? This simple network will need an addressing scheme.
Let's jump to six devices. There are actually many ways we can connect six devices together in a computer network:
The top row shows the ring, mesh, and star topologies. The bottom row shows the bus and tree topologies.
Each of those arrangements is a different network topology, and each topology has its advantages and disadvantages.
Imagine the journey of a piece of data through one of those larger networks. What path will it take? When there are multiple paths, how does it know which path is best?
Once networks become larger, routing strategies become more important. There isn't a big difference between two stops and three stops in a path, but there is a big difference between 20 stops and 300 stops.

Types of networks

We use different terms to refer to networks based on their size and characteristics. Let's touch on a few of them here.
The most common type of network is the Local area network (LAN), a network that covers a limited area like a house or school.
A LAN connected using a bus topology. The devices are connected with an Ethernet cable.
The largest type of network is a Wide Area Network (WAN), a network that extends over a large geographic area and is composed of many, many LANs. Oftentimes, the networks in a WAN can only be connected by leasing telecommunications lines from different companies, since no single company owns all the infrastructure across the wide geographic area.
A WAN covering the country of Australia and connecting three LANs with long-distance connections.
Another type of network is the Data Center Network (DCN), a network used in data centers where data must be exchanged with very little delay.
Check your understanding
Based on those descriptions, what type of network is the Internet?
Choose 1 answer:

Networking protocols

Whenever computing devices are connected together in a network, they need protocols to communicate with each other.
If the devices want to communicate over the Internet, they must use the Internet networking protocols. There are many networks that aren't connected to the Internet that also use the Internet protocols, due to how well designed they are for networking.
However, there are networks that use other protocols that are more suited for their task. Data center networks often opt to use networking protocols that take advantage of the incredibly closely knit architecture of the data center. That enables data centers to more efficiently run intensive algorithms, such as training a deep learning network.
As we go forward in this unit, we will focus specifically on the Internet protocols that power the majority of computer networks. In the future, networks might be using protocols that haven't even been invented yet. Fortunately, the concepts underlying the Internet protocols are relevant to all networked systems.
🙋🏽🙋🏻‍♀️🙋🏿‍♂️Do you have any questions about this topic? We'd love to answer—just ask in the questions area below!

Want to join the conversation?