Basic knowledge of Networking (day 0 )
🟦 What Is Networking?
Networking is the process of connecting two or more devices so they can share data, files, internet, and resources (like printers or servers).
A network allows devices to:
-
Communicate with each other
-
Access shared services
-
Share the same internet connection
-
Transfer data quickly
Simple example:
When your phone connects to Wi-Fi and you send a message to your friend, that communication happens through a network.
🟦 Devices on a Network
These are the most common devices you see in a network:
1. Host (End Devices)
Devices used by people.
-
Computers
-
Laptops
-
Mobile phones
-
Tablets
-
Servers
2. Switch
Connects devices inside the same network (LAN).
Uses MAC addresses to forward data.
3. Router
Connects different networks together.
Uses IP addresses to route data between networks and the internet.
4. Access Point (AP)
Provides Wi-Fi connectivity for wireless devices.
5. Firewall
Protects the network by allowing or blocking traffic based on security rules.
6. Modem
Connects your home/office network to your ISP (Internet Service Provider).
🟦 Types of Networks
1. LAN (Local Area Network)
Small area — home, school, office.
Fast and private.
2. WAN (Wide Area Network)
Large area — connects multiple LANs across cities or countries.
Internet is the biggest WAN.
3. MAN (Metropolitan Area Network)
Covers a city or large campus.
4. PAN (Personal Area Network)
Very small — Bluetooth devices, smartwatch, headphones.
5. WLAN (Wireless LAN)
LAN created using Wi-Fi instead of cables.
🟦 Peer-to-Peer (P2P) vs Client-Server Architecture
Peer-to-Peer (P2P)
-
All devices are equal.
-
No dedicated server.
-
Each device can share files with others directly.
Example:
Sharing files over Bluetooth or using software like BitTorrent.
Pros:
-
Easy to set up
-
No expensive hardware needed
Cons:
-
Not secure
-
Not scalable for large networks
Client-Server
-
One device acts as server.
-
Other devices (clients) request services from the server.
Example:
Logging into a website → your computer (client) connects to a server.
Pros:
-
Secure
-
Centralized management
-
Scales well
Cons:
-
Requires proper hardware
-
Can be costly
🟦 Network Topologies
Network topology = how devices are arranged and connected.
1. Bus Topology
Single cable (backbone).
All devices connect to one line.
Pros: Cheap
Cons: If cable breaks, whole network fails.
2. Star Topology
All devices connect to a central switch.
Pros: Easy to manage
Cons: If the switch fails, network goes down
3. Ring Topology
Devices connected in a circular path.
Pros: Predictable data flow
Cons: One failure affects entire ring
4. Mesh Topology
Every device connects to every other device.
Pros: Very reliable
Cons: Very expensive
5. Hybrid Topology
Combination of two or more topologies (most real networks use this).
In the next post i will show you a diagram of Networking using help of chatgpt
Comments
Post a Comment