Welcome to the fundamental concepts of computer networking. This section provides an overview of essential terminology, models, and principles that form the backbone of modern network communication.

What is a Network?

A computer network is a collection of interconnected computers and devices that can communicate with each other to share resources, data, and services. Networks can range in size from a small Local Area Network (LAN) connecting devices within a single building to vast Wide Area Networks (WANs) spanning across cities, countries, or even the globe, with the Internet being the most prominent example.

Key Components of a Network

Network Topologies

Network topology refers to the arrangement of the elements (links, nodes, etc.) of a communication network. Common topologies include:

Network Models: OSI and TCP/IP

To standardize communication, networking concepts are often organized into layered models. The two most prominent models are:

The OSI Model (Open Systems Interconnection)

A conceptual framework that standardizes the functions of a telecommunication or computing system in terms of abstraction layers. It has seven layers:

  1. Physical Layer: Transmits raw bit streams over a physical medium.
  2. Data Link Layer: Provides node-to-node data transfer and error correction.
  3. Network Layer: Handles logical addressing (IP addresses) and routing of data packets.
  4. Transport Layer: Provides reliable or unreliable end-to-end data delivery (e.g., TCP, UDP).
  5. Session Layer: Manages communication sessions between applications.
  6. Presentation Layer: Translates, encrypts, and compresses data.
  7. Application Layer: Provides network services directly to end-user applications.

The TCP/IP Model (Transmission Control Protocol/Internet Protocol)

A more practical, four-layer model that the Internet is based on:

IP Addressing

An IP address is a unique numerical label assigned to each device participating in a computer network that uses the Internet Protocol for communication. There are two main versions:

IP addresses are assigned either statically (manually configured) or dynamically (assigned automatically by a DHCP server).

Ports

In network communication, a port is a numerical identifier used to distinguish between different services or applications running on a single host. For example, web servers typically listen on port 80 for HTTP and port 443 for HTTPS.

Common Network Protocols

Protocols are the language of networks. Some fundamental ones include:

Understanding these basics is crucial for anyone working with or developing for networked systems.