1What is CIDR?
Classless Inter-Domain Routing; a flexible IP addressing method that replaces classful networking.
Allows subnetting by varying the subnet mask length (e.g., /24, /25).
2How does CIDR improve efficiency?
Enables variable-length subnet masking (VLSM), letting ISPs allocate exact-sized blocks (e.g., /25 for 126 hosts, /26 for 62 hosts).
3What happens when you change a /24 to a /25?
Splits one network into two subnets, each with half the hosts (e.g., 208.25.160.0/24 → 208.25.160.0/25 and 208.25.160.128/25).
4What is the host range for 208.25.160.64/26?
65–126 (64 total addresses, minus network ID 64 and broadcast 127).
5Why can’t subnet masks have alternating 1s and 0s?What is the range of Class A IP addresses?Why can’t a subnet mask be 255.255.255.240.0?
Subnet masks must be contiguous 1s followed by 0s (e.g., 11111111.11111111.11111111.10000000 for /25).
6What’s the trade-off of subnetting?
More subnets = fewer hosts per subnet (e.g., /24 = 254 hosts, /26 = 62 hosts).
7Who typically performs subnetting?
ISPs, to allocate customized address blocks to customers.
8What is the subnet mask for /24 and /25?
/24 → 255.255.255.0
/25 → 255.255.255.128
9What is the subnet mask for /26?
255.255.255.192
10How many usable hosts does a /26 subnet support?
62 (2⁶ - 2)
11Why are the last two addresses in a subnet not usable for hosts?
One is the network address, and the other is the broadcast address.
12What is ARP used for?
To resolve a known IP address to its corresponding MAC address on the same local network.
13How does ARP work?
The sender broadcasts an ARP request: "Who has [IP]? Tell [My IP]."
Only the device with the matching IP replies with its MAC address.
14What command shows the ARP cache?
arp -a (displays dynamic and static IP-to-MAC mappings).
15Why does ARP use broadcasting?
Because the sender doesn’t know the target’s MAC, so it asks all devices on the network.
16What’s the difference between dynamic and static ARP entries?
Dynamic: Learned via ARP, expire after a timeout.
Static: Manually configured, permanent (rarely used).
17When is ARP not needed?
For remote networks (ARP is only for local communication; routers handle cross-network traffic).
18What does ARP stand for?
Address Resolution Protocol.
19Why can’t a computer send just an IP packet over Ethernet?
Ethernet requires the destination’s MAC address to form a complete Ethernet frame.
20How does a computer avoid repeatedly sending ARP requests?
It stores known IP-to-MAC mappings in the ARP cache.
21What does a dynamic ARP entry mean?
It was learned automatically and will expire after a short period.
22What happens if your ARP cache is empty?
You may need to ping or connect to other devices to populate it.
23Why is ARP important for the Network+ exam?
It's a fundamental part of how local devices communicate on Ethernet networks, and arp -a is a common command-line tool to verify it.
24What does a subnet mask determine?
Whether an IP address is local (same subnet) or remote (different subnet).
25How does a host decide to use ARP vs. the default gateway?
Compares destination IP to its own network ID (using subnet mask).
Match: ARP for local MAC.
No match: Forward to default gateway.
26What is the binary form of 255.255.255.0?
11111111.11111111.11111111.00000000 (or /24).
27Why is VLSM more efficient than FLSM?
VLSM assigns smaller subnets to small networks (e.g., /28 for 8 hosts), avoiding IP waste.
28What happens if a subnet mask is misconfigured?
Hosts may incorrectly classify remote IPs as local (or vice versa), causing communication failures.
29What’s the purpose of the default gateway?
To route traffic outside the local subnet (e.g., to the internet).
30What is the purpose of a subnet mask?
To separate the network ID from the host ID in an IP address.
31What does /24 mean in CIDR notation?
24 bits are used for the network portion; equivalent to 255.255.255.0.
32How does a computer determine if an IP is local or remote?
It compares its own IP and the target IP using the subnet mask.
33What does a computer do if the destination IP is not in its subnet?
It ARPs for the default gateway (router) and sends the packet there.
34What are the required TCP/IP settings on every host?
An IP address, a subnet mask, and a default gateway.
35What is FLSM (Fixed Length Subnet Masking)?
Every subnet has the same subnet mask, regardless of size.
36What is VLSM (Variable Length Subnet Masking)?
Subnets use different masks to better fit the number of required hosts.
37Which subnet mask allows for 254 hosts?
/24 or 255.255.255.0
38What happens when subnetting is too broad for a small network?
It wastes IP addresses — VLSM helps avoid this.
39What is IANA’s role in IP addressing?
Globally manages IP allocation, delegates blocks to RIRs (e.g., ARIN, RIPE).
40How is a Class B IP range identified?
First octet 128–191, subnet mask /16 (e.g., 160.25.0.0/16).
41Why was Classful addressing inefficient?
Forced rigid sizes (/8, /16, /24), wasting addresses for small networks.
42How does subnetting a Class B /16 into /24 work?
Borrows 8 host bits → creates 256 /24 subnets (e.g., 160.25.1.0/24).
43What replaced Classful addressing?
CIDR/VLSM, allowing custom subnet masks (e.g., /26, /28).
44What’s the key difference between Classful and CIDR?
Classful: Fixed to /8, /16, /24.
CIDR: Any mask length (e.g., /22, /27).
45What do Regional Internet Registries (RIRs) do?
Distribute IP address blocks in different geographic regions.
46What’s the first step for an organization that needs public IP addresses?
Contact their ISP, not IANA or RIRs directly.
47What is the range of Class A IP addresses?
1.0.0.0 to 126.255.255.255
48How many hosts does a Class C (/24) network support?
254 usable hosts
49Why was classful addressing wasteful?
Small networks got more IPs than they needed, wasting address space.
50What is subnetting?
Dividing a larger network into smaller subnetworks.
51What is a CIDR notation?
IP address followed by a slash and number of network bits, e.g., 192.168.1.0/26
52What problem does CIDR solve?
Classful addressing waste by allowing custom subnet sizes (e.g., /26, /28).
53How many subnets does a /25 create from a /24?
2 subnets, each with 126 hosts (128 total, minus networkroadcast).
54What’s the subnet mask for /26 in binary?
11111111.11111111.11111111.11000000 (or 255.255.255.192).
55If you subnet a /24 into /26, how many hosts per subnet?
62 hosts (64 total, minus 2).
56Why can’t a subnet mask be 255.255.255.240.0?
Subnet masks must be contiguous 1s followed by 0s (no "gaps").
57What’s the host range for 208.25.160.64/26?
65–126 (Network ID: 64, Broadcast: 127).
58How do you know how many subnets you’ve created with CIDR?
The more bits you borrow from the host part of the address (i.e., increasing the prefix length), the more subnets you create.
59What happens when you change a subnet mask from /24 to /25?
You divide the network into 2 subnets, each with 126 usable hosts.
60What does subnetting a network from /25 to /26 do?
It divides the network into 4 subnets, each with 62 usable hosts.
61How many hosts does a /26 subnet allow?
A /26 subnet allows 62 usable hosts (64 - 2 for network and broadcast addresses).
62Why is CIDR beneficial for ISPs?
CIDR allows ISPs to efficiently allocate smaller blocks of IP addresses to customers, avoiding waste.
63What is the limit of hosts in a /28 subnet?
A /28 subnet allows 14 usable hosts (16 - 2).
64What is the difference between dynamic and static IP addresses?
Dynamic IPs change over time (common in home networks).
Static IPs remain fixed (required for servers).
65Why do businesses need static IP addresses?
To ensure consistent accessibility for web, email, or game servers.
66How do you calculate the number of usable hosts in a subnet?
Usable hosts = 2ⁿ - 2, where *n* = number of host bits.
67How many usable hosts does a /28 subnet provide?
14 usable hosts (2⁴ - 2 = 16 - 2 = 14).
68What is typically reserved in a subnet block by the ISP?
The first or last IP (for the ISP’s routerateway).
69What are the two ways to assign IP addresses to a device?
Static: Manually configured.
Dynamic (DHCP): Automatically assigned.
70What does DHCP stand for, and what does it do?
Dynamic Host Configuration Protocol – Automatically assigns IP addresses, subnet masks, gateways, and DNS.
71What is the four-step DHCP process called?
DORA: Discover, Offer, Request, Acknowledgment.
72Why can’t a DHCP server be on a different subnet without help?
DHCP relies on broadcasts, which don’t cross subnets. Use a DHCP relay/IP helper to forward requests.
73What is a DHCP reservation?
Assigns a fixed IP to a MAC address (e.g., printers, servers).
74What is a DHCP lease time?
How long a device keeps an IP before renewal (e.g., 24 hours).
75What is the difference between DHCPv6 and SLAAC in IPv6?
DHCPv6: Stateful (server assigns IPs).
SLAAC: Stateless (devices self-configure via EUI-64).
76Why should you avoid multiple DHCP servers on one subnet?
They may assign conflicting IPs (e.g., two devices getting the same IP).
77What is an IP helper address used for?
Forwards DHCP requests across subnets to a central DHCP server.
78How does a device request an IP if it doesn’t have one yet?
Sends a DHCP Discover broadcast (MAC FF:FF:FF:FF:FF:FF).
79What three settings does every networked computer need?
IP address, subnet mask, and default gateway.
80What is the manual method of IP configuration called?
Static IP configuration.
81What kind of message is DHCP Discover?
What kind of message is DHCP Offer?
A broadcast message.
A unicast message.
82What is a DHCP scope?
The defined range of IP addresses available to assign to clients.
83What is a DHCP exclusion?
An IP within the scope that will not be assigned dynamically.
84What does SLAAC stand for?
Stateless Address Auto Configuration.
85How does SLAAC assign IPv6 addresses?
Devices auto-generate addresses using their MAC and the EUI-64 method.
86How does DHCPv6 differ from SLAAC?
DHCPv6 provides full address assignment with more configuration, similar to DHCPv4.
87What causes a duplicate IP address, and how does Windows handle it?
Cause: Static conflict or rogue DHCP.
Windows: Auto-switches to DHCP; shows error.
88How can duplicate MAC addresses occur, and what’s the impact?
Cause: VM cloning without MAC regeneration.
Impact: Switches may flood traffic (hub mode).
89What’s the symptom of an incorrect gateway?
Local access works, no internet.
90Why might a device get a 169.254.x.x address?
DHCP failure (server down/expired lease).
91How can an incorrect subnet mask cause one-way ping?
Device A sees B in the same subnet; B sees A in a different subnet.
92What’s a rogue DHCP server, and why is it dangerous?
Unauthorized DHCP server; can assign wrong gateway/IPs (MITM risk).
93How do you check IP settings on Linux vs. Windows?
Windows: ipconfig
Linux: ifconfig or ip a
94What’s the default DHCP lease time in Windows?
8 days (renews at 4 days).
95How can a static IP database prevent conflicts?
Tracks all manual IP assignments to avoid overlaps.
96What command helps diagnose gateway issues?
tracert (Windows) or traceroute (Linux) to test routing paths.
97What is a private IP address used for?
Used for local/internal networks; not routable on the public internet.
98What does NAT do in relation to private IPs?
Translates private IP addresses to a public IP for internet access.
99What is the IPv4 loopback address?
127.0.0.1 (localhost)
100What is the IPv6 loopback address?
::1
101What is the purpose of a loopback address?
Used to test a system’s network stack internally.
102What is the APIPA IP range?
169.254.0.1 – 169.254.255.254
103When is an APIPA address assigned?
When DHCP fails and the OS self-assigns an IP.
104Can you access the internet with an APIPA address?
No; only allows local communication within the same subnet.
105What is a common cause of getting an APIPA address?
DHCP server is unreachable or down.
106What command in Windows releases an IP address?
What command in Windows renews an IP address?
ipconfig elease
ipconfig enew
107What happens when two devices have the same IP?
IP conflict – one or both may lose connectivity.
108What might happen in Windows during an IP conflict?
The system disables the NIC or reverts to DHCP.
109What might happen in Linux during an IP conflict?
Silent failure or connectivity issues.
110How do you fix an IP conflict?
Change one device’s IP or verify DHCP settings.
111What is a duplicate MAC address?
Two devices have the same hardware address.
112Where are duplicate MAC addresses most common?
In virtual machines that were cloned.
113What problems can a duplicate MAC address cause?
Switch confusion, traffic drops, or reverting to hub-like behavior.
114 What does the default gateway do?
Routes traffic to outside networks (e.g., the internet).
115What happens if a client has the wrong default gateway?
It can't access external networks or the internet.
116What is a rogue gateway?
An unauthorized router offering incorrect gateway settings, possibly used in MITM attacks.
117What does a subnet mask do?
Defines the network and host portions of an IP address.
118What happens if the subnet mask is incorrect?
Devices may not communicate properly within the network.
119How can you tell if there's a subnet mismatch issue?
Devices on the same IP range can’t ping each other or show asymmetric connectivity.
120What command can help you verify if DHCP is working?
ipconfig /all – shows lease info, DHCP server, etc.
121What should all devices on the same LAN have in common?
Same subnet mask and same default gateway (usually the router).
122What symptoms suggest a bad default gateway?
Can ping local devices but not websites or external IPs.
123What tool helps trace the route to a host?
tracert (Windows) or traceroute (Linux/macOS)
124What is the purpose of the ping command?
Test connectivity to another host or IP.