IT111: Comprehensive Guide to Computer Networks

Course Overview & Curriculum Roadmap

  • Course Code & Title: IT111 - Introduction to Computing
  • Department: Department of Information Technology
  • Instructor: Nicole Raiv Hernandez
  • Primary Unit Topic: Introduction to Computer Networks: Connecting Computers, Devices, and People
  • Curriculum Sequence:
    • Topic 1 - Networks: Fundamental principles of how devices establish connections and communicate.
    • Topic 2 - Internet & WWW: The architecture of global information delivery systems.
    • Topic 3 - HTML & CSS: The core technologies used to structure and style web applications.
    • Topics 4–6 - Cybersecurity: Methods, mechanisms, and best practices for securing and protecting networks and information systems.

The Paradigm Shift: From Standalone Machines to Connected Systems

  • Life Without Networks:
    • Modern digital ecosystems are completely dependent on inter-device communication.
    • In the absence of networks, foundational services cease to operate, including:
      • The global Internet.
      • Instant messaging and email communication systems.
      • Online multiplayer gaming platforms and search engines (e.g., Google).
      • Cloud storage infrastructures.
      • Digital banking, online food delivery applications, and streaming video/audio platforms.
  • The Standalone Era (Before Networks):
    • Early computing devices functioned strictly as isolated, independent machines.
    • Information sharing required physical and manual intervention:
      • Manual copying of files.
      • Use of physical media such as USB flash drives, floppy disks, or magnetic tapes.
      • Printing physical paper documents.
      • Physical transfer of hardware components or storage media to move data between locations.
  • The Paradigm Shift (Connected Era):
    • Computers experienced an exponential surge in utility and capability once direct communication was established.
    • Modern connected environments enable devices to seamlessly:
      • Share digital files and transmit communication instantly.
      • Access distributed and shared hardware/software resources.
      • Establish continuous connection to the global Internet.
      • Execute collaborative workloads and multi-user applications in real time.

Definition and Core Functions of Computer Networks

  • Definition of a Computer Network: A group of two or more computing devices linked together via communication channels to facilitate inter-device interaction.
  • Types of Networked Devices:
    • Desktop Computers and Laptops.
    • Smartphones and Tablets.
    • Enterprise Servers.
    • Network Printers.
    • Smart TVs.
    • Internet of Things (IoT) devices (e.g., smart thermostats, IP cameras, wearable sensors).
  • End-to-End Communication Example:
    • Laptop↔Router↔Internet↔Server\text{Laptop} \leftrightarrow \text{Router} \leftrightarrow \text{Internet} \leftrightarrow \text{Server}
  • Four Primary Purposes of Computer Networks:
    1. Communication: Enabling real-time and asynchronous messaging, email transmission, voice calls, and video conferencing.
    2. Resource Sharing: Centralizing physical hardware (e.g., shared printers) and software assets (e.g., centralized databases, shared storage pools, shared Internet bandwidth).
    3. Information Access: Providing immediate access to hosted websites, remote databases, cloud computing infrastructures, and global repositories.
    4. Collaboration & Management: Assisting synchronized group workflows and facilitating administrative control over users, security policies, connected endpoints, and data.

Real-World Network Context: The Home Wi-Fi Network

  • Composition: A standard residential Local Area Network connects diverse home endpoints to a central communication device.
  • Connected Endpoints:
    • Smartphones
    • Laptops
    • Smart TVs
    • Tablets
  • Central Facilitating Device: A residential Router (often integrating a Wireless Access Point, Switch, and Modem) acts as the gateway enabling local endpoints to communicate with each other and reach the external Internet.

Network Classifications by Geographic Scope

Network structures are categorized by their physical size and coverage area. As the geographical footprint expands, the underlying infrastructure complexity and connectivity demands scale accordingly.

  • Personal Area Network (PAN):
    • Coverage: Confined to the immediate personal workspace of an individual, typically within a radius of a few meters.
    • Primary Technologies: Bluetooth, Ultra-Wideband (UWB), Near Field Communication (NFC).
    • Common Examples:
      • Smartphone paired with a Smartwatch.
      • Laptop connected to Bluetooth Headphones.
      • Mobile Phone linked to Wireless Earbuds.
  • Local Area Network (LAN):
    • Coverage: Limited geographic boundaries such as a single room, residence, office building, or academic computer laboratory.
    • Primary Interconnection Path:
      • Computers→Switch→Router→Internet\text{Computers} \rightarrow \text{Switch} \rightarrow \text{Router} \rightarrow \text{Internet}
    • Key Advantages:
      • High-speed data transfer rates (high bandwidth, low latency).
      • Efficient local hardware and file resource sharing.
      • Simplified local administrative control and security management.
    • Common Examples:
      • Home or corporate office network.
      • School or university computer laboratory.
      • Internet café network.
  • Metropolitan Area Network (MAN):
    • Coverage: Spans an entire city, town, or large institutional campus.
    • Infrastructure: Connects multiple individual LANs across a municipality using high-speed links (such as dark fiber or microwave links).
    • Common Example: A municipal network interconnecting distinct government office buildings across a metropolitan region.
  • Wide Area Network (WAN):
    • Coverage: Expands over extensive geographical regions, crossing state, national, or continental boundaries.
    • Infrastructure: Uses leased telecommunication lines, transoceanic fiber-optic cables, and satellite links.
    • Common Example: Multi-national enterprise networks linking corporate branches across distinct countries (e.g., Philippines ↔\leftrightarrow Australia ↔\leftrightarrow United States).
    • The Ultimate WAN: The Internet is the largest and most complex Wide Area Network in existence.

Network Topologies

A network topology defines the structural arrangement—either physical or logical—of devices and interconnections within a network.

  • Bus Topology:
    • Structure: Every network node is connected directly to a single central communication cable (referred to as the bus or backbone).
    • Diagram Representation: PC ─── PC ─── PC ─── PC (Shared Cable)
    • Advantages:
      • Simple and straightforward to install.
      • Requires minimal cabling compared to other structures.
      • Low initial capital expenditure.
    • Disadvantages:
      • Single Point of Failure: If the main shared backbone cable breaks, all network communication fails entirely.
      • Performance degrades significantly as more devices are attached to the bus.
      • Extremely difficult to isolate and troubleshoot faults.
  • Star Topology:
    • Structure: Every endpoint device maintains an independent, dedicated connection to a single central connecting device, typically a network Switch or Hub.
    • Prevalence: It is one of the most widely deployed network topologies in modern enterprise and local networks.
    • Advantages:
      • Centralized management makes adding, moving, or removing nodes straightforward.
      • Fault Isolation: The failure of a single device or cable segment affects only that specific node and leaves the rest of the network operational.
    • Disadvantages:
      • Central Device Dependency: If the central hub or switch experiences hardware failure, the entire connected network drops offline.
  • Ring Topology:
    • Structure: Devices are chained sequentially in a closed loop or circular formation. Data packets traverse the ring in a single direction (or dual directions in redundant implementations), passing through each node along the path.
    • Diagram Representation: PC ─── PC | | PC ─── PC         
    • Advantages:
      • Orderly, highly predictable data transmission path with reduced packet collision potential.
    • Disadvantages:
      • A single node failure or cable link rupture can disrupt the entire communication ring (depending on whether single-ring or dual-ring architecture is used).
      • Adding, removing, or reconfiguring nodes requires breaking the continuous loop, temporarily interrupting network connectivity.
  • Mesh Topology:
    • Structure: Devices feature multiple direct redundant connections to other nodes in the network. In a full mesh, every node is directly wired to every other node; in a partial mesh, only critical nodes have redundant connections.
    • Operational Mechanism: If a primary link fails, network routing algorithms direct data across alternative existing physical links.
    • Advantages:
      • Exceptional fault tolerance and overall system reliability.
      • Multiple simultaneous communication paths prevent traffic bottlenecks.
    • Disadvantages:
      • Prohibitively expensive due to massive cabling and port density requirements.
      • Highly complex to design, install, configure, and maintain.
Topology Comparison Matrix
  • Bus: Shared single backbone cable structure. Main advantage is low cost; main disadvantage is that main cable failure brings down the entire network.
  • Star: Endpoints connect directly to a central hub/switch. Main advantage is easy management and node fault isolation; main disadvantage is total central device dependency.
  • Ring: Circular loop connection structure. Main advantage is organized, deterministic data flow; main disadvantage is modification complexity and point-of-failure vulnerabilities.
  • Mesh: Redundant multi-point interconnections. Main advantage is high reliability and fault tolerance; main disadvantage is extreme cost and structural complexity.

Transmission Media: Wired vs. Wireless

For data to transfer between nodes, a physical or electromagnetic propagation medium is required.

  • Wired Network Media (Guided Media):
    • Ethernet Cables (Copper/Twisted Pair):
      • Widely deployed for interconnecting desktop workstations, local switches, and routers.
      • Advantages: Cost-effective, stable, fast, and highly reliable for short-to-medium distances.
    • Fiber Optic Cables:
      • Utilizes pulses of light transmitted through flexible strands of high-purity glass or plastic.
      • Advantages: Delivers extremely high bandwidth, supports long-distance transmissions without significant signal attenuation, and is completely immune to Electromagnetic Interference (EMI).
  • Wireless Network Media (Unguided Media):
    • Employs radio frequency (RF) signals or light waves propagated through the atmosphere to establish data communication paths.
    • Wi-Fi (Wireless Fidelity):
      • Uses specific radio frequency bands to establish local wireless connectivity.
      • Deployments: Homes, educational facilities, cafes, enterprise office suites.
    • Cellular Networks:
      • Enables mobile endpoints to access networks across immense geographical regions via land-based cell towers.
      • Generational Standards: 4G LTE, 5G NR.

Essential Network Hardware

Distinct structural elements perform specialized operational roles to manage, forward, and convert network signals.

  • Network Interface Card (NIC):
    • The foundational hardware module required for any electronic device to interface with a network.
    • Provides physical or logical interface hardware (e.g., an Ethernet RJ-45 port or an integrated Wi-Fi radio antenna adapter).
  • Hub vs. Switch:
    • Hub (Legacy Device): Operates inefficiently at the physical layer. When a data packet arrives at a hub port, the hub blindly replicates and broadcasts that packet out to all connected ports, regardless of the intended recipient.
      • Data Flow: PC→HUB→Everyone\text{PC} \rightarrow \text{HUB} \rightarrow \text{Everyone}
    • Switch (Intelligent Device): Operates at the data link layer. Inspects incoming frame headers to determine the target address and selectively forwards data only to the specific port connected to the destination device.
      • Data Flow: PC→SWITCH→Intended Device\text{PC} \rightarrow \text{SWITCH} \rightarrow \text{Intended Device}
  • Router:
    • Specialized networking device that forwards data packets between separate, distinct networks (e.g., connecting a local enterprise LAN to the public Internet).
    • Primary Function: Analyzes network layer routing tables to calculate the optimal path for data movement.
    • Data Path Example: Smartphone→Wi-Fi→Router→Internet→Web Server\text{Smartphone} \rightarrow \text{Wi-Fi} \rightarrow \text{Router} \rightarrow \text{Internet} \rightarrow \text{Web Server}
  • Modem (Modulator-Demodulator):
    • Converts digital signals generated by computer equipment into analog signals suitable for transmission over service provider channels (such as cable, fiber, or legacy phone lines), and vice versa.
    • Serves as the connection point to the Internet Service Provider (ISP).
    • Simplified Infrastructure Flow: Internet→ISP→Modem→Router→End Devices\text{Internet} \rightarrow \text{ISP} \rightarrow \text{Modem} \rightarrow \text{Router} \rightarrow \text{End Devices}
    • Integrated Consumer Hardware Note: Modern residential gate units frequently integrate a Modem, Router, Ethernet Switch, and Wireless Access Point into a single physical chassis.
  • Wireless Access Point (WAP / AP):
    • A standalone transceiver device that projects radio signals, allowing Wi-Fi-enabled endpoints to connect into a wired local network infrastructure.
    • Common Implementations: School campus Wi-Fi networks, enterprise office networks, public Wi-Fi hotspots.
    • Path: Laptop / Phone / Tablet→Access Point→Wired Network\text{Laptop / Phone / Tablet} \rightarrow \text{Access Point} \rightarrow \text{Wired Network}

Network Architecture: Physical vs. Logical Components

A network relies on both tangible assets and abstract logical protocols to deliver operational capabilities.

  • Physical Components (Hardware Layer):
    • Concrete, tangible physical equipment that can be handled and maintained.
    • Examples: Ethernet cables, fiber optic lines, switches, routers, servers, wireless access points, network interface hardware.
  • Logical Components (Software & Addressing Systems):
    • Virtual rule structures, configurations, and address schemes that control how data is addressed, routed, and formatted across the physical hardware.
    • Examples: IP addresses, MAC addresses, protocols, operating network configurations.

Network Addressing Systems: MAC Address vs. IP Address

  • MAC Address (Media Access Control):
    • Definition: A hardware identifier burned permanently into the network interface controller during manufacturing.
    • Function: Identifies the specific physical hardware interface on a local link.
    • Analogy: The permanent physical identity or digital "fingerprint" of the hardware module.
  • IP Address (Internet Protocol):
    • Definition: A dynamic or statically assigned logical address that defines a device's current location within a network structure.
    • Function: Used by routers to deliver data packets across interconnected networks to their ultimate destination.
    • Analogy: A mailing address or physical location code used by global post systems.
    • Example Syntax: 192.168.1.10192.168.1.10

Network Protocols

  • Definition: Formally established specifications, rules, and procedures that define how data is formatted, transmitted, received, and decoded across a computer network.
  • Purpose: Ensures that disparate electronic devices running varied operating systems can successfully communicate without ambiguity.
  • Primary Protocols & Core Functions:
    • TCP/IP (Transmission Control Protocol / Internet Protocol): The foundational protocol suite underlying global Internet and private network communication.
    • HTTP (Hypertext Transfer Protocol): Standard protocol used for retrieving and transmitting hypermedia and web application data.
    • HTTPS (Hypertext Transfer Protocol Secure): Encrypted iteration of HTTP using SSL/TLS to guarantee confidentiality and data integrity during web transport.
    • DNS (Domain Name System): Global distributed database system that translates human-readable domain names (e.g., www.example.com) into computer-routable IP addresses (e.g., 192.168.1.10192.168.1.10).
    • FTP (File Transfer Protocol): Dedicated client-server protocol engineered for transmitting and manipulating digital files over networks.
    • SMTP (Simple Mail Transfer Protocol): Standardized transport protocol for sending outbound electronic mail messages.

Mechanics of Data Traversal: The Web Request Cycle

When an end user inputs a URL into a local browser, data traverses logical and physical network structures through a distinct multi-step process:

  1. Input: User enters a website address (URL) into the web browser interface.
  2. DNS Resolution: The operating system issues a request to a DNS server, which maps the domain name to its corresponding target destination IP address.
  3. Network Traversal: Encapsulated data packets travel through local Wi-Fi or Ethernet setups, passing through switches and routers across the Internet infrastructure.
  4. Server Processing: The target web server at the destination IP receives, processes, and evaluates the incoming HTTP/HTTPS request.
  5. Response Delivery: The web server sends back response data packets containing web content (HTML, CSS, assets) across the network.
  6. Output Rendering: The client browser receives the returning payload and renders the final webpage for user interaction.
System Interaction Hierarchy

User Input (CPU + RAM)→Network Media (Wi-Fi / Ethernet)→Network Hardware (Routers / Switches)→Internet Infrastructure Protocols→Destination Response Processing\text{User Input (CPU + RAM)} \rightarrow \text{Network Media (Wi-Fi / Ethernet)} \rightarrow \text{Network Hardware (Routers / Switches)} \rightarrow \text{Internet Infrastructure Protocols} \rightarrow \text{Destination Response Processing}

Practical Network Design Application

  • Design Challenge Scenario: Design an operational computer network for an academic laboratory setup containing 4040 desktop PCs, an Internet connection, a shared network printer, a local server, and Wi-Fi coverage for instructors.
  • Architectural Considerations:
    • Topology: Star Topology utilizing a central high-density network switch (e.g., a 4848-port switch) to isolate endpoints and maintain high availability.
    • Wired vs. Wireless: Wired Ethernet cabling for the 4040 static desktop PCs, local server, and shared printer to optimize stability and speed; dedicated Wireless Access Points (WAPs) for instructor mobile devices.
    • Hardware Required:
      • 11 Edge Router (to manage the connection between the ISP and internal network).
      • 11 Modem (bridged to the ISP infrastructure).
      • 11 High-density Switch or multiple stacked switches.
      • 11 or more Wireless Access Points.
      • Ethernet Patch Cables (Cat6/Cat6A).
      • Network Interface Cards for all workstations.
    • Logical Addressing: Local dynamic address assignment (DHCP) for workstations and static IP address assignment for the local server and shared printer.

Key Concepts Review & Self-Assessment

  1. What is a computer network?
    • Answer: A computer network is an interconnected group of two or more independent computing devices (such as PCs, servers, smartphones, and printers) that communicate, transfer data, share resources, and access global services via standardized media and protocols.
  2. What is the primary difference between a LAN and a WAN?
    • Answer: A LAN (Local Area Network) is restricted to a small, contained geographical footprint (such as a single room, lab, or office) and offers high data transfer rates managed locally. A WAN (Wide Area Network) spans vast geographical distances across cities, regions, or countries, relying on leased infrastructure and public service providers; the Internet is the largest example.
  3. Which hardware device connects different networks together?
    • Answer: A Router. It inspects network layer headers to route data packets between disparate network boundaries (e.g., a home LAN to the public Internet).
  4. What is the difference between an IP address and a MAC address?
    • Answer: A MAC address is a physical, static hardware identifier assigned to a Network Interface Card during manufacturing. An IP address is a dynamic or static logical address assigned to identify a device's current logical location on a network for routing purposes.
  5. Why do computers need protocols to communicate?
    • Answer: Protocols establish a single set of standardized, agreed-upon rules for formatting, transmitting, receiving, and interpreting data packets. Without protocols, hardware from different manufacturers running diverse software would be unable to decode transmitted signals.