Study guide
1.11 Verifying IP Parameters on Client Operating Systems
Cisco Certified Network Associate CCNA
Track your progress as you read
Finished sections get a check mark.
1 Introduction
About the CCNA 200-301 Exam Domains and Weights Study Strategies and Tips
2 Chapter 1: Network Fundamentals (20%)
1.1 Network Components 1.2 Network Topology Architectures 1.3 Physical Interfaces and Cabling 1.4 TCP vs. UDP 1.5 IPv4 Addressing and Subnetting 1.6 IPv6 Addressing and Prefix 1.7 Wireless Principles 1.8 Virtualization Fundamentals 1.9 Switching Concepts 1.10 OSI and TCP/IP Reference Models 1.11 Verifying IP Parameters on Client Operating Systems
3 Chapter 2: Network Access (20%)
2.1 VLANs — Configuration and Verification 2.2 Trunking and 802.1Q 2.3 Layer 2 Discovery Protocols (CDP and LLDP) 2.4 EtherChannel (Link Aggregation) 2.5 Spanning Tree Protocol (STP) and RSTP 2.6 Wireless Architectures and AP Modes 2.7 Network Access Troubleshooting 2.8 Inter-VLAN Routing — Deep Dive
4 Chapter 3: IP Connectivity (25%)
3.1 Routing Table Components 3.2 Router Forwarding Decisions 3.3 IPv4 and IPv6 Static Routing 3.4 Single-Area OSPFv2 — Concepts 3.5 Single-Area OSPFv2 — Configuration 3.6 First Hop Redundancy Protocols (FHRP) 3.7 Troubleshooting IP Connectivity 3.8 OSPF Troubleshooting Scenarios
5 Chapter 4: IP Services (10%)
4.1 NAT (Network Address Translation) 4.2 DHCP and DNS 4.3 NTP, SNMP, and Syslog 4.4 QoS Fundamentals 4.5 TFTP/FTP and Remote Access 4.6 IP Services — Comprehensive Review
6 Chapter 5: Security Fundamentals (15%)
5.1 Key Security Concepts 5.2 Device Access Control and Password Policies 5.3 VPN Fundamentals 5.4 Access Control Lists (ACLs) 5.5 Layer 2 Security Features 5.6 Network Security Best Practices and Hardening 5.7 Threat Mitigation and Incident Response
7 Chapter 6: Automation and Programmability (10%)
6.1 Impact of Automation on Network Management 6.2 Controller-Based and Software-Defined Architectures 6.3 AI and Machine Learning in Network Operations 6.4 REST-Based APIs 6.5 Configuration Management Tools 6.6 JSON-Encoded Data 6.7 Automation and Programmability — Comprehensive Review
1.11 Verifying IP Parameters on Client Operating Systems
Key Takeaways Explain This Topic AI
Windows uses ipconfig / ipconfig /all; Linux and macOS use ip addr (or ifconfig) and ip route.
Verify five parameters: IP address, subnet mask, default gateway, DNS server, and DHCP status.
ping tests Layer 3 reachability; tracert (Windows) / traceroute (Linux/macOS) reveals the hop-by-hop path.
A 169.254.x.x APIPA address means the client failed to obtain a DHCP lease.
nslookup tests DNS resolution; arp -a shows the local MAC-to-IP cache.
Last updated: June 2026
The five parameters that must be right
Whenever a client cannot reach the network, verify these five values, a wrong one explains most outages:
- Parameter What it does Failure symptom
- IP address Identifies the host on its subnet Duplicate or wrong subnet = no comms
- Subnet mask Defines local vs remote Wrong mask misroutes traffic
- Default gateway Exit to other networks Missing/wrong = local only
- DNS server Resolves names to IPs Can ping IPs but not names
- DHCP status Static vs leased Failed lease = APIPA address
- Windows commands
ipconfig shows IP, mask, and gateway per interface.
ipconfig /all adds DHCP server, DNS servers, MAC (physical) address, and lease times.
ipconfig /release and ipconfig /renew drop and request a DHCP lease.
ipconfig /flushdns clears the DNS resolver cache.
Linux and macOS commands
ip addr (modern Linux) or ifconfig shows interface addresses; macOS uses ifconfig and the GUI.
ip route (or netstat -rn ) shows the default gateway/routing table.
cat /etc/resolv.conf reveals configured DNS servers on Linux.
The APIPA clue
If a host shows an address in 169.254.0.0/16 (an APIPA , automatic private IP addressing, address), it means the client is set for DHCP but never received a lease , the DHCP server is down, unreachable, or the cable/VLAN is wrong. APIPA only allows same-link communication; the host cannot reach the gateway or Internet.
Diagnostic tools
ping sends ICMP echo requests to test Layer 3 reachability . ping 127.0.0.1 tests the local TCP/IP stack; ping the gateway, then a remote host, to localize the break.
tracert (Windows) / traceroute (Linux/macOS) shows each hop along the path, exposing where packets stop.
nslookup queries DNS to confirm name resolution; if ping 8.8.8.8 works but ping example.com fails, it is a DNS problem.
arp -a displays the local ARP cache mapping IPs to MACs on the segment.
Structured troubleshooting (worked example)
A user reports "the Internet is down." Work the layers:
ipconfig /all , the address is 169.254.12.7 , so DHCP failed. Run ipconfig /renew .
After renew the host gets 192.168.1.50/24, gateway 192.168.1.1. ping 192.168.1.1 succeeds, local link is fine.
ping 8.8.8.8 succeeds but ping example.com fails, so connectivity is fine but DNS is broken.
nslookup example.com times out, confirm/correct the DNS server in ipconfig /all ; once a reachable DNS server is set, names resolve.
This bottom-up method (link, then gateway, then remote IP, then DNS) isolates the fault quickly and is exactly the reasoning the CCNA expects.
Cross-platform command reference
The exam expects you to map a task to the right command on each OS:
- Task Windows Linux macOS
- Show IP/mask ipconfig ip addr ifconfig
- Full detail (DHCP/DNS/MAC) ipconfig /all ip addr + ip route ifconfig + scutil --dns
- Default gateway ipconfig ip route netstat -rn
- Renew DHCP ipconfig /renew dhclient ipconfig set en0 DHCP
- Test reachability ping ping ping
- Trace path tracert traceroute traceroute
- Test DNS nslookup nslookup / dig nslookup / dig
- View ARP cache arp -a ip neigh / arp -a arp -a
The biggest portability trap is tracert vs traceroute : Windows truncates it to eight letters (tracert), while Unix-like systems spell it out.
What each tool actually proves
A successful ping to 127.0.0.1 proves the local TCP/IP stack is installed and running, before blaming the network, confirm the stack.
A ping to the default gateway proves Layer 1-3 to the first hop is healthy.
A ping to a remote public IP (e.g., 8.8.8.8) proves routing and Internet reachability.
A failed name ping after a successful IP ping isolates the fault to DNS .
traceroute/tracert shows where in the path packets stop, the last responding hop is near the break.
DHCP vs static configuration
Most clients use DHCP to lease an IP, mask, gateway, and DNS automatically; servers and infrastructure often use static addresses so they never change. When ipconfig /all shows "DHCP Enabled: Yes" but an APIPA address, the lease attempt failed; when it shows "DHCP Enabled: No" , an administrator set the values by hand and a wrong static gateway or DNS is the likely culprit. Reading the DHCP-enabled flag alongside the address tells you which path to troubleshoot.
Common traps
A 169.254.x.x address is never a working DHCP lease, it signals DHCP failure (APIPA).
If IP pings work but names do not, suspect DNS , not routing.
ipconfig (no flag) does not show the DNS server or MAC, you need ipconfig /all .
Windows uses tracert ; Linux/macOS use traceroute , mixing them up is a common slip.
A successful loopback ping does not prove network connectivity, only that the local stack works.