Choose a network device by the forwarding boundary it owns: repeaters and hubs handle signals, switches forward local frames, routers forward between IP networks, access points bridge wireless clients, and gateways translate or enforce higher-level policy.
Computer networking is the practice of connecting computers and other devices together to share resources and communicate. A network, also known as a data network, is a set of devices (often referred to as nodes) connected by communication links. A node can be a computer, printer, server, smartphone, or any other device capable of sending and/or receiving data generated by other nodes on the network.
Computer networks enable the sharing of resources such as files, printers, internet connections, and applications. They form the backbone of modern communication systems, from small home networks to the global Internet. The best example of a computer network is the Internet itself, which connects billions of devices worldwide.
Computer networks have become essential in today's digital world for several reasons:
Data communication is the transfer of data from one device to another through some form of transmission medium. For data communications to occur, the communicating devices must be part of a communication system made up of hardware and software components. The effectiveness of a data communication system depends on four fundamental characteristics:
| Characteristic | Description | Importance |
|---|---|---|
| Delivery | The system must deliver data to the correct destination | Ensures data reaches intended recipient only |
| Accuracy | The system must deliver data accurately without alteration | Prevents data corruption and maintains integrity |
| Timeliness | Data must be delivered within acceptable time limits | Critical for real-time applications like video/audio |
| Jitter | Variation in packet arrival times | Affects quality of real-time communications |
Data communication systems consist of five essential components that work together to enable information exchange:
| Component | Description | Examples |
|---|---|---|
| Message | The information or data to be communicated | Text, numbers, images, audio, video files |
| Sender | Device that initiates and sends the data message | Computer, smartphone, server, camera |
| Receiver | Device that receives and processes the message | Computer, printer, television, mobile device |
| Medium | Physical path through which message travels | Twisted-pair cable, fiber optic, radio waves |
| Protocol | Set of rules governing data communication | TCP/IP, HTTP, FTP, SMTP |
Data can be transmitted in different ways depending on the requirements and characteristics of the communication channel:
Protocols are sets of rules that govern how data is transmitted and received over networks. They ensure that devices from different manufacturers can communicate with each other. Key protocol suites include:
| Protocol Suite | Purpose | Key Protocols |
|---|---|---|
| TCP/IP | Internet communication standard | TCP, IP, HTTP, FTP, SMTP, DNS |
| OSI Model | Conceptual framework for network communication | 7-layer reference model |
| IEEE 802 | LAN/MAN standards | Ethernet (802.3), Wi-Fi (802.11) |
Several metrics are used to measure and evaluate network performance:
| Metric | Definition | Typical Values |
|---|---|---|
| Bandwidth | Maximum data transfer rate | 1 Mbps - 100 Gbps |
| Throughput | Actual data transfer rate achieved | Usually less than bandwidth |
| Latency | Time delay for data to travel | 1ms - 500ms |
| Jitter | Variation in packet arrival times | < 30ms for VoIP |
| Packet Loss | Percentage of packets lost in transmission | < 1% for most applications |
Security is a critical aspect of computer networking. Key security concepts include:
Computer networking continues to evolve with new technologies and requirements:
Networking offers diverse career paths for IT professionals:
Client device
-> local network interface
-> default gateway or switch
-> routing/security decision
-> destination service
For What, explain each hop by naming the address, protocol, port, and decision made at that layer.
1. DNS resolves learn.example to 203.0.113.20.
2. The host selects its default gateway for the remote address.
3. TCP establishes a connection to destination port 443.
4. TLS authenticates the server and protects the session.
5. HTTP carries the request and response inside that session.
Each step solves a different problem: naming, forwarding, reliable transport, security, and application messaging.
Link speed is only the local interface capacity. Latency, packet loss, DNS, congestion, and server response time can still make the application slow.
The device resolves the domain through DNS, determines whether the destination is local, sends traffic toward its default gateway, establishes transport connectivity, negotiates TLS for HTTPS, and exchanges HTTP messages. Switches move local frames and routers forward packets between networks.
Ping tests ICMP reachability when ICMP is allowed. A website also needs DNS, routing, TCP port 80 or 443, TLS, a listening server process, and a healthy application.
Explore 500+ free tutorials across 20+ languages and frameworks.