Basics of Computer Networks
A computer network is a collection of computers and other devices interconnected by communication channels that allow sharing of resources and information. Here are some key concepts:
Types of Networks:
-
Local Area Network (LAN): Covers a small geographic area, like a home or office. It’s ideal for sharing resources like printers and files.
-
Wide Area Network (WAN): Spans a large geographic area, like cities or countries. The internet is the largest WAN.
- Metropolitan Area Network (MAN): Larger than a LAN but smaller than a WAN, covering a city or large campus.
- Personal Area Network (PAN): Used for communication among devices close to one person, like Bluetooth connections between a smartphone and headphones.
-
Network Topologies:
-
Star Topology: All devices are connected to a central hub. If the hub fails, the entire network goes down.
-
Bus Topology: All devices share a common communication line. It’s inexpensive but can be slow and prone to collisions.
-
Ring Topology: Devices are connected in a circular fashion. Data travels in one direction, and each device acts as a repeater.
-
Mesh Topology: Devices are interconnected, with multiple paths for data. It’s very reliable but can be expensive.
-
-
Network Protocols:
-
TCP/IP: The foundational protocol of the internet, responsible for data transmission and addressing.
-
HTTP/HTTPS: Used for accessing web pages. HTTPS is the secure version.
-
FTP: Protocol for transferring files between computers.
-
SMTP: Protocol for sending emails.
-
DNS: Translates domain names to IP addresses.
-
-
Network Devices:
-
Router: Connects different networks and directs data packets between them.
-
Switch: Connects devices within a single network and uses MAC addresses to forward data to the correct destination.
-
Modem: Converts digital data to analog signals for transmission over phone lines or cable.
-
Firewall: Security device that monitors and controls incoming and outgoing network traffic.
-
-
Wireless Networks:
-
Wi-Fi: Common wireless network technology for connecting devices within a LAN.
-
Bluetooth: Short-range wireless technology for connecting personal devices.
-
Cellular Networks: Used for mobile phone communication, including 3G, 4G, and 5G technologies.
-