What is Computer Networking? Basics
โก Smart Summary
Computer Networking is the practice of linking two or more devices so they can exchange data, share resources, and run services. It combines hardware (switches, routers, NICs), media (cable or wireless), and software (operating systems and protocols) to deliver reliable communication.

What is a Computer Network?
A computer network is a group of two or more interconnected computers that exchange data and share resources. The connection can travel over copper cable, fibre optics, or wireless media, and the underlying hardware and software are what turn isolated devices into a working network.
This tutorial walks through the essential components of a computer network, the identifiers that locate hosts on it, the uses it enables, and the trade-offs you should weigh before building one.
Computer Network Components
The essential components of a computer network are described below.
Switches
Switches act as controllers that connect computers, printers, and other devices within a campus or building. They let devices on the same network communicate and forward traffic to other networks. Switches reduce the cost of sharing printers, storage, and applications across an organisation.
Routers
Routers connect multiple networks and let many devices share a single internet connection. A router acts as a dispatcher: it analyses the destination of each packet, picks the best path, and forwards the packet on its way.
Servers
Servers are computers that host shared programs, files, and the network operating system. They grant access to network resources for every authorised user.
Clients
Clients are user devices that access the network and consume the resources servers expose. They send requests to servers and receive the corresponding responses.
Transmission Media
Transmission media โ also called links, channels, or lines โ carry data between devices. Coaxial cable, twisted-pair copper, optical fibre, and radio waves are the most common forms.
Access Points
Access points let wireless devices join the network without cables. They give the network flexibility to add laptops, phones, and IoT devices on demand.
Shared Data
Shared data covers everything clients exchange across the network โ files, print jobs, email, application data, and configuration.
Network Interface Card (NIC)
A Network Interface Card sends and receives data, and controls the flow of traffic between a host and the network. Every connected device carries at least one NIC.
Local Operating System
The local operating system runs on each personal computer and lets it access files, drive a local printer, and use its own disk and optical drives.
Network Operating System
The network operating system runs on servers and other shared hosts. It coordinates communication, authentication, and resource sharing across the network.
Protocol
A protocol is a documented set of rules that lets two devices talk to one another over the network. Standard protocols include IP, TCP, UDP, FTP, HTTP, and DNS.
Hub
A hub splits a network connection across multiple computers. When one host sends a packet, the hub forwards the packet to every device on the segment. Hubs are mostly historical today; switches have replaced them in modern networks.
LAN Cable
A Local Area Network (LAN) cable โ also called an Ethernet or data cable โ connects devices to a wired network, including a router that reaches the internet.
OSI Reference Model
OSI stands for Open Systems Interconnection. It is a seven-layer reference model that defines how independent systems exchange data.
Unique Identifiers on a Network
Every host and service on a network needs a name or number that singles it out. The most common identifiers are listed below.
Hostname
Every device on a network is assigned a human-readable name called the hostname. Hostnames make it easier for users and applications to refer to a specific host without memorising its IP address.
IP Address
An IP (Internet Protocol) address is the unique numeric identifier of a device on a network. IPv4 addresses are 32 bits long; IPv6 addresses are 128 bits long.
DNS Server
The Domain Name System (DNS) translates human-friendly URLs and hostnames into the IP addresses devices actually use to find one another.
MAC Address
A MAC (Media Access Control) address โ sometimes called the physical address โ uniquely identifies a NIC. It is 48 bits long and is usually written as 12 hexadecimal digits separated into six bytes.
Port
A port is a logical channel that lets users and applications exchange data with a specific service on a host. A single host can run many applications at once; each application is identified by the port number it listens on.
Other Important Network Components
ARP
ARP stands for Address Resolution Protocol. It maps an IP address to the corresponding physical (MAC) address on a local network.
RARP
RARP (Reverse Address Resolution Protocol) does the opposite: it returns the IP address that corresponds to a given physical address.
Firewall
A firewall filters incoming and outgoing traffic against a set of rules. It is the first line of defence between an internal network and the public internet.
Gateway
A gateway is the device โ usually a router โ that connects a local network to other networks and translates between different protocols where needed.
Uses of Computer Networks
Computer networks make modern collaboration possible. Common uses include:
- Sharing physical resources such as printers, scanners, and storage.
- Sharing expensive software licences and central databases across teams.
- Delivering fast, reliable communication between computers and people.
- Exchanging data and information between users and applications.
- Hosting internal applications, intranets, and customer-facing services.
Advantages of Computer Networking
The main benefits of a well-designed network are:
- Lets many computers send and receive information at the same time.
- Enables sharing of printers, scanners, storage, and email.
- Delivers high-speed communication between sites.
- Cuts the cost and effort of duplicating resources at every location.
- Supports centralised backups, monitoring, and security policy.
Disadvantages of Computer Networking
Networks also have trade-offs to weigh:
- Initial hardware and software investment can be significant.
- Without strong security โ encryption, firewalls, MFA โ data is exposed to attack.
- Some hardware components age out and need to be replaced periodically.
- Networks require ongoing administration, monitoring, and patching.
- Cable faults, server failures, and ISP outages can disrupt the entire network.
Types of Computer Networks (Quick Reference)
The table below summarises the most common network types you will encounter as a beginner.
| Type | Scope | Typical Use |
|---|---|---|
| LAN (Local Area Network) | A single building or campus | Office or home connectivity. |
| WAN (Wide Area Network) | City, country, or globe | Connects multiple LANs over long distances. |
| MAN (Metropolitan Area Network) | A city or large campus | Connects offices across a metropolitan area. |
| WLAN (Wireless LAN) | Building or floor | Wi-Fi access for laptops and mobile devices. |
| PAN (Personal Area Network) | A few metres | Bluetooth and USB connections between personal devices. |
| VPN (Virtual Private Network) | Over the public internet | Securely connects remote users to a private network. |

