Computer Networking Guide — — From Basics to Intermediate Concepts
Computer networking is a process through which multiple computers and devices can exchange data with each other.
Computer Networking Guide — — From Basics to Intermediate Concepts

Computer networking is a process through which multiple computers and devices can exchange data with each other.
1. Network Diagram
A network diagram is a visual layout that shows the components of a computer network (such as routers, switches, servers, and endpoints) and how they are connected.
Physical Diagram: Shows the actual physical location of devices and the cables used between them.

Logical Diagram: Shows data flow paths and IP addressing schemes between devices.

2. Types of Networking
Based on geographical scope, networks are mainly divided into three types:
- LAN (Local Area Network): Limited area such as a home, school, or office building.
- MAN (Metropolitan Area Network): A city-wide network connecting multiple LANs.
- WAN (Wide Area Network): A large network covering countries or continents (the Internet is the largest WAN).

3. Network Architecture
Network architecture defines how a network is designed and functions.
Client-Server Architecture:
- A central server stores data and provides services.
- Clients request resources from the server.
- Advantage: Centralized security and management.
Peer-to-Peer (P2P) Architecture:
- Every device can act as both client and server.
- Advantage: Easy setup, no dedicated server required.

4. Network Topologies
Topology refers to the geometric arrangement of devices in a network.
- Bus Topology: All devices connected to a single main cable.
- Ring Topology: Devices form a circular connection.
- Star Topology: All devices connect to a central hub/switch (most commonly used).
- Mesh Topology: Every device connects to every other device (very reliable but expensive).

5. OSI and TCP/IP Models
OSI Model (7 Layers)
A conceptual model defining how data moves in a network:
- Application
- Presentation
- Session
- Transport (TCP/UDP)
- Network (IP routing)
- Data Link (MAC addressing)
- Physical (cables, signals)
TCP/IP Model (4 Layers)
A practical model used in real networks:
- Application Layer
- Transport Layer
- Internet Layer
- Network Access Layer

6. TCP and UDP Protocols
These are the main protocols of the Transport Layer. TCP: Reliable, connection-oriented protocol UDP: Fast, connectionless, no guarantee of delivery

7. IP Address and IP Classes
IP Address
A unique numerical label assigned to each device in a network.
- IPv4: 32-bit address (e.g., 192.168.1.1)
- IPv6: 128-bit address (used due to IPv4 limitations)
IP Classes (IPv4)
- Class A: 1–126 → Large networks
- Class B: 128–191 → Medium networks
- Class C: 192–223 → Small networks (most used)
- Class D: 224–239 → Multicast
- Class E: 240–254 → Research purposes
Private vs Public IP
Private IP: Used inside LAN, not routable on the internet
- Class A: 10.0.0.0–10.255.255.255
- Class B: 172.16.0.0–172.31.255.255
- Class C: 192.168.0.0–192.168.255.255
Public IP: Assigned by ISP, globally unique, used on the internet.

8. Networking Devices
- Switch: Uses MAC address to forward data within a LAN.
- Router: Connects different networks and uses IP addressing.
- Firewall: Monitors and controls network traffic for security.
- Bridge: Connects multiple LAN segments and filters traffic using MAC addresses.

9. Subnetting
Subnetting is the process of dividing a large network into smaller, manageable sub-networks using subnet masks and binary operations.

10. MAC Address
A MAC address is a physical hardware address assigned to a network interface card (NIC).
- 48-bit address (e.g., 00:0A:95:9D:68:16)
- Permanently assigned by the manufacturer
- Used for communication within a LAN

11. ARP Protocol (Address Resolution Protocol)
ARP is a protocol that helps find the corresponding MAC address of a device when its IP address is known in a local network.
Why it is needed:
When a host wants to communicate with another host, it knows the destination IP address. However, to send data at the physical layer, a MAC address is required. ARP fills this gap.
ARP Request (Search):
Host ‘A’ (the sender) broadcasts an ARP request message in the network.
Message: “Who has this IP address (192.168.1.5)? Please send me your MAC address.”
ARP Reply (Response):
All devices receive the request, but only the device with the matching IP address (Host ‘B’) responds.
Message: “I have IP 192.168.1.5, and my MAC address is 00:0A:95:9D:68:16.”
Caching:
Host ‘A’ stores this MAC address in its ARP cache for a certain time so it does not need to repeat the ARP process for future communication with the same device.
RARP (Reverse ARP)
RARP is the opposite process of ARP. It is used to find an IP address when the MAC address is known.
However, RARP is now mostly replaced by DHCP (Dynamic Host Configuration Protocol).
These mechanisms ensure that although data moves logically using IP addresses, it is correctly delivered over the physical medium (wired or wireless) using MAC addresses.
Binary Number System
The binary number system is a base-2 number system. It uses only two digits: 0 and 1.
Computers and digital circuits use binary because electronic systems can easily understand two states:
- 1 = ON (High Voltage)
- 0 = OFF (Low Voltage)
1. Bit and Byte
- Bit: The smallest unit of data in binary (0 or 1).
- Byte: A group of 8 bits. A byte can represent a character (like ‘A’, ‘b’, ‘9’, ‘?’) or 256 values (0–255).
1 Byte = 8 Bits
2. Binary to Decimal Conversion
Binary numbers are converted to decimal (Base-10) using powers of 2.

3. Importance of Binary in Networking
Binary numbers are very important in computer networking.
IP Address:
An IPv4 address is a 32-bit number, divided into four 8-bit sections called octets. Binary understanding is essential for subnet mask calculations and subnetting.
Example:
The binary form of 255.255.255.0 is:
11111111 . 11111111 . 11111111 . 00000000 (255) (255) (255) (0)
Subnet Mask:
During subnetting, binary is used to identify:
- Network bits (1)
- Host bits (0)
This helps in dividing a network into smaller subnetworks.
Flags and Protocols:
In TCP/IP protocol headers, different control flags such as:
- SYN
- ACK
- FIN
are controlled using binary values (0 or 1), which determine how communication between devices is managed.

Conclusion
Computer networking is the foundation of modern communication systems. It allows devices to share data efficiently using protocols, IP addressing, and network models. Understanding these basics is essential for further study in networking and cybersecurity.
메타데이터
- post_id
- 2fe06cb9d48b
- slug
- computer-networking-guide-from-basics-to-intermediate-concepts-2fe06cb9d48b
- url
- https://medium.com/@arnahid/computer-networking-guide-from-basics-to-intermediate-concepts-2fe06cb9d48b
- canonical_url
- https://medium.com/@arnahid/computer-networking-guide-from-basics-to-intermediate-concepts-2fe06cb9d48b
- author_url
- https://medium.com/@arnahid
- status
- ok
- fetched_at
- 2026-09-13 01:12:29