logo

Routing vs Switching

What is Routing?

Routing is the process of determining the best path for data packets to travel from one network to another. Routers operate at Layer 3 (Network Layer) of the OSI model and make decisions based on IP addresses.

  • Purpose: Connects different networks (e.g., LAN to WAN, LAN to the Internet).
  • Devices Used: Routers
  • Key Protocols: OSPF, BGP, EIGRP, RIP

How Routing Works:

  1. A router receives a packet.
  2. It checks the destination IP address.
  3. Based on its routing table, it forwards the packet to the next hop.

What is Switching?

Switching is the process of forwarding data within the same network. Switches operate at Layer 2 (Data Link Layer) and forward data based on MAC addresses.

  • Purpose: Connects devices within the same network (e.g., computers, printers in a LAN).
  • Devices Used: Switches
  • Key Protocols: VLAN, STP, VTP, EtherChannel

How Switching Works:

  1. A switch receives a data frame.
  2. It checks the destination MAC address.
  3. It forwards the frame to the correct port where the device is connected.

logo

বিসিএস, ব্যাংক, শিক্ষক নিয়োগ, পিএসসি ও অন্যান্য চাকরির পরীক্ষার জন্য একটি সহায়ক প্লাটফর্ম।

Contact Us

Email: contact@openexamschool.com


© 2025 Open Exam School. All rights reserved. Developed By Nuton.