Introduction to Networking
● Definition: The practice of connecting multiple computing devices to enable
the sharing of resources and communication.
● Core Functions: Networks allow for file sharing, data exchange, access to
shared printers, and communication via various protocols.
● Scope: Modern networking is the backbone for the internet, cloud computing,
and corporate communications.
● Modern Importance: It is essential infrastructure for global commerce,
education, and entertainment, as highlighted by the surge in remote work
and telemedicine during the COVID-19 pandemic.
Types of Networks
● PAN (Personal Area Network): Spans a range of a few meters.
● LAN (Local Area Network): Limited to a specific building or campus.
● MAN (Metropolitan Area Network): Covers an entire city
● WAN (Wide Area Network): Spans countries or continents.
● SAN (Storage Area Network): Specifically used for connecting storage
devices
● Internet: A global network connecting various systems worldwide
Network Hardware and Transmission
● Hardware Components:
○ NICs (Network Interface Cards): Enable basic connectivity.
○ Switches: Manage Layer 2 traffic
○ Routers: Direct Layer 3 traffic and handle intelligent routing
○ Firewalls: Provide security and traffic filtering.
● Data Transmission: Information is converted into electrical, optical, or
electromagnetic signals
● Bandwidth: Measured in units such as kbps, Mbps, Gbps, and Tbps
● Packet Switching: A fundamental method where data (files, emails, etc.) is
broken into small units called packets
○ Header: Contains source/destination addresses and routing info
○ Payload: The actual data being transmitted.
Historical Evolution of the Internet
● 1969 (ARPANET): Created by the US Department of Defense; it featured 4
initial nodes and a speed of 50 kbps
● 1983 (TCP/IP): Standardized by Vint Cerf and Bob Kahn, allowing different
networks to interconnect
● 1989 (World Wide Web): Invented by Tim Berners-Lee at CERN; introduced
HTTP, HTML, and URLs
● 1990s (Commercialization): Private ISPs emerged and ARPANET was
decommissioned in 1990
● 2000s (Broadband): Shift from slow dial-up (56 kbps) to high-speed fiber,
DSL, and cable
The OSI Model Framework
The OSI model is a seven-layer conceptual framework used to standardize
communication functions
Upper Layers (Application Services)
● 7. Application: Provides services to end-user applications (e.g., HTTP,
SMTP).
● 6. Presentation: Handles data formatting, encryption, and compression.
● 5. Session: Manages, maintains, and terminates communication sessions
Lower Layers (Data Transport)
● 4. Transport: Ensures end-to-end delivery of data
● 3. Network: Responsible for routing and addressing
● 2. Data Link: Handles node-to-node transfer and error detection
● 1. Physical: Transmits raw bits as physical signals
TCP/IP Network Model
● Definition: A framework and collection of protocols organized into layers
to model network communication
● Core Role: Ensures data arrives safely and correctly by breaking it into
smaller "packets" that are reassembled at the destination.
● Layers:
○ Application Layer: The top layer where user applications
(browsers, email) connect to the network
○ Transport Layer: Ensures reliable data delivery using protocols like
TCP (for error-free delivery) and UDP (for speed).
○ Internet Layer: Acts as a traffic controller, routing data across
networks to the correct destination.
○ Network Access Layer: The bottom layer handling the link
between devices
● Pros & Cons:
○ Advantages: Promotes interoperability between diverse systems, is
highly scalable, and uses standardized, flexible protocols.
○ Disadvantages: Original design lacked built-in security; it can be
inefficient for very small networks and involves significant data
overhead
Network Topologies- Network topology refers to the physical or logical
arrangement of how devices (nodes) are connected.
● Bus Topology: All devices connect to a single central cable.
○ Pros: Cost-effective and easy to expand.
○ Cons: If the main cable fails, the entire network goes down.
● Ring Topology: Each computer is linked to two neighbors, forming a
circle.
○ Pros: Heavy traffic doesn't affect transmission; low cost to install
○ Cons: A single node crash affects the entire network.
● Star Topology: All nodes connect to a central hub.
○ Pros: High performance and simple to troubleshoot.
○ Cons: Entirely dependent on the central hub; if it fails, the network
stops.
● Mesh Topology: Every device has a dedicated point-to-point connection
to every other device.
● Hybrid Topology: A combination of two or more different topologies (e.g.,
combining a Star and Ring network).
Network Interface Cards (NICs)
● Definition: A hardware component that provides networking capabilities
for a computer, allowing it to connect to a local area network.
● Wired NICs: These cards feature input jacks for cables, most commonly
using Ethernet technology.
● Wireless NICs: Use an antenna to communicate with wireless access
points via radio frequency (RF) waves, commonly used for Wi-Fi.
● USB NICs: Portable devices that plug into a USB port to provide network
connectivity, often used for laptops.
Network Hubs
● Function: A basic device used to connect multiple devices in a network,
typically acting as a common connection point.
● Passive Hub: Simply transmits data packets to all connected devices
without amplifying or regenerating the signal.
● Active Hub: Unlike passive hubs, these can amplify and regenerate
signals as they move through the network.
● Intelligent (Smart) Hub: Includes management features for network
monitoring and diagnostics, allowing for more control over data traffic.
Network Switches
● Core Function: A more "intelligent" device than a hub that connects
devices within a LAN.
● Efficiency: It uses MAC addresses to direct data specifically to the
intended recipient, which reduces network congestion and improves
overall performance.
● Unmanaged Switches: Basic plug-and-play devices with no configuration
interface; they are typically used in small offices or homes.
● Managed Switches: Offer advanced features that allow network
administrators to configure, manage, and monitor the LAN, providing
greater security and flexibility.
Routers: The Intelligent Navigators
● Core Function: A router connects different networks (e.g., a home LAN to
the Internet) and determines the most efficient path for data packets to
reach their destination.
● How They Work: Routers examine a packet's destination IP address and
consult a routing table to select the best path based on specific rules.
● Routing Methods:
○ Static Routing: Manually configured; best for small, stable
networks.
○ Dynamic Routing: Automatically updates based on network
activity; ideal for large, changing environments.
● Common Protocols:
○ OSPF: Finds the optimal path across various networks.
○ BGP: Shares routing information between edge routers on the
Internet.
○ EIGRP: Requests path information from neighbors if the route is
unknown.
Key Router Functions
● Forwarding & Routing: Receives packets, checks headers, and uses
algorithms to direct them to the correct port.
● NAT (Network Address Translation): Converts private IP addresses into
a single public IP for Internet access.
● Bandwidth Management: Controls the flow of data to prevent network
congestion.
● Subnetting Support: Facilitates dividing a large network into smaller
segments (like HR or IT departments) to reduce traffic and improve
organization.
Firewalls: The Network Security Guard
● Definition: A security system (hardware or software) that monitors and
controls traffic entering or leaving a network based on predefined rules.
● Placement Types:
○ Perimeter Firewall: Positioned at the edge of a network to filter
external traffic.
○ Internal Firewall: Placed within the network to control traffic
between internal segments.
○ Host-Based Firewall: Installed directly on an individual device to
protect it from unauthorized access.
Advanced Firewall Categories
● Packet Filtering: Blocks or allows data based on IP addresses, ports, and
protocols.
● Stateful Inspection: Tracks active connection states and only allows
packets belonging to a valid, established session.
● Proxy Firewall: Acts as an intermediary, inspecting traffic at the
application layer for higher security.
● Next-Generation Firewall (NGFW): Combines standard filtering with
deep packet inspection and intrusion prevention systems.
● WAF (Web Application Firewall): Specifically protects web applications
from threats like SQL injection.
Network Form Factors
● Hardware Firewalls: Physical devices that filter traffic before it reaches
internal systems.
● Software Firewalls: Programs installed on servers or computers to
manage traffic for that specific device.