IT231 Foundation Of Information Technology

Foundation Of Information TechnologyUnit 617 min read

Networking & Communication: Types, Topologies, Protocols & Real-World Apps

Unit 6 of Foundation Of Information Technology: Explores how computers connect (LAN/WAN), network topologies (star/bus), communication protocols (TCP/IP), and real-world applications like eSewa payments and Daraz logistics, with worked examples of packet routing and error handling.

TAKEAWAYS

  • Networks connect devices via physical (cables) or wireless (Wi-Fi) media, categorized by geographical coverage (LAN, MAN, WAN).
  • Network topologies (star, bus, ring, mesh) define how devices are physically/wirtually linked, affecting speed, cost, and fault tolerance.
  • Communication protocols (TCP/IP, HTTP, FTP) standardize data exchange, ensuring devices understand each other (e.g., eSewa’s HTTPS for secure payments).
  • Contemporary tech (IoT, 5G, SD-WAN) improves business performance by enabling real-time data (e.g., Pathao’s ride-sharing analytics).
  • Worked example: Trace a Daraz order’s journey from warehouse to delivery via a mesh network topology and TCP/IP protocol stack.
  • Exam tip: Always link topology to real-world use cases (e.g., "Star topology is used in home Wi-Fi because...") and protocols to applications (e.g., "HTTP is used in Daraz’s web interface").

1. Introduction to Networking and Communication Technologies

Networks enable devices to share resources (printers, data) and communicate. They rely on hardware (routers, switches) and software protocols (TCP/IP) to transmit data efficiently.

1.1 Classification of Networks by Geographical Coverage

Networks are classified based on their area of coverage:

Local Area Network (LAN)Metropolitan Area Network (MAN)Wide Area Network (WAN)Personal Area Network (PAN)Campus Area Network (CAN)Network Types
Classification of networks by geographical coverage
  • LAN (Local Area Network):

    • Covers a small area (e.g., home, office, university lab).
    • Example: A university’s computer lab connected via Ethernet cables.
    • IMAGE: local area network diagram | LAN setup with switches and wired connections
  • MAN (Metropolitan Area Network):

    • Covers a city or large campus (e.g., NTC’s fiber-optic network in Kathmandu).
    • Often uses fiber optics for high-speed data transfer.
    • IMAGE: metropolitan area network fiber optics | NTC’s fiber backbone in Kathmandu
  • WAN (Wide Area Network):

    • Covers large geographical areas (e.g., Ncell’s mobile network across Nepal).
    • Uses leased lines, satellites, or ISPs (e.g., Ncell’s 4G/5G towers).
    • IMAGE: wide area network satellite communication | Ncell’s 5G tower network
  • PAN (Personal Area Network):

    • Connects devices within a short range (e.g., Bluetooth headphones, smartwatches).
    • Example: Pairing a smartphone with a wireless earbud.
  • CAN (Campus Area Network):

    • Connects buildings on a university/corporate campus (e.g., TU’s Pokhara campus network).

1.2 Communication Media

Data travels via physical or wireless media:

Type Description Example Advantages Disadvantages
Guided Media Uses physical cables (copper, fiber). Ethernet cables, coaxial cables High speed, secure Limited range, expensive
Unguided Media Uses wireless signals (radio, infrared). Wi-Fi, Bluetooth, microwave No cables, flexible Vulnerable to interference
Fiber Optic Uses light pulses in glass fibers. NTC’s fiber-optic backbone Ultra-high speed, immune to EMI Expensive, complex installation
Coaxial Cable Thick copper core with insulating layers. Cable TV connections High bandwidth Bulky, prone to signal loss

Worked Example: eSewa’s Payment Network eSewa uses a WAN (geographically distributed) with fiber-optic cables for secure transactions. When you pay via eSewa:

  1. Your request travels via Wi-Fi (unguided media) to your phone.
  2. The data is encrypted using HTTPS (HTTP Secure) and sent to eSewa’s servers via ISP (Internet Service Provider).
  3. The bank processes the payment, and confirmation is sent back to your phone.

2. Network Topologies

Definition: The physical or logical arrangement of devices in a network. Topologies determine how data flows and how faults are handled.

2.1 Types of Network Topologies

  • Star Topology:

    • All devices connect to a central hub/switch (e.g., home Wi-Fi router).
    • IMAGE: star topology network diagram | Home Wi-Fi setup with router as central node
    • Advantages:
      • Easy to install and troubleshoot.
      • Fault isolation (if one device fails, others remain connected).
    • Disadvantages:
      • Central hub is a single point of failure.
      • Higher cost for cabling.
  • Bus Topology:

    • All devices share a single communication line (backbone).
    • IMAGE: bus topology network diagram | Old-school Ethernet 10BASE2
    • Advantages:
      • Simple and cost-effective.
      • Easy to add new devices.
    • Disadvantages:
      • Entire network fails if the backbone is damaged.
      • Performance degrades as more devices join (collisions).
  • Ring Topology:

    • Devices are connected in a closed loop, with data traveling in one direction.
    • IMAGE: ring topology network diagram | Token Ring network
    • Advantages:
      • Predictable data flow (no collisions).
      • Easy to detect faults (if one node fails, the ring breaks).
    • Disadvantages:
      • Slow to add/remove devices.
      • Entire network stops if the ring is broken.
  • Mesh Topology:

    • Every device is connected to every other device (full mesh) or a subset (partial mesh).
    • IMAGE: mesh topology network diagram | IoT sensor network
    • Advantages:
      • High fault tolerance (multiple paths for data).
      • Ideal for critical systems (e.g., military, hospitals).
    • Disadvantages:
      • Expensive and complex to set up.
      • High cabling requirements.
  • Hybrid Topology:

    • Combines two or more topologies (e.g., star-bus, ring-mesh).
    • Example: A university campus network using star topology for buildings connected via a bus backbone.

2.2 Worked Example: Daraz’s Warehouse Logistics Network

Daraz uses a hybrid topology in its warehouses:

  • Star topology for individual workstations (each picker connects to a central server).
  • Mesh topology for real-time inventory tracking (sensors communicate with each other).
  • WAN connects warehouses across Nepal for order fulfillment.

Trace of an Order:

  1. Customer places an order on Daraz’s website → data travels via HTTP/HTTPS to Daraz’s servers.
  2. The order is routed to the nearest warehouse via TCP/IP.
  3. In the warehouse, mesh sensors track inventory in real-time.
  4. Picked items are scanned and sent to the delivery center via star-topology workstations.
  5. Delivery is tracked via GPS (WAN) to the customer.

3. Communication Protocols

Definition: Rules and conventions governing data exchange between devices. Without protocols, devices cannot understand each other.

3.1 OSI Model Layers

The Open Systems Interconnection (OSI) model standardizes networking protocols into 7 layers:

flowchart TD
    A["Application"] --> B["Presentation"]
    B --> C["Session"]
    C --> D["Transport"]
    D --> E["Network"]
    E --> F["Data Link"]
    F --> G["Physical"]
    A -->|"Layer 7"| H["Application Layer"]
    B -->|"Layer 6"| I["Presentation Layer"]
    C -->|"Layer 5"| J["Session Layer"]
    D -->|"Layer 4"| K["Transport Layer"]
    E -->|"Layer 3"| L["Network Layer"]
    F -->|"Layer 2"| M["Data Link Layer"]
    G -->|"Layer 1"| N["Physical Layer"]
Layer Function Example Protocols Real-World Use
7. Application Provides network services to end-users. HTTP, FTP, SMTP, DNS Daraz’s web interface (HTTP)
6. Presentation Translates data between application and network formats (e.g., encryption). SSL/TLS, JPEG, MPEG eSewa’s secure payment (HTTPS = HTTP + SSL)
5. Session Manages sessions between applications. NetBIOS, RPC WhatsApp’s chat sessions
4. Transport Ensures end-to-end communication (error-checking, flow control). TCP, UDP YouTube video streaming (UDP for speed)
3. Network Handles logical addressing and routing. IP, ICMP, OSPF Google Maps routing (IP addresses)
2. Data Link Manages node-to-node data transfer (MAC addresses). Ethernet, PPP, Wi-Fi Wi-Fi router connecting to your phone
1. Physical Defines physical connections (cables, signals). USB, Ethernet, Fiber NTC’s fiber-optic cables

3.2 TCP/IP Model (Simplified 4-Layers)

Most modern networks use the TCP/IP model, which simplifies the OSI model into 4 layers:

HTTPFTPDNSApplication LayerTCPUDPTransport LayerIPICMPInternet LayerEthernetWi-FiNetwork Access LayerTCP/IP Model
TCP/IP model with key protocols at each layer
Layer Function Example Protocols
Application User interfaces (e.g., web browsers). HTTP, HTTPS, FTP
Transport End-to-end communication (TCP for reliability, UDP for speed). TCP, UDP
Internet Logical addressing and routing (IP). IP, ICMP, IPv4/IPv6
Network Access Physical data transfer (MAC addresses, Ethernet). Ethernet, Wi-Fi, PPP

Worked Example: How YouTube Streams a Video

  1. You open YouTube → Application Layer (HTTP) requests the video.
  2. The video is split into packets → Transport Layer (UDP) sends them for speed.
  3. Packets are routed via Internet Layer (IP) to YouTube’s servers.
  4. Network Access Layer ensures packets reach your phone via Wi-Fi/Ethernet.

4. Contemporary Networking Technologies

These technologies improve speed, security, and scalability in businesses.

4.1 Internet of Things (IoT)

  • Definition: Connects physical devices (sensors, appliances) to the internet.
  • Example: Smart thermostats (e.g., Nest) adjust temperature based on real-time data.
  • Advantages:
    • Remote monitoring (e.g., NTC’s smart traffic lights).
    • Energy efficiency (e.g., smart grids in Nepal).
  • Disadvantages:
    • Security risks (IoT devices are often vulnerable).
    • High initial setup cost.

4.2 5G Technology

  • Definition: Fifth-generation wireless technology, 100x faster than 4G.
  • Example: Ncell’s 5G rollout in Kathmandu for ultra-fast internet.
  • Advantages:
    • Low latency (ideal for real-time apps like Pathao).
    • Supports IoT devices (e.g., smart cities).
  • Disadvantages:
    • High infrastructure cost.
    • Limited coverage in rural areas.

4.3 Software-Defined Wide Area Network (SD-WAN)

  • Definition: Uses software to manage WAN connections, optimizing traffic.
  • Example: Daraz uses SD-WAN to route orders efficiently across Nepal’s WAN.
  • Advantages:
    • Cost-effective (uses cheaper links like broadband).
    • Better performance than traditional MPLS.
  • Disadvantages:
    • Requires skilled IT staff.
2010sTraditional WAN:Dedicated MPLS circuit2015–PresentSD-WAN:Virtualized, cloud-basFutureAI-driven SD-WAN:Autonomous traffic opt
Evolution of WAN technologies toward SD-WAN

4.4 Virtual Private Network (VPN)

  • Definition: Encrypts data over public networks (e.g., internet) for security.
  • Example: Bank employees use VPNs to access NEPSE’s secure trading platform.
  • Advantages:
    • Secure remote access (e.g., eSewa’s secure transactions).
    • Bypasses geo-restrictions (e.g., accessing international content).
  • Disadvantages:
    • Slower speeds due to encryption.
    • Requires trusted VPN providers.

5. Network Security

Security is critical to protect data in transit and at rest.

5.1 Common Threats

Threat Description Example
Phishing Fraudulent emails/websites to steal credentials. Fake eSewa login pages
Man-in-the-Middle Attacker intercepts and alters communication. Hacking a public Wi-Fi to steal data
Denial-of-Service (DoS) Overwhelms a network to make it unavailable. Attacking NEPSE’s trading platform
Malware Viruses, ransomware, spyware. CryptoLocker locking files

5.2 Security Measures

Measure Description Example
Firewalls Blocks unauthorized access. NTC’s firewall protecting its network
Encryption Secures data (e.g., HTTPS, VPN). eSewa’s HTTPS for secure payments
Intrusion Detection Systems (IDS) Monitors suspicious activity. Banks using IDS to detect fraud
Multi-Factor Authentication (MFA) Requires multiple verification steps. NEPSE’s trading account login

In the Real World

  1. eSewa’s Payment Network:

    • Uses a WAN with fiber-optic cables for secure transactions.
    • HTTPS (Transport Layer Security) encrypts data to prevent fraud.
    • Star topology in bank branches connects to eSewa’s central servers.
  2. Daraz’s Logistics Network:

    • Hybrid topology (star + mesh) ensures real-time inventory tracking.
    • SD-WAN optimizes order routing across Nepal’s WAN.
    • IoT sensors in warehouses track stock levels automatically.
  3. Pathao’s Ride-Sharing App:

    • 5G technology enables real-time GPS tracking and instant ride matching.
    • UDP protocol ensures low-latency communication between drivers and passengers.
    • Cloud computing stores driver and passenger data securely.

Exam Tip

  • For classification questions (e.g., "Types of networks"):

    • Always include real-world examples (e.g., "Ncell’s 5G is a WAN").
    • Mention advantages/disadvantages (e.g., "LAN is fast but limited in range").
  • For topology questions:

    • Draw a quick sketch in your exam (even if not allowed, it helps visualize).
    • Compare two topologies (e.g., "Star is better than bus for fault tolerance").
  • For protocols:

    • Link OSI/TCP/IP layers to real apps (e.g., "HTTP is Layer 7 for Daraz’s website").
    • Explain how errors are handled (e.g., "TCP uses checksums to detect packet loss").
  • For contemporary tech:

    • Use acronyms (IoT, SD-WAN, 5G) and one-sentence explanations.
    • Tie to Nepalese examples (e.g., "Ncell’s 5G improves Pathao’s ride-sharing").
  • Worked examples:

    • Trace a real scenario (e.g., "How does a Daraz order reach you?").
    • Use protocol layers (e.g., "HTTP → TCP → IP → Ethernet").

Final Note: Always visualize networks in your mind (or sketch) when answering. Examiners love clear, structured answers with real-world ties!

Based on the TU BITM syllabus for Foundation Of Information Technology (IT231), unit 6.

Discussion

Loading…