Study guide

Routing, Default Gateway, and ARP

CCST Networking Study Guide Exam

Track your progress as you read

Finished sections get a check mark.

1 Orientation, Official Sources, and Exam Strategy

Official Exam Profile and Source Hierarchy Registration, Delivery, Attempts, and Results Using the Six Official Topic Areas Building a Practical Study Plan Exam Strategy Without Unsupported Shortcuts Ethical Preparation and Path Forward

2 Network Standards, Models, and Common Protocols

Network Building Blocks OSI and TCP/IP Models Frames, Packets, Segments, and Data Flow Network Types and Scope Cloud, On-Premises, Protocols, and Ports Bandwidth, Throughput, Latency, and Jitter

3 Chapter 3: IPv4, IPv6 Addressing, and Subnet Formats

3.1 Public, Private, and Local Addressing 3.2 IPv4 Dotted Decimal and Binary Basics 3.3 Subnet Masks, CIDR, and Prefix Lengths 3.4 Subnet Logic, Host Ranges, and Gateways 3.5 IPv6 Address and Prefix Formats 3.6 MAC vs IP in Addressing Troubleshooting

4 Endpoints, Media, Cabling, and Client Connectivity

Endpoint Devices and Network Roles Network Interface Cards and Link Status Copper, Fiber, Coax, and Connector Basics Wired, Wi-Fi, and Cellular Access Methods Interference, Signal Quality, and Physical Reliability Client Connectivity Checks by Operating System

5 Infrastructure Devices, Ports, and Physical Installation

Infrastructure Device Roles Ports, Connectors, and Device Identification Cisco Device LEDs and Status Checks Network Diagrams and Cabling Instructions Power over Ethernet and Powered Devices Racks, Patch Panels, and Installation Basics

6 Switching, Routing, and Network Services

Basic Switching and MAC Learning VLANs and Local Boundaries Routing, Default Gateway, and ARP DNS, DHCP, and NAT Services Transport-Layer Services Small Network Traffic Flow

7 Troubleshooting Methodology, Ticketing, and Documentation

Help Desk Intake and Information Gathering Scope, Impact, and Prioritization Reproduce, Isolate, and Escalate Ticket Quality and Operational Documentation User Communication and Change History Physical, Data Link, and Network Layer Triage

8 Diagnostic Commands, Packet Capture, and Device Data

Command-Line Triage and Ping Path and Client Configuration Commands DNS and Socket Diagnostics Wireshark Capture and Save Device Access and Data Collection Basic Cisco Show Commands

9 Security, Firewalls, Wireless, and Safe Defaults

Firewall Filtering and Traffic Policy Least Privilege, AAA, Passwords, and MFA Wireless Security, WPA2, WPA3, and WPAx Guest Networks, Segmentation, and Shared Devices Common Threats and Safe User Practices Secure Home Router Baseline

10 Integrated Small Network Build and Repair Labs

Lab 1: Build a Basic Office LAN Lab 2: Repair No Internet After an Office Move Lab 3: Wireless Clients Cannot Reach Local Resources Lab 4: DHCP, DNS, and Default Gateway Symptoms Lab 5: Switch, Router, and Service Boundaries Lab 6: Escalation, Documentation, and Handoff

11 CCST to CCNA Career Path and Operational Readiness

Entry-Level Networking Roles and Expectations CCST vs CCNA and the Cisco Roadmap NetAcad 70-Hour Path and Study Plan Lab Habits for Real Operational Readiness Ethical Preparation, Portfolio, and Logbook Exam Scheduling Calendar and Readiness Check

12 Final Review, Exam Day, and Remediation Plan

Final Review Map to Official Objectives 50-Minute Exam Day Timing Unsupported Facts and Ethical Preparation Retake Planning Before the First Attempt Post-Fail Remediation Workflow Post-Pass Next Steps and Validity

Routing, Default Gateway, and ARP

Key Takeaways Explain This Topic AI

Routing moves IP packets between networks using IP addresses; switching moves frames inside a VLAN using MAC addresses.

A host compares the destination IP to its own IP and mask: same subnet means deliver locally, different subnet means send to the default gateway.

ARP resolves a local IPv4 address to a MAC address using a broadcast request and a unicast reply, cached briefly.

For a remote destination a host ARPs for the gateway, never for the far-end Internet IP.

An APIPA address 169.254.x.x means DHCP failed and there is usually no working gateway.

Last updated: June 2026

Switching Versus Routing

Switching and routing solve different problems at different layers. Switching forwards Ethernet frames inside one VLAN using MAC addresses (Layer 2). Routing forwards IP packets between different IP networks using a routing table (Layer 3). When you load an Internet page, the local switch moves the frame to the gateway, then a router or firewall moves the packet beyond your subnet, hop by hop.

The local-versus-remote decision

Every IPv4 host uses its own IP address and subnet mask to decide whether a destination is local or remote. It performs a bitwise AND of its address and mask, and of the destination and mask, and compares the results:

Same network number -> destination is local; deliver the frame directly to that host's MAC.

Different network number -> destination is remote; send the frame to the default gateway .

The default gateway is the router, firewall, or Layer 3 switch interface for that VLAN — typically the .1 of the subnet. Without a correct gateway, local traffic may still work but anything off-subnet, including the Internet, fails.

Worked example

A laptop is 192.168.10.25/24 , gateway 192.168.10.1 .

  • Destination Same subnet? Next hop
  • 192.168.10.40 Yes (192.168.10.0/24) Deliver directly to that host's MAC
  • 192.168.20.5 No Send to gateway 192.168.10.1
  • 8.8.8.8 No Send to gateway 192.168.10.1

For both remote destinations the IP packet keeps its real destination; only the Layer 2 frame is addressed to the gateway.

ARP: Bridging IP and Ethernet

A host cannot put an IPv4 packet on Ethernet without a destination MAC address . ARP (Address Resolution Protocol) supplies it. When the host needs a local MAC it does not know, it broadcasts an ARP request ("who has 192.168.10.1? tell 192.168.10.25") to ff:ff:ff:ff:ff:ff . The owner replies with a unicast ARP reply containing its MAC, which the sender stores in its ARP cache for a few minutes.

For remote traffic the target of ARP is different. The laptop at 192.168.10.25 going to 8.8.8.8 knows 8.8.8.8 is off-subnet, so it does not ARP for 8.8.8.8 . It ARPs for the gateway 192.168.10.1 , frames the packet to the gateway's MAC, and lets the router forward it. At each routed hop the Layer 2 frame is rewritten for the next link, but the end-to-end IP destination never changes.

Failure patterns that fit this model

  • Symptom Likely cause
  • Address 169.254.x.x (APIPA) DHCP failed; no lease, no usable gateway
  • Local hosts work, Internet fails Wrong/unreachable default gateway
  • Intermittent, confusing connectivity Duplicate IP; ARP reply points to wrong MAC
  • Remote thinks it is local Wrong subnet mask widens the local range
  • Technician check order

Read the client IP, mask/prefix, and default gateway ( ipconfig / ip addr ).

View the ARP cache ( arp -a ).

Ping the gateway first , then test the Internet.

If the gateway does not answer, the fault is local: cabling, Wi-Fi association, VLAN, addressing, gateway interface, or host firewall. If the gateway answers but external traffic fails, shift focus to routing, DNS, NAT, the upstream link, or filtering.

Common traps

ARPing for the remote Internet IP instead of the gateway.

Calling APIPA a 'valid' address — it means DHCP failed.

Ignoring the subnet mask; the mask, not the address alone, defines what is local.

Reading a Routing Path and an ARP Trace

A router keeps a routing table of networks it knows how to reach, each entry pairing a destination network with a next-hop or exit interface. A small office router typically holds two kinds of entries: directly connected networks (its own interface subnets) and a default route 0.0.0.0/0 pointing at the ISP. When a packet arrives, the router finds the most specific match; if nothing else matches, the default route sends it toward the Internet.

Per-hop frame rewriting

The end-to-end IP addresses do not change as a packet crosses routers, but the Layer 2 frame is rewritten at every hop . From the laptop to the gateway, the frame's destination MAC is the gateway; from the gateway to the next router, a new frame carries that router's MAC; and so on. This is why ARP and switching are local to each link while routing is end-to-end.

  • Hop Source MAC Dest MAC Source IP Dest IP
  • PC -> gateway PC gateway 192.168.10.25 8.8.8.8
  • gateway -> ISP gateway WAN ISP router (after NAT) public 8.8.8.8
  • Using ping and traceroute

A disciplined gateway-first test isolates the layer fast:

ping 192.168.10.1 (gateway). Success proves your IP, mask, ARP, switch path, and the gateway interface are all healthy.

ping 8.8.8.8 (a known public IP). Success proves routing and NAT to the Internet work.

tracert / traceroute to a destination shows each router hop; the hop where replies stop often locates the break.

If step 1 fails, stay local — cabling, Wi-Fi, VLAN, addressing, or the gateway interface. If step 1 passes but step 2 fails, look outward — routing, NAT, the ISP link, or filtering.

Duplicate IP and gratuitous ARP

If two hosts share one IP, each may answer ARP, so the switch and senders cache whichever MAC replied last. Connectivity then becomes intermittent and 'follows' whichever device most recently spoke. A gratuitous ARP (a host announcing its own mapping) helps neighbors update caches but also exposes duplicates when two devices announce the same IP. Recognizing flapping, address-conflict warnings, and 'it works for a while then drops' as duplicate-IP signatures is squarely within CCST troubleshooting expectations.