What Is a Computer Network?

Computer networking, and digital technology in general, can be pretty intimidating for many people. But when you break computer networking down to its foundation, it's not so difficult to understand. In this article, learn the basics of computer networking, its key benefits, and some different types of computer networks.

What is a computer network?

A computer network is a system that connects multiple devices, allowing them to communicate with each other. Networked devices can include personal computers, phones, printers, servers, and even refrigerators; essentially, it includes any device that shares a network connection.

With computer networks, communication allows for the sharing of resources among devices. Before networking existed, we could only perform one-to-one communication between devices. This meant that in the office, every single computer needed its own printer in order to print documents. Computer network infrastructure, however, allows all the network computers to connect and print from one central printer.

Now, almost everything we do relies on computer networking. Whether you're shopping online, streaming Netflix, or sending emails, computer networking is a necessary part of the process.

The basics of computer networks

Computer networks range in size; the largest computer network in the world is the Internet, while the smallest and most basic is the personal area network (PAN). Big or small, networks are comprised of devices, links, communication protocols, and defense systems. To understand how computer networks function, consider a home wireless local area network (LAN) as an example.

Various devices, including computers, phones, gaming devices, and printers, make up home networks. However, other devices are necessary for a network to function - namely routers and switches.

Computer networks can span large distances, from cities to countries.

Routers and switches connect devices to one another across a network. The difference between the two is that routers store data and deliver it in the form of data packets, while switches route the data from input ports to a certain output port. Routers connect networks to each other and connect those networks to a modem, providing Internet access. Switches connect the devices within a network.

Most home networks use routers with built-in switches which allow you to transmit data and communicate with devices on the network. They also serve as a gateway that opens up communication channels with devices on different networks. These networks use links as the transmission medium through which data flows. Most links now are wireless, as most home networks are wireless, though links can also be wired.

Even with all of the necessary equipment and technology, in order for devices to communicate, they need to know the location - or "address" - of other devices.  Modern networks typically use the TCP/IP model to communicate where each device is, given its IP address. These systems allow network computers or devices to transfer data and work in conjunction with one another.

Network defense systems

Finally, any strong computer network needs a defense system. Without defense systems in place, networks are vulnerable to attacks from malicious actors.  Common network defense systems include:

  • Firewalls, which block or allow data packets based on preset security rules set by an administrator
  • Proxy servers, secure software systems that act as a gateway between a device and the rest of the Internet
  • Single sign-on (SSO), a service that lets users use one sign-on for several different applications
  • Virtual private networks (VPNs), which use advanced encryption protocols and secure tunneling techniques to encapsulate all online data transfers

The protection methods you choose to employ is up to you; just keep in mind that networked computers can potentially spread malware or viruses to one another. Protecting the network protects everyone and every device on it.

Types of computer networks

Computer networks vary depending on the size, design, organization, and transmission medium. As network size increases, so does the complexity of the network architecture. This article covers just the basics of computer networking.

From smallest to largest, here are the different types of networks:

Personal area network (PANs)

One person uses this network in a small space, such as a personal office. These types of networks connect personal devices such as laptops, speakers, tablets, and phones - typically using wireless technology such as Bluetooth or WiFi. Personal area networks are like LANs, just more individualized.

Local area networks (LANs)

A local area network connects devices in a small geographic area like a home, school, or office building. LANs usually connect these devices via switches or a router using the TCP/IP communication protocol. LAN connections can be either wired or wireless, although wired connections are usually much faster.

Because LANs are small and the number of devices is limited, they are typically more high speed than other computer network types. Within a LAN, routers serve as the gateway for devices to connect to external networks.

Campus area networks (CANs) and metropolitan area networks (MANs)

Both CANs and MANs are large networks made up of many interconnected LANs. Universities, organizations, and governments use CANs to connect different buildings or regional offices to each other. Metropolitan area networks cover larger geographic areas like cities or localities. They may also serve as Internet service providers (ISPs) for geographic regions.

Wide area networks (WANs)

These networks cover large geographical areas such as cities, regions, and even countries. They are the largest type of network; like CANs and MANs, they connect smaller LANs into one network. The Internet itself is considered a WAN.

Frequently asked questions

What are computer networks?

Computer networks are systems that connect computers and other devices in order for them to share resources and transmit data.

What are four types of computer networking?

The four primary types of computer networking, or computer networks, are personal area networks (PANs), local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs).