Introduction to Routing and Switching - Routing And Switching | Lecture Notes - YNetStudyHub
Routing And Switching

Introduction to Routing and Switching

2 mins read 400 words Topic 1 of 38
Study with AI Tutor Learn 2× faster Instant Q&A Quiz practice
Launch AI Lesson
Text Size:
PDF Save

An overview of the fundamental concepts of routing and switching, including the roles of routers and switches in network communication.

Introduction to Routing and Switching
Fundamentals, key concepts, and typical device roles in modern IP networks.


1. Overview

Layer (OSI) Primary Function Typical Devices Core Purpose
Layer 2 – Data Link Forward frames based on MAC addresses within a single broadcast domain. Switches, bridges, NICs Local‑area connectivity, VLAN segmentation.
Layer 3 – Network Forward packets based on IP addresses across multiple broadcast domains. Routers, Layer‑3 switches, firewalls Inter‑network communication, path selection, traffic control.

Routing and switching together create a scalable, resilient network that can move data efficiently from a source host to a destination host, whether they are on the same LAN or across the globe.


2. Switching Fundamentals

2.1 Basic Operation

  1. Frame Reception – Switch receives an Ethernet frame on a port.
  2. MAC Learning – Source MAC → port mapping is stored in the CAM (Content‑Addressable Memory) table.
  3. Forwarding Decision
    • Known Destination MAC → forward out the specific port.
    • Unknown Destination MAC → flood to all ports in the same VLAN (except the incoming port).
  4. Loop Prevention – Spanning Tree Protocol (STP) disables redundant links to avoid broadcast storms.

2.2 Key Features

Feature Description Benefit
VLANs (Virtual LANs) Logical segmentation of a switch into separate broadcast domains. Improves security, reduces broadcast traffic.
Trunking (802.1Q) Carries multiple VLANs over a single link using tags. Efficient use of uplink bandwidth.
Port Security Limits MAC addresses per port, can shut down ports on violation. Mitigates MAC‑spoofing attacks.
Link Aggregation (LACP) Bundles multiple physical links into one logical link. Increases bandwidth, provides redundancy.
Quality of Service (QoS) Prioritizes traffic (e.g., voice, video). Guarantees performance for latency‑sensitive apps.

2.3 Switch Types

Type Typical Use Notable Traits
Unmanaged Switch Small offices, home labs. Plug‑and‑play, no configuration.
Managed Switch Enterprise LANs. CLI/GUI/REST API, VLANs, STP, QoS.
Layer‑3 Switch Campus core/aggregation. Hardware‑based routing, high‑speed inter‑VLAN routing.
PoE Switch Powering IP phones, APs, cameras. Supplies up to 30 W per port (IEEE 802.3bt).

3. Routing Fundamentals

3.1 Basic Operation

  1. Packet Reception – Router receives an IP packet on an interface.
  2. Lookup – Destination IP is matched against the routing table.
  3. Forwarding Decision – Selects the best route (longest‑prefix match, lowest metric).
  4. Encapsulation – Packet is placed in a new frame appropriate for the outgoing interface.
  5. Transmission – Frame is sent out the selected interface.

3.2 Routing Table Components

Entry Type Description
Directly Connected Networks attached to router interfaces (e.g., 192.168.1.
Topic Concept Map
Ask AI Tutor 24/7 Live

Click any prompt to explore this topic interactively with your AI Tutor:

Explain in simple terms Give me 3 practice exam questions Summarize key principles in 5 points
Unit Syllabus 38 Topics
Introduction to Routing and Switching
OSI Model and TCP/IP Model
Upgrade
Routing Protocols (Static and Dynamic)
Upgrade
Switching Techniques (STP, VLANs)
Upgrade
IP Addressing and Subnetting
Upgrade
Routing Table and ARP
Upgrade
Inter-VLAN Routing
Upgrade
Network Address Translation (NAT)
Upgrade
Quality of Service (QoS) in Routing and Switching
Upgrade
Troubleshooting Routing and Switching Issues
Upgrade
Introduction to Routing and Switching
Upgrade
Types of Network Devices
Upgrade
IP Addressing and Subnetting
Upgrade
Routing Protocols
Upgrade
VLANs and Trunking
Upgrade
Switching Technologies
Upgrade
Network Security and Access Control
Upgrade
Quality of Service (QoS) in Networking
Upgrade
Introduction to Routing and Switching
Upgrade
OSI Model and TCP/IP Model
Upgrade
Routing Protocols
Upgrade
Switching Technologies
Upgrade
IP Addressing and Subnetting
Upgrade
Routing Table Configuration
Upgrade
Switch Configuration and VLANs
Upgrade
Inter-VLAN Routing
Upgrade
Network Address Translation (NAT)
Upgrade
Quality of Service (QoS)
Upgrade
Introduction to Routing and Switching
Upgrade
Router Configuration
Upgrade
Switch Configuration
Upgrade
Routing Protocols
Upgrade
Switching Mechanisms
Upgrade
Inter-VLAN Routing
Upgrade
Quality of Service (QoS)
Upgrade
Network Security
Upgrade
Troubleshooting Routing and Switching Issues
Upgrade
Scalability and Redundancy
Upgrade