Skip to content

How Routers Work: Connecting Networks in Your CCNA Episode 2

Why We Need Routers in Networks

A router's primary job is to connect different networks. While switches allow devices on the same network to communicate, routers bridge the gap between separate networks. This is a core concept in the Complete CCNA 200-301 Course: Network Devices & Fundamentals Explained.

The Routing Process: Step-by-Step

When a Device Wants to Reach Another Network

  1. Device recognizes destination is on a different network based on its own IP configuration
  2. ARP request is sent to find the default gateway (router's IP address - 10.1.1.1)
  3. Router responds with its MAC address
  4. Original device sends the packet to the router with:
    • Layer 2 header: Source MAC (device) → Destination MAC (router)
    • Layer 3 header: Source IP (device) → Destination IP (web server)

Router's Decision-Making Process

Using its routing table (viewed with show ip route command), the router:

  1. Receives the packet on one interface
  2. Checks the destination IP address against its routing table
  3. Determines the correct outbound interface
  4. Performs ARP for the destination network if needed
  5. Forwards the packet with updated Layer 2 information

For more on routing tables, see CCNA Routing Fundamentals: Connected and Local Routes Explained.

Real-World Example: Johnny Orders Coffee

The Scenario

  • Johnny (10.1.1.3) wants to access networkchuck.coffee (23.227.38.65)
  • They're on completely different IP networks
  • A router bridges these two networks

The Complete Journey

Step 1: DNS Resolution

  1. Johnny queries DNS server (10.1.1.50) for networkchuck.coffee's IP
  2. DNS server responds with 23.227.38.65

Step 2: HTTP Request

  1. Johnny sends HTTP GET request for coffee website
  2. Frame travels: Johnny → Switch → Router
  3. Router strips old Layer 2 header, adds new one for destination network
  4. Frame travels: Router → Switch → Coffee Server

Step 3: Response

  1. Coffee Server processes request
  2. Response travels back through the same path in reverse
  3. Johnny receives the webpage ("You need to drink coffee right now")

Key Technical Concepts Demonstrated

ARP (Address Resolution Protocol)

  • Purpose: Maps IP addresses to MAC addresses
  • Broadcast address: FF-FF-FF-FF-FF-FF (sent to all devices on local network)
  • ARP cache: Devices remember MAC addresses temporarily to avoid repeated lookups

Router Configuration Commands

| Command | Purpose | |---------|---------| | enable | Enter privileged EXEC mode | | show ip route | View routing table | | show bgp ipv4 unicast | View BGP routing table (internet routing) |

Layer Differences

  • Layer 2 (Switch): Uses MAC addresses, knows only local network devices
  • Layer 3 (Router): Uses IP addresses, knows paths to different networks

Practical Lab Exercise

You can replicate this exact scenario in Packet Tracer. To practice basic router security, try Free Cisco CCNA Lab: Basic Router Security with Enable Password Encryption:

  1. Create two separate networks with different IP ranges
  2. Configure a router with interfaces in both networks
  3. Set default gateway on devices
  4. Configure DNS server
  5. Test with ping and web browser from one network to the other

Important Takeaways

  • Default gateway is the router's IP on your network segment
  • Routers maintain routing tables (maps to other networks)
  • The internet is just many interconnected routers
  • Each router only needs to know the next hop toward a destination
  • ARP happens at each Layer 3 hop (each router crossing)

For a broader introduction to networking basics, see Comprehensive Free CCNA Course Introduction: Networking Basics Explained.

Action Items

  1. Download the lab file from the video description
  2. Practice in Packet Tracer tracing packets from one network to another
  3. Use show ip route to examine routing tables
  4. Enter the Boson NetSim contest (5 copies being given away)
  5. Join the Discord community for help and discussion

"This is how the internet works - and it happens millions of times every day across networks across the world."

Keep this summary

Save it to LunaNotes and it becomes a real note in your library — editable, searchable, and ready to turn into flashcards or a diagram. Free to start.

Save to LunaNotes

Or summarise for another video.

This summary and transcript were automatically generated using AI with the Free YouTube Transcript Summary Tool by LunaNotes.

Related summaries

How Routers Connect Networks: CCNA Course Episode 2 with Cisco Lab Demo

How Routers Connect Networks: CCNA Course Episode 2 with Cisco Lab Demo

In this second episode of the free CCNA course, we explore why routers are essential for connecting different networks and enabling internet access. Watch a live Packet Tracer simulation demonstrating how frames and packets travel from a computer to a web server, including ARP, DNS, and routing processes.

CCNA Course Episode 2: How Routers Work and Connect Networks

CCNA Course Episode 2: How Routers Work and Connect Networks

In this episode, we explore the role of routers in connecting different networks, using a CCNA lab to demonstrate how data travels across networks. Learn how a switch and router work together to enable internet communication, from ARP requests to DNS queries and HTTP requests, with real-time packet tracer simulations.

CCNA Course Ep 2: How Routers Connect Networks & The Internet Works

CCNA Course Ep 2: How Routers Connect Networks & The Internet Works

In this free CCNA training episode, you'll learn why routers are needed to connect different networks and how they enable communication between devices on separate IP subnets. Watch a detailed simulation of ARP, DNS, and HTTP requests as a packet travels across a network to access a web server, demonstrating the complete process of how the internet works step-by-step.

CCNA Course: How Packets Flow Through the OSI & TCP/IP Models

CCNA Course: How Packets Flow Through the OSI & TCP/IP Models

In this episode, we follow a packet step-by-step across a network to see how each layer of the OSI and TCP/IP models works. Learn about encapsulation, de-encapsulation, and the roles of switches, routers, and protocols like TCP, UDP, and HTTPS in real-world data transfer.

CCNA Day 1: How Switches Work vs Hubs & Hands-On Packet Tracer Lab

CCNA Day 1: How Switches Work vs Hubs & Hands-On Packet Tracer Lab

Start your free CCNA course with a deep dive into how Ethernet switches work. Learn the key differences between smart switches and dumb hubs, visualize network traffic with Cisco Packet Tracer, and enter your first Cisco CLI command to view the MAC address table.

Found this summary useful?

Take it with you. One click puts it in your own LunaNotes library.

Save to LunaNotes

Start taking better notes today with LunaNotes