Skip to main content
CCNA

Lesson 1.1a: Routers

Learn about the role, operating mechanisms, and advanced functions of Routers in networks according to the CCNA 200-301 v1.1 standard.

5 min853 wordsMạnh Cường

A Router is a network device that operates primarily at Layer 3 (Network Layer) of the OSI model. The primary function of a router is to connect multiple different logical networks and forward IP packets between those networks based on the destination IP address.

In practice, routers typically serve as:

  • Default Gateway for end devices
  • Device connecting LAN to WAN/Internet
  • Device controlling and segregating traffic between networks

1. Primary Role of Router

a) Connecting Different Networks

Layer 2 Switch only forwards frames within the same network/VLAN, while router enables devices on different networks to communicate with each other.

Example:

  • PC1: 192.168.1.10/24
  • PC2: 192.168.2.10/24

These two devices belong to different networks, so a router is needed to route the traffic.

Sơ đồ: Router kết nối hai subnet

b) Acting as Default Gateway

Hosts do not know the complete network topology. When a host wants to send data to a different subnet, it sends the packet to the default gateway — typically the router interface.

Example: PC:

1
2
3
IP: 192.168.1.10
Mask: 255.255.255.0
Gateway: 192.168.1.1

Router interface:

1
192.168.1.1

The router will continue processing and forward the packet to the destination network.


2. Router Operating Mechanism

a) Path Determination

Routers use Routing Tables to find the optimal route to the destination network. The routing table can be built using:

  • Connected Routes
  • Static Routes
  • Dynamic Routing Protocols (OSPF, EIGRP, RIP, BGP)

Routers select the best route based on:

  • Longest Prefix Match
  • Administrative Distance
  • Metric (Cost, Bandwidth, Delay, Hop Count)

Note: CCNA particularly emphasizes this section in the IP Connectivity domain.

b) Packet Forwarding

When a router receives a frame:

  1. Verify Layer 2 FCS
  2. Strip Layer 2 header/trailer
  3. Check destination IP address
  4. Consult Routing Table
  5. Determine Exit Interface / Next-hop
  6. Encapsulate with new Layer 2 header
  7. Forward packet

Critical Point: Router does not forward the original Layer 2 frame. It removes the old frame and creates a new one suitable for the next environment (e.g., Ethernet → Serial → Ethernet). The Layer 2 header changes on each hop, but the Layer 3 (IP) header remains unchanged.

Simulation: Router chuyển tiếp packet giữa hai subnet


3. Router Divides Broadcast Domain

Routers by default do not forward broadcast packets. Each router interface creates a separate Broadcast Domain, and typically also a separate IP network.

Example:

  • G0/0192.168.1.0/24
  • G0/1192.168.2.0/24

Two broadcast domains are completely separate. This is a major difference between Layer 2 Switch and Router.

Sơ đồ: Router phân tách broadcast domain


4. Router and Collision Domain

A router interface also creates a separate Collision Domain. However, Collisions are nearly obsolete due to switched Ethernet/full-duplex. Broadcast domain is the primary focus in CCNA.


5. Advanced Functions of Router

Beyond basic routing functionality, modern routers integrate many important advanced features.

a) NAT (Network Address Translation)

Allows multiple private devices to share one or fewer public addresses. Example: 192.168.1.x203.x.x.x

b) ACL (Access Control List)

Router can filter traffic based on Source IP, Destination IP, Protocol, Port. Example: Deny TCP port 23 (Telnet), Permit HTTPS.

c) Inter-VLAN Routing

Router can enable communication between VLANs through:

  • Router-on-a-stick (Subinterfaces)
  • 802.1Q trunk Example: VLAN 10 ↔ VLAN 20.

d) WAN Connectivity

Router typically connects:

  • LAN ↔ ISP
  • Branch ↔ HQ
  • Site ↔ Site VPN

Advanced Features Summary Table (According to CCNA 200-301 v1.1 Standard)

Below is a comprehensive table of advanced features commonly configured on Routers, corresponding to the domains in the CCNA exam:

Advanced FeatureCCNA DomainPurpose and Primary Application
NAT4.0 IP ServicesConvert Private IP to Public IP, enabling internal devices to access the Internet and saving IPv4 address space.
DHCP & DNS4.0 IP ServicesAutomatically assign IP configuration (DHCP) and resolve domain names (DNS) for clients in the network.
NTP4.0 IP ServicesSynchronize accurate time across network devices, critical for log analysis and authentication.
ACL5.0 Security FundamentalsFilter data flow (Packet filtering) based on Source/Destination IP and Port to control access and enhance security.
VPN (IPsec)5.0 Security FundamentalsEstablish encrypted tunnel connections (Site-to-Site or Remote Access) for secure communication over WAN/Internet.

6. Common CCNA Exam Concepts

  • Router operates based on logical address: Router forwards packets using IP address, not MAC address. MAC is only used locally within each Layer 2 segment.
  • Router has multiple interfaces: Each interface belongs to a different subnet, has its own IP, and serves as a separate gateway.
  • Routers build the Internet: The Internet is essentially a vast network of countless routers exchanging routes using BGP, OSPF, IS-IS, and Static routing.

Practical Real-World Perspective (Very Important)

Many CCNA materials make routers look “classical.” But modern routers are actually multi-purpose devices:

  • Lightweight Firewall
  • VPN concentrator
  • QoS engine
  • NAT device
  • WAN edge device
  • Policy controller

A Cisco ISR (Integrated Services Router) can handle routing, firewall, IPSec VPN, DHCP, QoS, NAT, voice, and SD-WAN in a single device. The line between router/firewall/L3 switch is becoming blurred.


Ultra-Quick Summary for Review

Router:

  • Operates at Layer 3
  • Connects different networks
  • Forwards packets based on IP
  • Uses routing table
  • Blocks broadcast by default
  • Acts as default gateway
  • Supports NAT, ACL, VPN, inter-VLAN routing

Simulation: Cisco IOS CLI cơ bản trên Router R1

Article topics

Share this article

Send this article to someone who needs it, or save it for later.

Next

Suggested next article

You are reading the latest article. Explore the learning space for more topics.

View learning paths