Introduction to Networking - Week 1
Core Networking Concepts & Definitions
Network: A group of interconnected devices that can communicate with one another and share resources.
Local Area Network (LAN): A network that spans a small, local geographic area such as a home, laboratory, or office.
Wide Area Network (WAN): A network that spans broad geographic distances to connect separate, distant networks together.
Internet: A global, publicly accessible network made up of interconnected smaller networks.

Basic Data Path & Network Infrastructure
End-to-End Journey of Network Data:
Laptop (Host/Endpoint) Access Point Switch Router Internet Service Provider (ISP) Internet Remote Server.
Primary Objective of Networking:
To understand the precise role and function of every network device ("box") along the communication path.
To learn the exact transformations and encapsulation steps that data undergoes as it moves between these devices.
Key Network Devices & Components
Endpoint / Host: Any device that originates, transmits, or receives network data (e.g., laptops, desktop PCs, servers).
Network Interface Card (NIC): A physical or virtual hardware component that enables a device to connect to a network.
Switch: An intermediary device designed to connect multiple devices within the exact same network segment.
Router: A network-layer device designed to connect different, separate networks together.
Access Point (AP): A networking hardware device that provides wireless Wi-Fi access to a wired Local Area Network (LAN).
Firewall: A security device or system that controls and filters incoming and outgoing network traffic based on predefined security rules.
Modem / Optical Network Terminal (ONT): A device that translates signals to connect a local network to an Internet Service Provider (ISP) access network infrastructure.
Server: A dedicated computer or host system that provides resources, services, or data to client devices on demand.
Architectural Distinction: Switch vs. Router
Switch Functions:
Connects individual devices inside the same network.
Typical connected endpoints include PCs, network printers, Access Points (APs), and local servers.
Core Question: Are we connecting individual devices?
Router Functions:
Connects one network to another network.
Typical pathing: Local LAN External LANs Global Internet.
Core Question: Are we connecting distinct networks?
Essential Network Addressing & Services
MAC Address (Media Access Control Address):
Represents the permanent, physical local interface identity of a network adapter.
Operates at Layer 2 (Data Link Layer) of the network model.
IP Address (Internet Protocol Address):
Represents a unique logical network address assigned to a device on a network.
Operates at Layer 3 (Network Layer) of the network model.
Default Gateway:
The specific router interface address to which local hosts send traffic when communicating with destinations on remote networks.
Domain Name System (DNS):
A network service that resolves human-readable domain names into machine-routable IP addresses (e.g., mapping
google.comIP address).
Step-by-Step Data Path: Name Resolution to Connection
Step 1 (User Input): A user enters a domain address such as
google.cominto a browser.Step 2 (DNS Lookup): The host queries DNS to look up and retrieve the target server's corresponding IP address.
Step 3 (Destination Decision): The sending host compares the target IP address to its own network configuration to decide whether the destination is local or remote.
Step 4 (Gateway Dispatch): If the target address is remote, the host forwards the data frame directly to its configured Default Gateway (Router).
Step 5 (Routing Across Networks): Intermediary routers inspect the Layer 3 destination address and route the packets across external networks toward the destination.
Step 6 (Server Response): The remote server receives the packet, processes the incoming request, and generates a response back to the client.
Network Topologies & Redundancy
Star Topology:
Features a central intermediary device (such as a central switch) connected individually to every network node.
Standard deployment model for modern Ethernet Local Area Networks.
Bus Topology:
Utilizes a single shared physical medium/cable to connect all network nodes.
Historically significant in early networking implementations.
Ring Topology:
Arranges nodes in a closed circular loop where each device connects directly to two adjacent neighbor nodes.
Mesh Topology:
Connects nodes through multiple interconnected physical or logical paths.
Provides high redundancy, fault tolerance, and alternate routing paths.
Topology Fault Analysis:
Network design requires assessing single points of failure: What happens to overall network operations if a central switch or a specific communication link fails?
Hands-On Lab: Packet Tracer Configuration & Experiments
Challenge #1: Basic Two-PC Switch Topology:
Hardware setup: Two PCs connected directly to a single central network switch.
Configuration for PC 1:
IP Address:
192.168.1.10Subnet Mask:
255.255.255.0Configuration for PC 2:
IP Address:
192.168.1.20Subnet Mask:
255.255.255.0Verification: Running
ping 192.168.1.20from PC 1 completes successfully, confirming local Layer 2 and Layer 3 communication within the192.168.1.0/24network.
Challenge #2: Inducing a Subnet Mismatch Fault:
Configuration change: Reconfigure PC 2's IP address to
192.168.2.20(keeping Subnet Mask255.255.255.0).Verification result: Running
ping 192.168.2.20from PC 1 now fails.Technical explanation:
PC 1 resides in network
192.168.1.0while PC 2 now resides in network192.168.2.0.Because a switch only connects devices inside the same network, it cannot route traffic between separate subnets.
Inter-network communication requires a Router to bridge and route traffic between the
192.168.1.0and192.168.2.0networks.
Systematic Network Troubleshooting Methodology
Core Principle: Do not guess randomly when diagnosing network issues; follow an evidence-based approach.
Step 1 — DEFINE: Explicitly state the objective and identify what action you are attempting to accomplish.
Step 2 — OBSERVE: Collect baseline information, document error behaviors, and identify what variables recently changed.
Step 3 — TEST: Execute controlled isolation tests by changing exactly one variable at a time.
Step 4 — LEARN: Analyze test outputs to determine what new concrete diagnostic information was gained.
Step 5 — REPEAT: Iteratively repeat the testing cycle based on empirical evidence rather than assumptions.
Complete Mental Model & Future Scope
End-to-End System Mental Model:
Upcoming Technical Topics:
Open Systems Interconnection (OSI) Model
TCP/IP Protocol Suite
Data Encapsulation and Decapsulation
Protocol Data Units (PDUs)
Packet capture and protocol analysis using Wireshark
Review & Self-Assessment Questions
Question 1: How is a computer network formally defined?
Question 2: What is the key functional difference between a network switch and a router?
Question 3: What specific roles do an IP address, MAC address, default gateway, and DNS perform?
Question 4: How do you construct and test ping reachability for a basic two-PC topology in Cisco Packet Tracer?
Question 5: Why does ping connectivity fail when PC 2's IP address is changed from
192.168.1.20to192.168.2.20on a single switch?