Understanding Routers: A Comprehensive Guide to Networking

network router
data routing
osi model
network layer
internetworking

This tutorial covers essential networking concepts, including circuit switching vs. packet switching, TCP/IP protocol fields, ARP/RARP protocol fields, IP addresses, MAC addresses, and networking devices like hubs, switches, bridges, routers, gateways, and firewalls.

Here’s a breakdown of what we’ll cover:

  • Circuit Switching vs. Packet Switching
  • LAN vs. WAN vs. MAN
  • What is an IP address?
  • What is a MAC Address?
  • Basics of OSI and TCP-IP Layers
  • What is a Hub?
  • What is a Switch?
  • What is a Bridge?
  • What is a Router?
  • What is a Gateway?
  • Firewall basics
  • TCP-IP Packet format
  • ARP Protocol format

What is a Router?

A router is a networking device that connects two or more networks. It operates at Layer 3 of the OSI model (the network layer). Routers enable internetworking between dissimilar sub-networks.

Essentially, the router must perform these key functions:

  1. Provide a Link Between Networks: Acts as the bridge connecting different network segments.
  2. Route Data: Handles the routing of data between processes running on different networks, ensuring the delivery of data.
  3. Enable Interoperability: Sub-network architectures don’t need to be modified to allow communication between different networks.

Let’s delve into how a router achieves internetworking with an example:

Router Internetworking Example: ATM to LAN

Consider a scenario where a server connected to an ATM network needs to communicate with a workstation connected to an 802.11 LAN.

router fig1

The router, in this case, has protocols up to Layer 3 for both ATM and LAN networks. It manages the communication between the server and the workstation.

  1. Server to Workstation: When a TCP/IP packet arrives at the router from the server, the router removes the ATM protocol headers. It then inserts LAN-compatible headers from Layer 1 to Layer 3 and forwards the packet to the LAN network.

  2. Workstation to Server: Conversely, when a TCP/IP packet comes from the workstation, the router removes the LAN protocol headers, adds ATM-compatible headers from Layer 1 to Layer 3, and passes the packet to the ATM network.

The following figure illustrates the protocol stacks at the ATM-based server, LAN-based workstation, and the router:

router fig2

(This figure is adapted from a book by William Stallings)

Modern Routers

Today, routers are available for the latest broadband technologies, like LTE and WiMAX, and handle interworking to allow different networks to communicate.

Router Vendors

  • WLAN (Wi-Fi): Check out popular Wi-Fi router suppliers like DLINK, Linksys, and Netgear for their technical specifications.
  • LTE-WiMAX: Explore suppliers of LTE and WiMAX routers, including those capable of interfacing WiMAX networks on one side and LTE on the other.
Layer 2 vs Layer 3: Key Differences Explained

Layer 2 vs Layer 3: Key Differences Explained

Understand the fundamental differences between Layer 2 (Data Link) and Layer 3 (Network) of the OSI model, including protocols, devices, and functionalities.

osi model
layer 2
layer 3

Comprehensive Networking Training Course Overview

Explore our detailed networking training course, covering basics to advanced concepts like IP addresses, OSI model, Gigabit Ethernet, and key protocols. Ideal for beginners and experienced professionals.

networking
ethernet
protocols
Understanding Zigbee Layers in IoT

Understanding Zigbee Layers in IoT

Explore the 7 layers of the Zigbee protocol stack used in IoT. From the Physical layer to the Application layer, learn how each contributes to wireless communication.

zigbee
iot
network layer