Foundation of Information TechnologyUnit 68 min read
Networking & Communication: Protocols, Topologies, LAN/WAN, Internet
Unit 6 of Foundation of Information Technology covers the core concepts of networking—data transmission, communication protocols (TCP/IP, HTTP), network topologies (star, mesh, bus), LAN/WAN architectures, and real-world applications like eSewa’s secure transactions and Ncell’s mobile data routing. Learn how networks f
TAKEAWAYS:
- Networks transmit data using protocols (rules like TCP/IP) and topologies (physical layouts like star or mesh), each with trade-offs in cost, scalability, and reliability.
- LANs (local networks) and WANs (wide-area networks) differ in coverage, speed, and use cases (e.g., office LANs vs. NTC’s national fiber backbone).
- The OSI 7-layer model and TCP/IP 4-layer model standardize communication, with layers handling tasks from physical wiring (Layer 1) to application logic (Layer 7).
- Internet protocols (HTTP/HTTPS, FTP, DNS) enable web browsing, file transfers, and domain resolution—critical for apps like Daraz and YouTube.
- Wireless networks (Wi-Fi, Bluetooth, cellular) use radio waves and require encryption (WPA3) to secure data, as seen in Pathao’s ride-hailing app.
- Network security involves firewalls, VPNs, and encryption (AES, SSL/TLS) to protect transactions (e.g., Khalti’s payment gateways).
1. Introduction to Networking and Communication Technologies
Networking connects devices to share data. It relies on hardware (routers, switches, cables) and software (protocols, drivers). Key goals:
- Resource sharing (printers, files).
- Communication (email, video calls).
- Data transfer (downloading, cloud storage).
Why Networks Matter in Nepal?
- eSewa: Uses secure networks to process online payments (HTTPS, TLS encryption).
- Ncell: Relies on cellular networks (4G/5G) to route voice/data traffic.
- NTC: Manages Nepal’s fiber-optic backbone for internet access.
2. Data Transmission and Communication Protocols
Data travels in bits (0s/1s) via signals (electrical, light, radio). Protocols define how devices communicate.
Types of Transmission
| Mode | Direction | Example |
|---|---|---|
| Simplex | One-way (sender → receiver) | Radio broadcast |
| Half-duplex | Two-way but not simultaneous | Walkie-talkie |
| Full-duplex | Two-way simultaneous | Phone call, internet chat |
Key Protocols
- TCP/IP: Foundation of the internet (e.g., WhatsApp uses TCP for reliable messaging).
- HTTP/HTTPS: Web browsing (e.g., Daraz uses HTTPS for secure orders).
- FTP: File transfers (e.g., uploading videos to YouTube).
- DNS: Translates domain names (e.g.,
daraz.com.np→ IP address).
3. Network Topologies
The layout of devices in a network affects performance and cost.
Common Topologies
graph LR
A["Bus Topology"] -->|"All devices share one cable"| B["Terminators needed at ends"]
C["Star Topology"] -->|"Central hub/switch"| D["Easy to add/remove devices"]
E["Mesh Topology"] -->|"Every device connected to others"| F["High redundancy, costly"]
G["Ring Topology"] -->|"Devices in a closed loop"| H["Token-passing for fairness"]| Topology | Pros | Cons | Example |
|---|---|---|---|
| Bus | Cheap, easy to install | Single point of failure | Old office LANs |
| Star | Easy troubleshooting, scalable | Depends on central hub | Home Wi-Fi routers |
| Mesh | Redundant paths, fault-tolerant | Expensive, complex setup | NTC’s fiber-optic backbone |
| Ring | Fair access, no collisions | Failure disrupts entire network | Token Ring networks (rare now) |
Worked Example: Kathmandu Traffic Routes (Analogy for Mesh Network)
- Problem: Heavy traffic on Ring Road causes delays.
- Solution: Add alternative routes (like mesh networks) to distribute traffic.
- Real-world: NTC’s fiber mesh ensures backup paths if one cable fails.
4. Local Area Networks (LAN) vs. Wide Area Networks (WAN)
| Feature | LAN | WAN |
|---|---|---|
| Coverage | Small area (office, home) | Large area (cities, countries) |
| Speed | High (10 Mbps to 10 Gbps) | Lower (varies, e.g., NTC DSL) |
| Ownership | Private (e.g., college network) | Public/private (e.g., internet) |
| Example | School Wi-Fi | Ncell’s 4G network |
5. The OSI 7-Layer Model
Standardizes network communication. Each layer has a role:
graph TD
A["Layer 7: Application"] -->|"HTTP, FTP"| B["Layer 6: Presentation"]
B -->|"Encryption, compression"| C["Layer 5: Session"]
C -->|"Establishes connections"| D["Layer 4: Transport"]
D -->|"TCP/UDP"| E["Layer 3: Network"]
E -->|"IP addressing"| F["Layer 2: Data Link"]
F -->|"MAC addresses"| G["Layer 1: Physical"]| Layer | Function | Protocols/Devices |
|---|---|---|
| 7. Application | User interfaces (email, web) | HTTP, SMTP, DNS |
| 6. Presentation | Data translation (encryption) | SSL/TLS, JPEG compression |
| 5. Session | Manages connections | NetBIOS, RPC |
| 4. Transport | End-to-end communication | TCP (reliable), UDP (fast) |
| 3. Network | Routing (IP addresses) | IP, Routers |
| 2. Data Link | Framing, MAC addresses | Ethernet, Switches |
| 1. Physical | Raw bit transmission | Cables, Hubs, Wi-Fi signals |
Worked Example: Loading a YouTube Video
- Application (Layer 7): Your browser sends an HTTP request.
- Transport (Layer 4): TCP ensures all video packets arrive.
- Network (Layer 3): IP routes packets via NTC’s backbone.
- Physical (Layer 1): Fiber cables transmit light signals.
6. Wireless Networks
Uses radio waves (Wi-Fi, Bluetooth, cellular) instead of cables.
Key Technologies
| Technology | Frequency | Range | Example |
|---|---|---|---|
| Wi-Fi (802.11) | 2.4 GHz/5 GHz | 30–100 meters | Home internet |
| Bluetooth | 2.4 GHz | 10–100 meters | Wireless headphones |
| 4G/5G | 700 MHz–3.5 GHz | Kilometers | Ncell, NTC mobile data |
Security Measures:
- WPA3: Encrypts Wi-Fi traffic (used in cafes/hotels).
- VPN: Secures data on public networks (e.g., banks use VPNs for remote access).
7. Internet and Web Technologies
The internet is a global WAN using TCP/IP. The web is a service on top of it.
How the Internet Works
- DNS: Converts
google.com→142.250.190.46. - HTTP/HTTPS: Browser requests a webpage.
- TCP/IP: Packets travel via routers (e.g., NTC’s servers).
- Response: Server sends HTML/CSS to your device.
Worked Example: Ordering from Daraz
- You type
daraz.com.np→ DNS resolves the IP. - HTTPS encrypts your login details.
- TCP ensures all order packets arrive at Daraz’s servers.
8. Network Security
Protects data from unauthorized access or attacks (hacking, malware).
Security Tools
| Tool | Purpose | Example |
|---|---|---|
| Firewall | Blocks unauthorized traffic | Home router firewall |
| VPN | Encrypts internet traffic | Banks use VPNs for remote work |
| Antivirus | Detects malware | ESET, Norton |
| Encryption | Secures data (AES, SSL) | eSewa’s payment encryption |
In the Real World
eSewa’s Payment System
- Uses HTTPS (Layer 7) to encrypt transactions.
- Relies on TCP/IP (Layer 4) for reliable data transfer.
- Firewalls block fraudulent access to their servers.
Ncell’s 4G Network
- Mesh topology ensures backup paths if a tower fails.
- Wi-Fi calling uses VoIP (Voice over IP) for calls over data.
Daraz’s Order Fulfillment
- LANs connect warehouse devices (scanners, printers).
- WANs link warehouses to central servers for inventory updates.
Exam Tip
- Diagrams are key: Draw OSI layers, topologies, or TCP/IP flowcharts in exams.
- Compare LAN/WAN: Always highlight coverage, speed, and examples.
- Protocols: Memorize HTTP (web), FTP (files), DNS (names), TCP/UDP (transport).
- Security: Know firewalls, VPNs, and encryption (AES, SSL) for real-world apps.
- Worked examples: Relate concepts to Nepal (e.g., NTC’s fiber mesh, eSewa’s HTTPS).
Based on the TU BIM syllabus for Foundation of Information Technology (IT231), unit 6.
Discussion
Loading…