- A
The IP address of the cable modem.
Why wrong: The cable modem is on the WAN side and is not reachable from the LAN without going through the router.
- B
192.168.0.1
This is the router's LAN IP, which serves as the gateway for all computers on the local network to access other networks.
- C
The IP address of the switch.
Why wrong: A switch typically does not have an IP address that functions as a gateway; it is a Layer 2 device.
- D
192.168.0.255
Why wrong: This is the broadcast address for the 192.168.0.0/24 network and cannot be assigned to a device.
Quick Answer
The answer is 192.168.0.1. This is correct because the default gateway setting on each computer must match the IP address of the router’s LAN interface, which serves as the exit point for traffic destined outside the local subnet. In a /24 network, any packet with a destination IP outside the 192.168.0.0–192.168.0.255 range is forwarded to this gateway, enabling internet access through the router’s WAN connection to the cable modem. On the CompTIA A+ Core 1 220-1201 exam, this concept tests your understanding of basic TCP/IP configuration and subnetting—a common trap is confusing the gateway with the router’s WAN IP or the switch’s management address. Remember, the default gateway is always the LAN-side IP of the router that connects the local network to the outside world. A handy memory tip: “Gateway goes to the router’s LAN, not the WAN.”
220-1101 IP Addressing Practice Question
This 220-1201 practice question tests your understanding of ip addressing. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A technician is configuring a small office network with 15 computers and a single router. The router's WAN port is connected to a cable modem, and the LAN port is connected to a switch. All computers are connected to the switch. The technician assigns the router's LAN interface the IP 192.168.0.1/24. What should be the default gateway setting on each computer?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
192.168.0.1
The default gateway is the IP address of the router's LAN interface, which is 192.168.0.1. This allows computers to send traffic outside their local subnet, such as to the internet.
Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
The IP address of the cable modem.
Why it's wrong here
The cable modem is on the WAN side and is not reachable from the LAN without going through the router.
- ✓
192.168.0.1
- ✗
The IP address of the switch.
Why it's wrong here
A switch typically does not have an IP address that functions as a gateway; it is a Layer 2 device.
- ✗
192.168.0.255
Why it's wrong here
This is the broadcast address for the 192.168.0.0/24 network and cannot be assigned to a device.
Common exam traps
Common exam trap: usable hosts are not the same as total addresses
Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.
Detailed technical explanation
How to think about this question
Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.
KKey Concepts to Remember
- CIDR notation defines the prefix length.
- Block size helps identify subnet boundaries.
- Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
- The required host count determines the smallest suitable subnet.
TExam Day Tips
- Write the block size before choosing the subnet.
- Check whether the question asks for hosts, subnets or a specific address range.
- Do not confuse /24, /25, /26 and /27 host counts.
Key takeaway
Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Real-world example
How this comes up in practice
A network engineer segments a warehouse floor into three subnets: 20 scanners, 5 printers, and 2 management hosts. Picking the wrong mask wastes addresses or leaves too few usable hosts. Exam questions test whether you can apply CIDR notation, calculate block size, and identify the correct usable-host range for a given prefix.
What to study next
Got this wrong? Here's your next step.
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related 220-1201 subnetting questions on CIDR, address ranges, and subnet selection.
- →
IP Addressing — study guide chapter
Learn the concepts, then practise the questions
- →
IP Addressing practice questions
Targeted practice on this topic area only
- →
All 220-1201 questions
1,020 questions across all exam domains
- →
CompTIA A+ Core 1 220-1201 study guide
Full concept coverage aligned to exam objectives
- →
220-1201 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related 220-1201 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Mobile Device Hardware Servicing practice questions
Practise 220-1201 questions linked to Mobile Device Hardware Servicing.
Mobile Device Connection Methods practice questions
Practise 220-1201 questions linked to Mobile Device Connection Methods.
Mobile Device Accessories practice questions
Practise 220-1201 questions linked to Mobile Device Accessories.
Mobile Device Network Connectivity practice questions
Practise 220-1201 questions linked to Mobile Device Network Connectivity.
Mobile Device Application Support practice questions
Practise 220-1201 questions linked to Mobile Device Application Support.
Network Protocols practice questions
Practise 220-1201 questions linked to Network Protocols.
TCP & UDP Ports practice questions
Practise 220-1201 questions linked to TCP & UDP Ports.
Wireless Networking Technologies practice questions
Practise 220-1201 questions linked to Wireless Networking Technologies.
Network Services practice questions
Practise 220-1201 questions linked to Network Services.
Network Configuration Concepts practice questions
Practise 220-1201 questions linked to Network Configuration Concepts.
Common Networking Hardware practice questions
Practise 220-1201 questions linked to Common Networking Hardware.
IP Addressing practice questions
Practise 220-1201 questions linked to IP Addressing.
Practice this exam
Start a free 220-1201 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 220-1201 question test?
IP Addressing — This question tests IP Addressing — CIDR notation defines the prefix length..
What is the correct answer to this question?
The correct answer is: 192.168.0.1 — The default gateway is the IP address of the router's LAN interface, which is 192.168.0.1. This allows computers to send traffic outside their local subnet, such as to the internet.
What should I do if I get this 220-1201 question wrong?
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related 220-1201 subnetting questions on CIDR, address ranges, and subnet selection.
What is the key concept behind this question?
CIDR notation defines the prefix length.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 18, 2026
This 220-1201 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 220-1201 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.