What is Computer Networking? Detailed Explanation.

Rahul Setrakian
11 min readDec 11, 2022

--

Computer networking is the practice of connecting computers and devices together in order to share data and resources. This is typically done using a combination of hardware, such as routers and switches, and software, such as networking protocols.

Networking allows devices to communicate with each other and access shared resources, such as printers or servers. This allows for more efficient and effective collaboration, as well as greater flexibility in terms of accessing information and resources.

There are many different types of networks, including local area networks (LANs), wide area networks (WANs), and wireless networks. Each of these networks has its own unique characteristics and uses.

For example, a LAN is a network that is used to connect devices in a single location, such as a home or office. A WAN, on the other hand, is a network that covers a larger area, such as a city or a country. Wireless networks, as their name suggests, use wireless technology to connect devices.

Networks can be further classified based on their topology, or the way in which the devices on the network are connected. Some common network topologies include star, bus, and ring.

In a star topology, devices are connected to a central hub or switch. In a bus topology, devices are connected to a single central cable. In a ring topology, devices are connected in a circular configuration, with data traveling in a single direction around the ring.

The most common type of network is the internet, which is a global network of networks that uses a variety of technologies, protocols, and standards to connect devices around the world. The internet allows for the exchange of information and resources on a global scale, enabling a wide range of applications and services.

In order for devices on a network to communicate with each other, they must use a common set of networking protocols. These protocols define the rules and standards for how data is transmitted over the network. Some of the most commonly used networking protocols include TCP/IP, HTTP, and FTP.

TCP/IP, or the Transmission Control Protocol/Internet Protocol, is a suite of protocols that is used to transmit data over the internet. It includes a set of rules for how data is packaged and sent over the network, as well as how it is routed from one device to another.

HTTP, or the Hypertext Transfer Protocol, is a protocol that is used to transfer files over the internet. It is the foundation of the World Wide Web, and is used to request and transmit data between web servers and clients.

FTP, or the File Transfer Protocol, is a protocol that is used to transfer files between computers on a network. It is commonly used to upload and download files from web servers.

In addition to these protocols, networking also involves the use of a variety of hardware and software tools. Routers and switches are commonly used to connect devices on a network and route data between them. Network interface cards (NICs) are used to physically connect devices to the network.

Firewalls are also an important part of networking, as they are used to secure networks and protect against unauthorized access. Firewalls can be hardware- or software-based, and are typically configured to allow only specific types of traffic to pass through.

Data and Signal

Data and signal are two related but distinct concepts in computing and telecommunications.

Data refers to the raw information that is processed by a computer or other device. Data can be numbers, text, images, audio, or any other form of information. In computing, data is often stored in a structured format, such as a database or spreadsheet, and is processed using software applications.

Signal, on the other hand, refers to the representation of data in a form that can be transmitted over a communication channel. In other words, a signal is the physical representation of data that can be transmitted from one device to another.

Signals can take many different forms, depending on the type of data being transmitted and the type of communication channel being used. For example, an electrical signal can be used to transmit data over a wire, while a radio wave can be used to transmit data wirelessly.

In order for data to be transmitted over a communication channel, it must first be converted into a signal. This process is known as modulation, and involves encoding the data into a form that can be represented by a physical signal.

Once the data has been modulated into a signal, it can be transmitted over the communication channel. At the receiving end, the signal is demodulated back into its original data form, allowing the recipient to access and process the information.

In summary, data is the raw information that is processed by computers and other devices, while a signal is the physical representation of data that can be transmitted over a communication channel. Both are important for the transmission and processing of information in computing and telecommunications.

Data Transmission Mode

In computing, data transmission mode refers to the way in which data is transferred from one device to another over a communication channel. There are two main types of data transmission modes: simplex, half-duplex, and full-duplex.

Simplex mode, also known as unidirectional mode, involves the transmission of data in only one direction. In this mode, one device, known as the transmitter, sends data to the other device, known as the receiver. The receiver is not able to send data back to the transmitter in simplex mode.

Half-duplex mode, also known as semi-duplex mode, allows for the transmission of data in both directions, but not simultaneously. In this mode, either the transmitter or the receiver can send data at any given time, but not both at the same time.

Full-duplex mode, also known as duplex mode, allows for the simultaneous transmission of data in both directions. In this mode, both the transmitter and the receiver can send and receive data at the same time.

The choice of data transmission mode depends on the specific requirements of the application and the communication channel being used. For example, simplex mode is commonly used for one-way communication, such as in a broadcast television or radio signal. Half-duplex mode is often used for communication between devices that do not need to transmit data simultaneously, such as in a walkie-talkie. Full-duplex mode is typically used for applications that require high-speed, real-time communication, such as in a telephone call.

What is Modem?

A modem is a device that allows computers to communicate over a telephone line, cable line, or satellite connection. It converts digital data into analog signals that can be transmitted over a communication channel, and then converts the received analog signals back into digital data. This allows computers to send and receive information, such as emails, web pages, and other types of data. Modems are commonly used in home and office networks to provide Internet access, as well as in other types of communication systems.

Network Devices

There are many different types of network devices, each with a specific function in a computer network. Some common examples include:

  • Router: a device that connects multiple networks together and forwards data packets between them.
  • Switch: a device that connects multiple devices within a single network and forwards data packets between them.
  • Hub: a device that connects multiple devices within a single network and broadcasts data packets to all connected devices.
  • Bridge: a device that connects two or more networks together and forwards data packets between them based on their MAC addresses.
  • Firewall: a device that controls access to a network and protects it from external threats.
  • Access point: a device that allows wireless devices to connect to a wired network.
  • Modem: a device that converts digital data into analog signals for transmission over a communication channel.

These are just some of the many network devices that are used in modern computer networks. Each device plays a specific role in the overall operation of the network and helps to ensure that data can be transmitted and received efficiently and securely.

Network Architecture

Network architecture refers to the overall design and structure of a computer network. It includes the hardware, software, and protocols that are used to connect devices and transmit data within the network.

A well-designed network architecture should provide a reliable and efficient means of communication between devices, allowing them to share resources and information. It should also be flexible and scalable, so that it can accommodate new devices and services as the network grows and changes.

There are many different types of network architectures, each with its own strengths and weaknesses. Some common examples include:

  • Peer-to-peer: a network architecture in which all devices have equal status and can communicate directly with each other.
  • Client-server: a network architecture in which devices are divided into clients and servers, with clients requesting services from servers.
  • Hierarchical: a network architecture in which devices are organized into a hierarchy, with devices at higher levels providing services to those at lower levels.

The choice of network architecture often depends on the specific requirements and goals of the network. For example, a small office network may use a peer-to-peer architecture, while a large enterprise network may use a client-server or hierarchical architecture.

Topologies

A network topology is the arrangement of the various elements (e.g. nodes, links, etc.) of a computer network. It defines how the devices in a network are connected and how they communicate with each other.

There are several common network topologies, including:

  • Bus topology: a network topology in which devices are connected to a central cable or bus.
  • Star topology: a network topology in which devices are connected to a central hub or switch.
  • Ring topology: a network topology in which devices are connected to each other in a circular or ring-like fashion.
  • Mesh topology: a network topology in which every device is connected to every other device.

The choice of network topology can affect the performance, reliability, and scalability of a network. For example, a bus topology may be easy to set up and manage, but it can be less reliable than other topologies because the failure of a single device can disrupt the entire network. A mesh topology, on the other hand, can be more resilient and scalable, but it may require more complex network infrastructure and management.

Classification of Networks

LANs, MANs, and WANs are types of computer networks that are distinguished by their geographic area and the extent to which they cover.

  • LAN (Local Area Network): A LAN is a network that covers a small geographic area, such as a single building or campus. It typically uses Ethernet technology and other networking protocols to connect devices, such as computers, printers, and servers, within a relatively small area. LANs are often used in home and office environments to provide network connectivity and enable the sharing of resources, such as files and printers.
  • MAN (Metropolitan Area Network): A MAN is a network that covers a larger area than a LAN, typically covering an entire city or metropolitan region. It is often owned and operated by a public authority or service provider, and it uses high-speed communication technologies, such as fiber optic cables and broadband wireless, to connect devices within the network. MANs are often used to provide Internet access and other services to businesses and consumers within a metropolitan area.
  • WAN (Wide Area Network): A WAN is a network that covers a very large geographic area, often spanning multiple cities, countries, or even continents. It is typically owned and operated by a large organization, such as a government agency or multinational corporation, and it uses long-distance communication technologies, such as satellite links and leased lines, to connect devices within the network. WANs are often used to connect LANs and other networks together, allowing them to share resources and communicate with each other.

In summary, LANs are small and cover a limited area, MANs are larger and cover a metropolitan area, and WANs are the largest and cover a very large area. Each type of network has its own characteristics and uses, and they are often used together to form a larger, more complex network.

OSI Models

The OSI model (Open Systems Interconnection model) is a theoretical framework that defines how communications should take place between two or more devices in a computer network. It is a seven-layer hierarchical model that divides the process of transmitting data across a network into seven distinct layers, each of which performs a specific function.

The seven layers of the OSI model are:

  • Layer 1: Physical layer. This layer defines the physical characteristics of the network, such as the type of cable, the connectors, and the signaling method. It is responsible for transmitting raw bits over the network medium.
  • Layer 2: Data link layer. This layer provides error-free transfer of data frames between two devices on the same network segment. It is responsible for framing, error detection, and flow control.
  • Layer 3: Network layer. This layer provides logical addressing and routing of data packets between devices on different network segments. It is responsible for establishing, maintaining, and terminating connections between devices.
  • Layer 4: Transport layer. This layer provides end-to-end delivery of data between devices. It is responsible for segmenting and reassembling data, as well as error recovery and flow control.
  • Layer 5: Session layer. This layer provides mechanisms for establishing, maintaining, and terminating sessions between devices. It is responsible for establishing, managing, and terminating connections between applications.
  • Layer 6: Presentation layer. This layer provides a common representation of data for the applications on each device. It is responsible for data translation, compression, and encryption.
  • Layer 7: Application layer. This layer provides a user interface and support for application-specific functions. It is responsible for providing services to the applications that use the network.

Each layer of the OSI model has a specific set of protocols and standards that define how it should operate. These protocols and standards are designed to ensure interoperability between different devices and systems in a network, regardless of the underlying hardware or software.

The OSI model is a conceptual model that provides a standardized way of thinking about and understanding the complex processes involved in transmitting data across a network. It is widely used in the field of networking, and it forms the basis for many other networking models and standards.

TCP/IP Model

The TCP model (Transmission Control Protocol) is a five-layer hierarchical model that is used to transmit data across a computer network. It is a widely-used protocol that is based on the OSI model, and it defines the way in which devices communicate with each other over a network.

The five layers of the TCP model are:

  • Layer 1: Host-to-Network layer. This layer defines the interface between a host computer and the network, and it is responsible for providing addressing and routing information to the network.
  • Layer 2: Internet layer. This layer defines the structure and rules for transmitting data across the network, and it is responsible for providing logical addressing (IP addresses) and routing of data packets.
  • Layer 3: Transport layer. This layer provides end-to-end delivery of data between devices, and it is responsible for segmenting and reassembling data, as well as error recovery and flow control.
  • Layer 4: Application layer. This layer provides a user interface and support for application-specific functions, and it is responsible for providing services to the applications that use the network.
  • Layer 5: Host-to-Host layer. This layer defines the interface between two host computers, and it is responsible for providing reliable data transfer between the two hosts.

Each layer of the TCP model has a specific set of protocols and standards that define how it should operate. The most important protocol at the transport layer is the TCP protocol, which is responsible for establishing, maintaining, and terminating connections between devices, as well as providing error recovery and flow control.

The TCP model is a widely-used protocol that is used to transmit data across many different types of networks, including the Internet. It is a reliable and efficient protocol that ensures that data is transmitted accurately and without errors.

Conclusion

Overall, networking plays a crucial role in modern computing, allowing devices to communicate and share resources with each other. This has many important applications, from enabling individuals to access the internet and share files, to allowing organizations to share data and resources among their employees.

Join community on Telegram: https://telegram.me/NonymousCommunity

--

--

Rahul Setrakian

I am Rahul Setrakian, a self-taught programmer looking to get into cybersecurity. I am passionate about programming and hacking.