How it works
Subnetting divides a large address range into smaller ones. It organizes devices by address, supports routing decisions, controls how far broadcasts travel, and gives boundaries something to enforce.
Size each subnet from the number of devices it must hold, with room to grow, then confirm that the ranges do not overlap and that each group lands where you intended.
Common error
Subnetting is not primarily about saving addresses. Its value here is structure: separation you can then apply rules to.
Topic 3.3: Configuring addresses, LAN equipment, and wireless access
Configuration connects an approved design to the settings devices actually use. Build from a consistent address and connection plan, apply manual or automatic addressing to the correct interface, and compare the resulting values with that plan. Then verify local reach, routed services, naming, application access, and role restrictions separately. A saved settings screen, a successful ping, or a connected Wi-Fi icon each provides useful evidence, but none alone proves the entire LAN is correct.
Read topic 3.3 notes, examples, and quick checks
3.3.A: Record the intended interface configuration before editing
Identify the device, active interface, role, IP assignment method, address or pool, prefix, relevant gateway, resolver, and expected access. IP and mask define the connected IPv4 subnet. A default gateway normally supplies the route to destinations not covered by a more-specific route, and DNS supports names where the application uses them. A local numeric-IP exchange does not inherently require DNS or a default route. The example below deliberately supplies both for the intended tasks. Check uniqueness, network and broadcast boundaries, and the actual allocation record rather than assuming that an address is available because it looks valid or does not answer ping.
Enter a coordinated manual IPv4 configuration
Use the installed operating system's supported settings for the intended Ethernet or Wi-Fi interface. On Windows, locate that connection's IP assignment controls, choose Manual, and enable IPv4 when the interface provides that option. Enter the approved IP, prefix length or dotted mask as requested, gateway, and appropriate DNS assignment. In this lab the archive host uses 10.92.8.10 with /26, gateway 10.92.8.1, and DNS 10.92.8.1. A prefix-length field expects 26 rather than the dotted mask. Save, reconnect only as appropriate, and inspect the resulting active configuration. Preserve an authorized recovery path before changing a remotely managed interface.
Configure the DHCP scope and client as two different tasks
On the authorized DHCP service, define the intended subnet, usable pool, exclusions or reservations, mask, gateway and resolver options, and lease policy. A router may provide DHCP, but ordinary switching alone does not imply that a switch supplies it. The staff example leases .32–.50 in 10.92.8.0/26, while the guest scope leases .80–.110 in 10.92.8.64/26. Manual infrastructure addresses are kept outside those general pools. On an ordinary client choose automatic IP assignment, and check the separate DNS assignment if the plan expects automatic DNS too. A supported reservation can keep a service address predictable while the endpoint remains a DHCP client.
Verify what the selected interface actually holds
On Windows, ipconfig shows core address, mask, and gateway information; ipconfig /all adds details such as physical address, DHCP state, DNS, and lease information. Compare the active interface with the inventory, not an unrelated VPN or disabled adapter. On Linux, ip address and ip route show address and routing information; NetworkManager tools can show managed connection and DNS settings where that manager is in use. ifconfig can show interface and MAC information but does not establish the default gateway. A missing route line in an interface-only display is not proof the route is absent. A MAC match supports interface identification but is not proof of ownership or authorization.
3.3.B: Read masks as a boundary in 32 address bits
IPv4 has four eight-bit octets, each written as a decimal value from 0 to 255. A CIDR prefix gives the count of leading network bits. A /26 mask is 255.255.255.192: three full octets of ones followed by 11000000. Its six remaining bits are host bits. A normal CIDR mask is contiguous ones followed by zeros; 255.0.255.0 does not describe one such boundary. Prefix notation and dotted masks express the same network-bit selection. Do not infer a /24 merely because the address uses familiar private space or because the first three octets look similar.
Use bitwise AND to find the actual network
Combine an address with its mask using bitwise AND: a resulting bit is one only where both inputs are one. For 10.92.8.34/26, the last octet 00100010 AND 11000000 gives 00000000, so the network is 10.92.8.0/26. For 10.92.8.90/26, 01011010 AND 11000000 gives 01000000, so the network is 10.92.8.64/26. These devices share the first three octets but belong to different /26 subnets. Staff hosts ordinarily use .1–.62 with broadcast .63; the guest block ordinarily uses .65–.126 with broadcast .127. The network addresses .0 and .64 are not ordinary host assignments.
Check both masks and the plan before diagnosing reachability
If interfaces use different masks, they may make different on-link decisions. A staff workstation misconfigured as 10.92.8.18/24 treats 10.92.8.90 as local even though the intended /26 design places it in another VLAN and subnet. It may try local neighbor resolution instead of the planned router path. Local access to 10.92.8.10 can still work with that wrong mask, so a successful nearby ping does not establish configuration correctness. Compare each interface with the approved plan. Do not enlarge a mask merely to make two addresses appear related; that does not create a working or authorized path between the actual segments.
3.3.C: Prepare equipment, cable paths, and a recovery method
Use the connection plan to identify devices, ports, cable routes, media, power, and necessary tools. Suitable preterminated patch cables may be sufficient. Where trained installation requires termination, use connectors, strippers, crimping or punch-down tools, and appropriate protection suited to the cable and work. Label both ends, organize and secure the routes, and verify the installed links; simple continuity does not certify every performance property. Keep the current configuration and supported recovery method available. Physical preparation and initial bench configuration can be coordinated in the appropriate order for the equipment rather than treated as one universal vendor-independent sequence.
Configure the managed switch without confusing management and forwarding
For a managed model, use its supported console, documented initial management method, or approved discovery/setup process. Not every switch has a console port or the same factory IP. Set appropriate administrative authentication, management addressing and permitted reach, then configure the required access ports and supported uplinks. The example uses management address 10.92.8.2/26 on the staff side. A Layer 2 switch can forward frames without a management IP; an unmanaged model may have no IP settings at all. The switch's management gateway, where needed, is for its off-subnet management traffic, not a replacement for each endpoint's intended gateway.
Configure gateways and the actual wired/wireless mapping
The example's supported router provides staff gateway 10.92.8.1/26 and guest gateway 10.92.8.65/26, with separate DHCP scopes and appropriate DNS service on the approved interfaces. The managed switch and AP carry the intended VLAN 10 and VLAN 20 mappings over supported uplinks. The AP's management IP is 10.92.8.3/26 on the staff side; wireless clients use their own role's gateway rather than treating the AP management IP as the router. Apply the required routing and access policy, including restrictions on the gateway's own administration. Avoid adding an uncoordinated DHCP service or secondary routing mode when the design calls for bridged access-point service.
Verify settings, local paths, routes, names, and applications separately
Start by comparing interface state and actual configuration with the plan. Test a suitable known-working local target and gateway when permitted, then the required routed service and naming behavior. Follow with the actual operation: open the intended file, print a sample, submit an application form, or use the approved web service. A gateway reply does not prove an internet path, and an external numeric-IP response does not prove DNS. Account permissions and server health can still block a task after connectivity succeeds. Compare a working client under relevant conditions and record which observation supports each conclusion.
Read ping replies and errors without overclaiming
Ping sends ICMP echo requests. On Windows a bounded check can use ping -n 2 ADDRESS; Linux commonly uses ping -c 2 ADDRESS. Echo replies matching the tested target support that exchange at that time. A line from a gateway saying Destination host unreachable is an error report, not an echo reply proving the requested endpoint answered. Timeouts can reflect filtering, host state, routing, or another problem. Neither a successful ping nor 0% loss proves that the mask, ownership, DNS, application, or isolation policy is correct. Do not require every legitimate device to answer ICMP as the sole acceptance criterion.
Test the intended resolver and the real service
For a name-dependent task, compare a lookup through the expected resolver with the maintained record and the application's saved name. In this fictional lab, the staff resolver is explicitly configured with archive.lab.test → 10.92.8.10; .test is used as a lab-only example name, not a public site to visit. A successful lookup does not prove a TCP connection or a valid user login. A successful TCP-port test also does not prove permission to open a share or change a file. Separate the naming, transport, and application results, and check the actual client path and any IPv4/IPv6 behavior relevant to the task.
3.3.D: Configure internal and guest Wi-Fi with supported isolation
Using the AP or controller's documented authorized management path, configure the internal role and verify it before adding guest restrictions. Give the guest role its intended distinct SSID and appropriate join credentials, map it to the supported separate VLAN or isolated guest feature, and supply its own usable addressing and gateway path. Select supported modern security, such as WPA3-Personal or an appropriate WPA2-AES compatibility configuration; review WPS and administrative authentication separately. A wireless router may combine these functions, while a separate AP needs the surrounding switch/router design. A different name or password is not by itself evidence that guests cannot reach internal resources.
Use optional guest controls for their actual purpose
Where supported and required, connection limits, access hours, per-session limits, bandwidth policies, or a captive portal can shape guest use. A captive portal may record acceptance or authenticate a guest; it does not replace wireless encryption or segment isolation. An access-hours schedule and an individual session timeout are different requirements. Test permitted guest DNS and web access, intended denials to internal files and management, and continued staff access with a known-working destination. Consider client-to-client isolation if guests must also be separated from one another. Record the effect of optional controls without assuming every AP offers the same menu or enforcement behavior.
Review generated plans and leave a verified configuration record
Check an AI draft against each interface's subnet, unique assignment, pool membership, prefix, gateway, DNS, and intended access. Do not accept a familiar gateway copied from another network or a claim that matching a single ping proves the setup. Use supported settings and an authorized change/recovery plan, then record configuration readings and actual application and boundary-test results. Keep passwords, tokens, and unnecessary personal details out of the handover. Save the final port/SSID mappings, address plan, maintenance owner, and rollback method, including what remains unverified. A plan becomes maintainable when another authorized person can repeat the checks and understand their limits.
Read abbreviated fictional configuration and test evidence
Binary comparison: the shared first three octets are not enough
Staff address: 10.92.8.34
Address bits: 00001010.01011100.00001000.00100010
/26 mask: 11111111.11111111.11111111.11000000
AND result: 00001010.01011100.00001000.00000000
Staff network: 10.92.8.0/26
Guest address: 10.92.8.90
Last octet: 01011010 AND 11000000 = 01000000 (64)
Guest network: 10.92.8.64/26
Both use the same /26 mask but produce different network addresses. The staff and guest blocks are adjacent, non-overlapping subnets. A staff client should not be changed to /24 merely because the first three octets match the guest's address. Real reachability still depends on supported VLAN mapping, routing, and policy.
Windows archive host: a coordinated manual address
C:\> ipconfig /all
Ethernet adapter Ethernet:
Physical Address . . . : 02-92-08-00-00-10
DHCP Enabled . . . . . : No
IPv4 Address . . . . . : 10.92.8.10
Subnet Mask . . . . . . : 255.255.255.192
Default Gateway . . . . : 10.92.8.1
DNS Servers . . . . . . : 10.92.8.1
The selected interface holds the planned manual /26 configuration, and .10 is outside the staff's general .32–.50 DHCP pool. Confirm the maintained allocation and identity rather than using that range fact alone to prove uniqueness. The configured gateway and DNS must actually provide the intended services.
Windows staff laptop: DHCP settings compared with the staff scope
C:\> ipconfig /all
Wireless LAN adapter Wi-Fi:
Physical Address . . . : 02-92-08-00-00-34
DHCP Enabled . . . . . : Yes
IPv4 Address . . . . . : 10.92.8.34
Subnet Mask . . . . . . : 255.255.255.192
Default Gateway . . . . : 10.92.8.1
DHCP Server . . . . . . : 10.92.8.1
DNS Servers . . . . . . : 10.92.8.1
Lease Obtained . . . . : 09:00 on the recorded visit
Lease Expires . . . . . : 21:00 on that visit
The address is inside the intended staff pool, and its /26, gateway, DNS, and lease evidence fit the recorded plan. DHCP Enabled: Yes alone would not establish a successful lease. The displayed MAC is the current interface address; a private Wi-Fi address can affect inventory matching. A lease may renew before expiry without changing the IP.
Linux workstation: read addressing, routing, and DNS from the appropriate views
$ ip address show dev enp3s0
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
link/ether 02:92:08:00:00:18
inet 10.92.8.18/26 brd 10.92.8.63 scope global enp3s0
$ ip route
default via 10.92.8.1 dev enp3s0
10.92.8.0/26 dev enp3s0 scope link src 10.92.8.18
$ nmcli -g IP4.DNS device show enp3s0
10.92.8.1
This fictional system uses NetworkManager for the shown DNS view. The address and default route are read separately; an interface display alone is not the default-gateway record. If another manager or operating system is used, inspect its supported settings rather than assuming every platform has nmcli or the same interface name.
Three successful checks still answer three different questions
C:\> ping -n 2 10.92.8.10
Reply from 10.92.8.10: bytes=32 time=2ms TTL=128
Reply from 10.92.8.10: bytes=32 time=3ms TTL=128
C:\> nslookup archive.lab.test 10.92.8.1
Server: lab-resolver
Address: 10.92.8.1
Name: archive.lab.test
Address: 10.92.8.10
PS C:\> Test-NetConnection -ComputerName 10.92.8.10 -Port 445
RemoteAddress : 10.92.8.10
RemotePort : 445
TcpTestSucceeded : True
These illustrative results support ICMP response, the specified resolver's lab-name mapping, and a TCP connection to the named port, respectively. They do not prove staff file permissions, guest isolation, or every interface setting. Finish by opening the intended archive item with the normal staff account and checking the relevant guest denials. The lab name is fictional and must be configured locally in the exercise.
Configure and verify the two-network lab
1Confirm the design and starting state
Identify staff and guest roles, intended services, equipment capabilities, address allocations, cable/port labels, and authorized management access. Save relevant settings and a recovery method.
2Prepare links and managed equipment
Install suitable labeled links and power. Use each managed device's supported setup method, protect administration, and establish the intended management interface and access/uplink mapping.
3Configure gateways, DHCP, and resolver service
Set staff 10.92.8.1/26 and guest 10.92.8.65/26 on the intended routed interfaces. Configure their separate pools, options, exclusions/reservations, lease policies, DNS behavior, and required access rules.
4Configure and verify one internal endpoint
Apply the approved manual archive settings or enable automatic client addressing as planned. Inspect actual values and verify the intended local and name-dependent application task.
5Map internal wireless access
Configure Workshop-Staff on the supported VLAN 10 path with appropriate security. Verify the client receives or holds the staff /26 settings and can perform its authorized work.
6Map and restrict guest wireless access
Configure Workshop-Visitors on the supported VLAN 20 or equivalent isolated guest path, including its distinct join settings and guest DHCP/gateway. Permit required guest infrastructure and web service while restricting internal and management paths.
7Test positive and negative outcomes
Compare actual settings with the plan. Verify staff application access, guest approved DNS/web use, and guest denials to known-working restricted services; test optional schedules or session limits if required.
8Save evidence and recovery information
Record the device/interface, readings, tests, expected and observed outcomes, mappings, owner, and remaining uncertainty. Confirm that approved reconnect or restart behavior preserves the intended operation.
| Setting | Staff / VLAN 10 | Guests / VLAN 20 |
|---|---|---|
| Network / mask | 10.92.8.0/26 · 255.255.255.192 | 10.92.8.64/26 · 255.255.255.192 |
| Ordinary host range / broadcast | .1–.62 · broadcast .63 | .65–.126 · broadcast .127 |
| Gateway / approved DNS service | 10.92.8.1 for both functions in this example | 10.92.8.65 for both functions in this example; guest administration is restricted separately |
| General DHCP pool | 10.92.8.32–10.92.8.50 · 19 addresses | 10.92.8.80–10.92.8.110 · 31 addresses |
| Illustrative lease policy | 12 hours; renewal may occur before expiry | 4 hours; not an access-hours policy |
| Recorded manual interfaces | Switch .2, AP management .3, archive .10, workstation .18; each /26 | Gateway .65; guest clients use the guest scope in this example |
| Wireless entry and intended reach | Workshop-Staff; authorized internal work and approved external services | Workshop-Visitors; approved guest DNS/web, without internal file or management access |
| Observation | Interpretation | Useful next action or test |
|---|---|---|
| Staff .18 is /24 instead of planned /26 | The address can reach some nearby staff targets while its on-link decision is wrong for other intended segments. | Correct the approved mask, then compare resulting routes and required application behavior. |
| A manual staff address is inside .32–.50 without a coordinated exclusion or reservation | It may conflict with automatic allocation even if nothing replies to ping now. | Check allocation and server records and coordinate the intended assignment before use. |
| A staff client has gateway .65 | That is the guest gateway, outside its intended staff /26 connected network. | Compare interface and role mapping, correct the gateway or scope source, and verify the actual route. |
| An unexpected 169.254 address appears on an automatic IPv4 interface | The expected DHCP configuration has not been obtained; it does not identify the failed component or describe separate IPv6 access. | Check link, SSID/VLAN mapping, client mode, scope capacity, and the path to the intended DHCP service. |
| Archive access by IP works but the lab-name lookup fails | Naming needs investigation even though that IP application path works. | Check the actual resolver and configured lab record; compare nslookup and the application's saved name. |
| A guest's attempted internal file connection fails | That may be the intended boundary, but failure alone could also reflect an unavailable destination. | Confirm the service works from an allowed staff account, then check guest denial evidence and required guest web/DNS operation. |
| Ping shows Reply from the gateway: Destination host unreachable | This is an error from the gateway, not an echo reply from the requested endpoint. | Read the exact message, target, and route context before claiming the endpoint is reachable. |
| Prefix | Dotted mask | Network / host bits | Conventional usable hosts |
|---|---|---|---|
| /16 | 255.255.0.0 | 16 network / 16 host | 65,534 |
| /24 | 255.255.255.0 | 24 network / 8 host | 254 |
| /25 | 255.255.255.128 | 25 network / 7 host | 126 |
| /26 | 255.255.255.192 | 26 network / 6 host | 62; network and broadcast are excluded in these ordinary LAN examples |
Internal and guest clients share AP hardware, not one unrestricted network
The approved lab uses staff VLAN 10 with 10.92.8.0/26 and guest VLAN 20 with 10.92.8.64/26. A supported AP maps the two SSIDs onto the intended uplink paths; the router supplies each subnet's gateway, DHCP, and configured resolver service. Management is on the approved staff side with appropriate access restrictions. This connection sketch depends on the actual supported mappings and policy, not the SSID names alone.
Legend: solid = wired; dashed = Wi-Fi. VLAN 10 and 20 are configured mappings, not separate radios or automatic permissions. All addresses, SSIDs, and records are fictional; credentials are configured privately and are not shown.
| Device / interface | Planned address and method | Evidence and expected use |
|---|---|---|
| Router / staff interface | 10.92.8.1/26 · coordinated infrastructure setting | Staff gateway, DHCP options, and configured resolver behavior; protected administration. |
| Router / guest interface | 10.92.8.65/26 · coordinated infrastructure setting | Guest gateway, scope, and approved resolver/web paths; no guest administration or general internal reach. |
| Managed switch / management | 10.92.8.2/26 · recorded manual interface | Supported management access and actual VLAN/port mapping; an IP is not required merely for Layer 2 frame forwarding. |
| AP / management | 10.92.8.3/26 · recorded manual interface | Authorized management and separate staff/guest mapping over the supported uplink. |
| Archive / Ethernet | 10.92.8.10/26 · manual | Current interface identity, configuration, normal staff file operation, and intended guest denial. |
| Linux workstation / Ethernet | 10.92.8.18/26 · manual | Address, routing, configured DNS, and required application results. |
| Staff laptop / Wi-Fi | Example lease 10.92.8.34/26 | Correct role, pool, prefix, gateway, DNS, and lease; current private MAC if applicable. |
| Visitor phone / Wi-Fi | Example lease 10.92.8.90/26 | Guest addressing and approved DNS/web use, with verified restrictions to internal and management services. |
LAN configuration and verification vocabulary
- Manual and dynamic IPv4
- Endpoint-entered configuration and time-limited automatic configuration supplied through DHCP; a reservation can preserve a chosen address while staying automatic.
- DHCP scope and pool
- The intended subnet-related allocation configuration and usable addresses a server can lease to its clients.
- Lease and renewal
- The assigned period and the process of extending it, often before expiry and without necessarily changing the address.
- Prefix length and subnet mask
- Equivalent ways of specifying the connected network-bit boundary, such as /26 and 255.255.255.192.
- Bitwise AND
- Combining address and mask bits to obtain the network address; only two input ones produce a resulting one.
- Network and broadcast address
- The ordinary IPv4 LAN block's identifying and broadcast endpoints, excluded from ordinary host assignments in these examples.
- Default gateway
- The next-hop router for destinations covered by the default route, distinct from a switch or AP management IP.
- DNS resolver
- The configured service used for name lookups; it is not automatically the gateway unless the actual design provides that service there.
- Active configuration
- The settings and routes the selected interface currently uses, which should be compared with the plan after a change.
- Managed-switch bootstrap
- The model's supported initial setup method, which may involve a console or another documented management process.
- VLAN and SSID mapping
- The supported connection between a wireless entry role and its intended logical network and policy path.
- ICMP echo and unreachable error
- A target's ping reply and a separate error report; an unreachable message from another device is not a successful target echo.
- Name, transport, and application checks
- Different tests for resolution, a connection path, and the intended authorized operation; none alone proves every other layer.
- Captive portal
- A supported admission or terms-acceptance mechanism, separate from Wi-Fi encryption and network isolation.
- Access hours and session limit
- A network-availability schedule and a per-session duration constraint; one is not automatically a substitute for the other.
- Configuration evidence and rollback
- Recorded intended/actual settings and test results, with a supported method of recovering the previous authorized state.
Worked verification: a local reply hides a wrong mask and resolver
A small map-digitization lab applies the two-/26 plan above. Its manually addressed workstation is intended to use 10.92.8.18/26, gateway 10.92.8.1, and resolver 10.92.8.1. The archive application locates the service through the explicitly configured lab name archive.lab.test.
- The workstation actually holds 10.92.8.18 with mask 255.255.255.0 and DNS 10.92.8.55. The maintained plan identifies neither value as approved for this interface.
- A local ping to 10.92.8.10 succeeds, and the archive share can be reached by IP with the normal account. The application's name-dependent connection fails, and a lookup through the configured .55 resolver times out.
- The wider /24 also makes the workstation treat the guest address 10.92.8.90 as on-link rather than following the intended /26 routing design.
- An AI summary says the successful local ping proves the setup and recommends leaving the values unchanged. No guest-isolation or name-dependent application test is recorded.
Reasoning: The successful local exchange is compatible with the wrong /24 mask and does not test the configured resolver. The approved evidence identifies two specific configuration mismatches, not a need to replace the router or disable restrictions. Correct the mask and DNS assignment, then verify the required route and application behavior. An internal success also does not prove that guest isolation is configured correctly.
- Preserve the current record and supported recovery method, then apply /26 and the approved resolver 10.92.8.1 to the intended workstation interface through the authorized configuration method.
- Read the actual address, mask, default route, DNS, and interface identity again. Verify the lab record resolves to the expected archive address.
- Open the required archive item by its intended name using the normal account, checking permissions as well as transport connectivity.
- From a guest client, verify approved guest DNS/web use and denials to known-working internal and management services. Save expected and observed results, mappings, and the maintenance owner.
Quick checks
Choose a question, form your answer, then open it to compare your reasoning.
1. What should be recorded before applying a manual interface address?
Record device/interface identity, role, unique approved address, mask or prefix, assignment method, appropriate gateway and DNS, required access, pool/exclusion/reservation coordination, and a recovery method. A syntactically valid address or a missing ping reply is not proof it is available.
2. The mask is 255.255.255.192 but the settings field asks for prefix length. What value belongs there?
26. The mask has twenty-six leading one bits. A prefix-length field is not asking for a dotted mask or the number of full 255 octets.
3. How do setting a DHCP pool and enabling a DHCP client differ?
The server manages the intended subnet, pool, options, exclusions or reservations, and lease policy. The client is configured to obtain addressing automatically, with DNS assignment checked as needed. Both sides and the correct network path must be in place.
4. How many addresses are in staff pool .32–.50 and guest pool .80–.110 inclusive?
The staff pool has 50 − 32 + 1 = 19 addresses; the guest pool has 110 − 80 + 1 = 31. Their capacities are before any additional commitments, and the separate /26 boundaries still need to be respected.
5. Does the end of a lease period mean a client necessarily gets a new address on every renewal?
No. A client can renew before expiry and keep the same address. Compare actual lease and server information rather than inferring assignment type just from whether the address changed.
6. May a shared service use a DHCP reservation instead of manual settings?
Yes, if supported and appropriate to the design. The endpoint remains automatic while the server associates a chosen address with its client identifier. Verify the server's rules and uniqueness; do not independently assign that same address elsewhere.
7. Why is 255.0.255.0 not a normal CIDR subnet mask?
Its bits contain ones, then zeros, then ones again. A normal CIDR mask has one contiguous run of network ones followed by host zeros.
8. With /26 on both, do 10.92.8.34 and 10.92.8.90 share one subnet?
No. The network addresses are 10.92.8.0/26 and 10.92.8.64/26. The first three matching octets do not decide the answer when the prefix boundary lies inside the final octet.
9. Find the staff and guest ordinary host ranges and broadcasts in the two-/26 plan.
Staff: network .0, ordinary hosts .1–.62, broadcast .63. Guests: network .64, ordinary hosts .65–.126, broadcast .127. Network and broadcast values are not ordinary host assignments in this lab.
10. Why can staff workstation 10.92.8.18/24 still ping archive 10.92.8.10 even though the approved mask is /26?
Both addresses look on-link under either of those masks, so that exchange can succeed despite the mismatch. The wrong /24 changes decisions about other destinations, including the guest subnet. Compare settings with the plan as well as testing traffic.
11. Does a device always need DNS and a default route just to exchange data by numeric IP with a correctly configured on-link peer?
No. Those functions support the tasks that need name resolution or off-subnet routing. The full intended workload may require both, and this lab explicitly configures them, but a local numeric-IP result does not test either one completely.
12. What is wrong with giving a staff /26 endpoint gateway 10.92.8.65 in this lab?
That is the planned guest gateway, outside the staff's 10.92.8.0/26 connected subnet. Check the client's actual role, mapping, and scope before applying the approved staff gateway .1.
13. Does a Layer 2 switch need a management IP to forward ordinary Ethernet frames?
No. A managed switch's address supports management; an unmanaged switch may expose no management IP at all. Use the actual model's supported setup method rather than assuming every switch has a console or a default address.
14. The AP's staff-side management address is 10.92.8.3. Should a guest use that as its default gateway?
No. In this design the AP bridges supported wireless roles to their network paths, and the guest's routed gateway is 10.92.8.65. Management addressing and routing roles are distinct.
15. Which extra details make ipconfig /all useful when comparing a Windows interface with the plan?
It supplies details such as physical address, DHCP status, DNS, and lease information in addition to core addressing. Select the actual interface and interpret the readings; DHCP Enabled: Yes alone does not prove a successful expected lease.
16. An ifconfig display omits a default-gateway line. Should the gateway immediately be re-entered?
No. Inspect the supported route or network-configuration view. An interface-only display does not establish the default route, and a missing field in that view is not proof the configuration is absent.
17. What does a successful target echo reply from 10.92.8.10 establish, and what does it leave unproven?
It supports that this ICMP echo exchange worked at that time. It does not establish correct pool planning, every interface setting, DNS, file permissions, all routed services, or guest isolation.
18. Is Reply from 10.92.8.1: Destination host unreachable the same as an echo reply from the requested archive host?
No. It is an error report from another device. Read the target, responder, and message before declaring the archive host reachable.
19. A name lookup returns the expected address and a TCP 445 test succeeds. Is a successful staff file operation established?
Not yet. Those checks support naming and a transport connection. Use the normal account to perform the required file operation and verify the intended permissions.
20. What does a staff-to-archive success contribute to a guest-denial test?
It helps establish a working destination service and allowed path. A guest failure alone could otherwise result from the server being off or broken, rather than the intended access boundary.
21. Does creating Workshop-Visitors with a separate password prove guest isolation?
No. Configure and verify the supported network/VLAN mapping, guest scope and gateway, required services, and restricted internal and management paths. Also verify continued staff access.
22. Do a captive portal, access-hours schedule, and session limit provide the same control?
No. A portal can manage admission or terms acceptance; access hours govern availability by schedule; a session limit caps a particular session. None replaces supported Wi-Fi protection or the intended isolation policy.
23. Should basic LAN setup always involve hand-crimping cables and a console cable to every switch?
No. Suitable preterminated links may be appropriate, and setup methods depend on each managed device's capabilities. Where termination work is required, use the correct trained process, tools, connectors, labeling, testing, and protection.
24. An AI says the map lab is configured correctly because one local ping works. What should the review require?
Compare actual interface settings with the approved plan, including the /26 and resolver, then test the intended routes, lab-name resolution, normal-account application access, and guest allowances/denials against working services. Record evidence and remaining uncertainty instead of treating one successful test as proof of the whole configuration.
Topic 3.4: Security zones, least privilege, and non-overlapping subnet plans
A segmented LAN needs an address plan, a working separation mechanism, and an access policy that matches each group's task. In this topic, design four zones for a conservation workshop, calculate their IPv4 ranges, and decide what evidence would demonstrate permitted access and effective restrictions. Keep three questions distinct: can a device join, which destinations can it reach, and what may its account actually do there? All plans, commands, and audit records below are fictional learning examples.
Read topic 3.4 notes, examples, and quick checks
3.4.A: Describe the impact on data and shared resources
Start with an asset and an observed or plausible action. An unauthorized download threatens confidentiality; an unapproved change threatens integrity; a flooded print queue or interrupted capture service threatens availability. One incident can affect several of these. A network can contain VLANs and still expose sensitive systems through a permissive rule, an incorrect port assignment, or a shared account. An unknown connection is a finding to investigate, not automatic proof of malware or data theft.
Explain what an ineffective boundary lets a device do
If visitor clients and staff equipment share an unrestricted forwarding domain, a visitor may be able to contact staff applications, a printer, or management interfaces. Successful contact does not itself prove that files can be read or settings changed; application authentication and permissions still matter. Even without reading confidential records, unauthorized use of a shared printer or display can disrupt work. Record the entry point, reachable resource, relevant access control, and likely impact rather than describing every problem simply as weak Wi-Fi.
Separate wireless protection from internal authorization
Weak join credentials, WEP, and open wireless can expose the wireless link or admit unintended clients. Use an identifiable intended SSID, a strong independent credential where shared-key access is used, and supported modern security such as WPA3 or appropriate WPA2 with AES. A network name is not authentication, and changing it does not encrypt traffic. Legitimate guests can know their own Wi-Fi password while still being denied staff resources. Map the guest SSID to the intended restricted zone, test that mapping, and protect applications with their own authentication and encryption.
Investigate unverified wired and wireless connections
An unapproved device can introduce malware, an unauthorized access point, or a route around intended controls. A wired attachment does not need the Wi-Fi password. Compare the actual switch port or wireless association, current interface identifier, asset record, and owner before deciding whether a connection is authorized. A newly seen private Wi-Fi MAC can belong to an approved device. A normal switched port does not automatically receive every other device's unicast traffic, but inappropriate local access and malicious network behavior can still create exposure. Investigate evidence rather than assuming that every unfamiliar address is an attacker.
3.4.B: Turn a task into a minimal access requirement
Write a requirement as source role or device, destination resource, service, and purpose. The workshop capture appliance may upload to one staff workstation over its configured HTTPS service; it has no task requiring all staff computers or their management ports. Apply account permissions at the destination as well as network restrictions along the path. Temporary access needs an owner and an expiry or review point. An admitted or patched device does not automatically deserve unrestricted access to every zone.
Distinguish address organization, VLANs, and physical separation
Different address ranges and DHCP scopes organize configuration, but they do not independently enforce isolation. A supported VLAN setup separates Layer 2 forwarding and broadcast domains; routed access between those domains still requires explicit policy. A second switch only provides meaningful physical separation when its connections preserve that design: reconnecting both groups through an unrestricted bridge can undo it. Choose separate hardware when the required assurance or equipment capabilities justify it. VLAN IDs, subnets, SSIDs, and security permissions describe different parts of a plan and must agree.
Use port and device controls with their limits in view
Administratively disable unused access ports and secure accessible equipment. Where an authorized design uses a MAC allowlist, keep it accurate and verify enforcement on the intended port or wireless service. A MAC identifier can be copied, changed, or randomized, so a successful match is not strong proof of a person's identity. On equipment that supports it, authenticated network admission can provide a stronger check. Do not shut down a required occupied port as a permanent fix for an inventory mismatch; verify the device and apply the appropriate admission policy.
Do not confuse an address reservation with admission control
A DHCP reservation associates a client identifier with a chosen lease address. Creating one does not normally stop other clients from receiving ordinary leases. If a particular server supports an explicit known-client-only or filtering policy, configure and test that separately. Even a device refused a DHCP lease may try a manually entered address, so lease controls do not replace switch, wireless, network, or application access controls. Stable addresses help target and document a rule; they do not authenticate the device that sends traffic from an address.
Limit communication across zones to the required services
Begin with no unsolicited cross-zone access, then approve narrowly defined exceptions. In this example, only capture appliance 10.118.24.162 may initiate TCP 443 to staff workstation 10.118.24.149. A zone-wide allow to every staff destination would grant much more than the upload task needs. Explicitly account for DHCP, approved DNS, and other necessary infrastructure rather than breaking them accidentally. If a stateful firewall is used, reply traffic for an allowed connection is different from permission to initiate a fresh reverse connection. Topic 3.5 develops the filtering rules in more detail.
Check traffic that does not cross the routed firewall
Two staff devices in the same VLAN and subnet usually communicate directly, so a router rule between VLANs does not automatically protect the local printer or workstation. Use destination permissions, host controls, or finer separation where required. Similarly, guest-to-internal restrictions do not necessarily stop guest clients talking to one another; client isolation is a separate supported feature to assess. Protect the gateway's own management service explicitly as well as forwarded traffic. Guest DNS to its gateway must not imply guest permission to administer that gateway.
3.4.C: Calculate what changes when the prefix grows
For IPv4, a /p prefix leaves 32 minus p host bits. Dividing a /24 into equal /27 subnets uses three additional prefix bits, producing eight blocks of 32 addresses. Each ordinary multiaccess /27 LAN has 30 conventional usable unicast host addresses. Subnetting can keep broadcasts within smaller correctly configured VLANs and make responsibilities easier to manage, but changing masks alone does not create separate Layer 2 domains or guarantee more throughput. Port speed, shared airtime, uplinks, and actual demand still matter.
Identify the network, broadcast, and ordinary host range
Within an ordinary LAN subnet, the all-zero host portion identifies the network and the all-one host portion is its directed broadcast address. Devices use the addresses between those endpoints. For 10.118.24.128/27, the network is .128, broadcast is .159, and ordinary hosts are .129 through .158. The gateway consumes one of those usable host addresses; it is not an extra reserved address outside the range. These examples use ordinary multiaccess LAN prefixes. Special /31 point-to-point and /32 host-route uses do not follow this same two-reserved-address exercise.
Count every required interface before choosing a block
Count simultaneously addressed interfaces, the routed gateway, relevant management or service interfaces, and any explicitly required growth. Choose the smallest block whose ordinary usable host count meets that total. The capture group has five appliances and one gateway: six hosts, so eight total addresses and /29 fit exactly. Adding one more appliance means seven hosts and requires at least a /28. Spare addresses are a capacity choice, not an invitation or a security control; a completely filled subnet is not a substitute for authentication or filtering.
Check alignment and the full ranges, not just the starting labels
A subnet begins on a valid boundary for its prefix. Inside a /24, /27 blocks advance by 32 and /29 blocks by 8. The label 10.118.24.180/28 describes an address inside the .176–.191 block; it does not create a block starting at .180. Expand each proposed range and compare it against every other allocation. Different written network labels or different masks do not ensure disjoint blocks: .80/28 sits inside .64/27. Check the parent allocation as well, so a correctly aligned block does not escape the address space you were given.
Use different block sizes when groups need different capacity
The workshop has up to 70 visitor interfaces, 21 staff endpoints, five capture appliances, and three management interfaces. Add one gateway per zone to obtain host requirements of 71, 22, 6, and 4. The plan below assigns /25, /27, /29, and /29 blocks inside 10.118.24.0/24, with a distinct VLAN and restricted routed interface for each. The 21 staff endpoints are 19 laptops, one ingest workstation, and one label printer. The management group contains a switch interface, AP interface, and administration workstation. The gateway is counted separately in each total.
Apply the address plan and the separation together
On supported managed equipment, configure the intended access-port VLANs, permitted VLANs on necessary uplinks, SSID mappings, and one appropriate gateway interface per routed subnet. Configure DHCP scopes or manual assignments with matching masks and gateway options; protect fixed addresses against conflicting automatic allocation. The guest example supplies DHCP and an approved DNS forwarder through its own gateway. Management interfaces use their own zone and approved administration path. A diagram or an unused DHCP scope is not evidence that the forwarding and access configuration is active.
Verify addressing, useful access, and forbidden paths separately
For each zone, compare the active interface address, prefix, gateway, resolver, and attachment with the plan. Check appropriate local reachability where there is a second endpoint, then test the actual required application with its normal account. A successful ping is evidence about ICMP reachability between those devices at that moment; it does not prove every address, service, or security boundary. For a prohibited path, use an authorized service test and relevant policy logs or counters. A timeout alone might mean a failed service or route rather than correct filtering. Test wired and wireless entry paths and repeat after reconnecting.
Review an AI proposal as a set of claims to verify
Supply an authorized, redacted device census, task list, parent block, growth requirement, and equipment constraints. Independently recompute usable capacity, aligned ranges, overlap, gateways, allocation methods, VLAN mappings, and allowed services. A plan can have correct arithmetic but wrong permissions, or good separation labels but overlapping addresses. Compare the draft with real readings and repeat the permitted and prohibited tests after correction. Keep useful requirements and valid settings, replace specific defects, and document who approved the final configuration; do not treat an AI claim of security as test evidence.
Subnet calculations and evidence from the workshop
Borrowed bits, binary masks, and the /27 host boundary
Parent: 10.118.24.0/24
Chosen prefix: /27
Additional bits: 27 - 24 = 3
Equal /27 blocks: 2^3 = 8 inside this /24
Host bits: 32 - 27 = 5
Addresses/block: 2^5 = 32
Ordinary hosts: 32 - 2 = 30
Last mask octet: 11100000 = 224
Staff workstation last octet:
149: 10010101
Mask: 11100000
AND: 10000000 = 128
Network: 10.118.24.128/27
Host bits all 1: 10011111 = 159 (broadcast)
Ordinary hosts: 10.118.24.129 - 10.118.24.158
The 149 address belongs to the staff /27, and the gateway .129 also consumes a usable address. Borrowed bits count the equal-size children within the stated parent. They do not mean this mixed-size workshop plan actually uses all eight possible /27 blocks.
Minimum-size calculation includes the gateway
Zone Endpoints Gateway Required hosts Minimum block
Visitors 70 1 71 /25: 126 usable
Staff 21 1 22 /27: 30 usable
Capture 5 1 6 /29: 6 usable
Management 3 1 4 /29: 6 usable
Capture calculation: 5 + 1 = 6 hosts
Include network and broadcast: 6 + 2 = 8 addresses
8 = 2^3, so 3 host bits and a /29 prefix
One additional appliance: 6 + 1 = 7 hosts
7 + 2 = 9; next power of two is 16 -> /28
The capture subnet fits the specified requirement with no usable spare address. Growth must be planned explicitly. Increasing its .160/29 to .160/28 would occupy .160–.175 and overlap the current management .168/29; that change cannot be made in isolation.
Staff address check and an intentionally limited local test
C:\> ipconfig
Ethernet adapter Ethernet:
IPv4 Address. . . . . . . . . . . : 10.118.24.130
Subnet Mask . . . . . . . . . . . : 255.255.255.224
Default Gateway . . . . . . . . . : 10.118.24.129
C:\> ping -n 2 10.118.24.150
Pinging 10.118.24.150 with 32 bytes of data:
Reply from 10.118.24.150: bytes=32 time<1ms TTL=64
Reply from 10.118.24.150: bytes=32 time<1ms TTL=64
Ping statistics for 10.118.24.150:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
The staff laptop .130 and label printer .150 are inside .129–.158, and the mask and gateway match the plan. This local ICMP result does not test inter-zone filtering or print permissions. Finish with an authorized print job, actual attachment checks, and the separate boundary tests.
A bounded acceptance record: successes and denials
Fictional authorized acceptance-test excerpt
Staff .130 -> printer .150, normal-account label job: PASS
Capture .162 -> staff .149, configured HTTPS upload: PASS
Capture .163 -> staff .149 TCP 443, new connection: DENIED
Matching enforcement record: capture-default-deny
Visitor .25 -> approved public HTTPS service: PASS
Visitor .25 -> staff .149 TCP 443, new connection: DENIED
Matching enforcement record: visitor-internal-deny
Visitor .25 -> guest gateway .1 TCP 443 administration: DENIED
Matching local-service restriction: admin-source-deny
Admin .172 -> switch .170, authorized management session: PASS
DHCP and approved DNS checked separately in every zone.
No visitor peer-isolation result is included in this excerpt.
These are illustrative observations, not commands or a complete vendor configuration. The capture uploader is a single-device exception; neighboring .163 does not inherit it. Staff printing and management within their own zones require destination or local controls. Logs strengthen the denial evidence; one timeout alone would not identify the enforcement cause. This record still does not establish guest-to-guest isolation.
Build and verify a four-zone workshop plan
1List tasks, assets, and impacts
Separate visitor internet access, staff conservation work, capture uploads, and equipment administration. Identify what unauthorized reading, changes, or disruption would affect in each group.
2Count interfaces and explicit growth
Count 70 visitors, 21 staff endpoints, five capture appliances, and three management interfaces, then add the gateway in each zone. This exercise requires no additional capture growth; its exact-fit /29 is an explicit capacity constraint.
3Choose capacity and aligned ranges
Find the minimum prefix for 71, 22, 6, and 4 usable addresses. Allocate largest first, expand every range, and confirm all four blocks are disjoint and contained in 10.118.24.0/24.
4Map devices to real separation
Assign VLANs 10, 20, 30, and 40 to visitors, staff, capture, and management. Match supported port and SSID mappings, uplinks, and routed interfaces to the documented groups.
5Configure address assignment and admission
Apply each subnet mask and gateway. Coordinate DHCP pools, exclusions or reservations, fixed infrastructure addresses, unused-port shutdown, and any supported admission checks as separate controls.
6Define limited communication
Allow the specified capture uploader to the ingest service, legitimate local staff printing, approved management actions, and necessary DHCP/DNS/public use. Deny unsolicited cross-zone communication beyond the approved requirements.
7Collect both success and denial evidence
Verify real interface settings in every zone, local service access, the permitted upload, guest public access, restricted internal paths, and management protection. Correlate prohibited service tests with the configured enforcement point.
8Record capacity and retest changes
Save the accepted plan, relevant evidence, authorized exceptions, owner, and recovery procedure. Flag the fully used capture /29; adding an appliance requires address-plan review, not assigning the broadcast address or enlarging the prefix blindly.
| Finding and likely impact | Relevant controls | Limit or evidence to check |
|---|---|---|
| Visitors can contact an internal ingest application; confidential project data may be exposed. | Map visitors to an isolated guest zone; restrict routed access; require proper application permissions. | Stronger Wi-Fi encryption alone does not limit a legitimate guest's internal reach. Test the application path. |
| The staff WLAN accepts a weak shared credential or legacy WEP; unauthorized wireless access is possible. | Use the intended SSID, strong credentials, and supported WPA3 or appropriate WPA2-AES; remove insecure compatibility modes. | The SSID is an identifier, not a secret or access boundary. Modern Wi-Fi still needs correct zone mapping. |
| An unapproved access point is connected to an active wall jack; it may bypass the intended admission path. | Investigate the attachment and owner; disable unused ports and apply supported port admission and inventory controls. | MAC allowlists can be spoofed. A reservation or DHCP refusal is not a complete access barrier. |
| A compromised capture device can initiate connections to every staff host; it may spread or access other systems. | Deny unsolicited cross-zone access and allow only the required source, destination, and service. | Keep the approved uploader working. Correlate denied neighboring-device tests with policy evidence. |
| Zone / VLAN / required hosts | Prefix and mask | Network / ordinary host range / broadcast | Gateway / remaining usable capacity |
|---|---|---|---|
| Visitors / VLAN 10 / 71 | 10.118.24.0/25 · 255.255.255.128 | Network .0 · hosts .1–.126 · broadcast .127 | Gateway .1 · 55 spare after 70 visitor clients and gateway |
| Staff / VLAN 20 / 22 | 10.118.24.128/27 · 255.255.255.224 | Network .128 · hosts .129–.158 · broadcast .159 | Gateway .129 · 8 spare after 21 endpoints and gateway |
| Capture / VLAN 30 / 6 | 10.118.24.160/29 · 255.255.255.248 | Network .160 · hosts .161–.166 · broadcast .167 | Gateway .161 · 0 spare after five appliances and gateway |
| Management / VLAN 40 / 4 | 10.118.24.168/29 · 255.255.255.248 | Network .168 · hosts .169–.174 · broadcast .175 | Gateway .169 · 2 spare after three management interfaces and gateway |
| Prefix / dotted mask | Host bits | Total / usable addresses | Equal-size blocks within one /24 |
|---|---|---|---|
| /24 · 255.255.255.0 | 8 | 256 / 254 | 1 |
| /25 · 255.255.255.128 | 7 | 128 / 126 | 2 |
| /26 · 255.255.255.192 | 6 | 64 / 62 | 4 |
| /27 · 255.255.255.224 | 5 | 32 / 30 | 8 |
| /28 · 255.255.255.240 | 4 | 16 / 14 | 16 |
| /29 · 255.255.255.248 | 3 | 8 / 6 | 32 |
| /30 · 255.255.255.252 | 2 | 4 / 2 | 64 |
| Source and task | Intended access | Enforcement and verification |
|---|---|---|
| Visitors: basic public browsing | Approved public HTTPS plus DHCP and the guest gateway's configured DNS forwarder; no internal application or management access. | Restricted guest mapping, routed policy, and gateway local-service restrictions. Test public success, internal service denial, and gateway administration denial. |
| Capture uploader .162 | Initiate the configured HTTPS ingest service at staff workstation .149 on TCP 443. | Narrow routed exception plus destination account/service permissions. Test upload as its normal account and denial from appliance .163. |
| Other capture appliances .163–.166 | No new staff connections in this exercise; only their separately approved infrastructure needs. | Capture-zone default deny. Do not widen the .162 exception to the whole subnet. |
| Staff laptop .130 | Use label printer .150 with the approved account and print permissions. | Same-zone traffic can bypass the routed firewall. Enforce and test printer/application or host permissions. |
| Management workstation .172 | Use authorized management services on switch .170, AP .171, and gateway .169. | Management-zone admission, destination restrictions, and administrative authentication. Test rejection from guest and staff entry paths. |
| Every zone: addressing and names | Gateway-provided DHCP where used and the explicitly configured DNS service on its local gateway interface. | Configure the required local services and restrict administration independently. A DNS reply does not authorize a management login. |
Four address zones meet at a controlled routing boundary
This logical view groups the workshop's visitors, staff, capture appliances, and management interfaces. Lines identify policy paths through the gateway, not a count of physical cables, APs, or switch ports. VLAN mappings and routed rules must be implemented on supported equipment. Each zone has its own gateway and approved DHCP/DNS settings; only the required cross-zone service is opened.
Legend: solid lines represent logical routed paths subject to policy. They do not grant unrestricted access. Visitors and staff may use supported wired or wireless attachments configured for their intended zone. All addresses, requirements, and records are fictional.
| Claim | Useful observation | What this alone does not establish |
|---|---|---|
| The staff interface matches its plan. | Active interface .130/27, gateway .129, intended VLAN/SSID attachment, and approved resolver settings. | That all other staff clients are correct or all required services work. |
| A local staff path works. | The printer .150 answers a permitted local test and accepts an approved normal-account print job. | Guest isolation or cross-zone firewall behavior. |
| A necessary cross-zone task works. | Uploader .162 completes the configured HTTPS upload to .149 using its limited account. | That capture .163 or visitors must also be allowed. |
| A prohibited internal path is restricted. | An authorized visitor-to-ingest service test is denied with a matching policy record while the destination service is known to work. | Every protocol, IPv6 path, guest peer relationship, or future configuration state. |
| Spare parent address space is available. | The accepted allocations use .0–.175; .176–.191 is a free /28 and .192–.255 is a free /26. | That .176–.255 is one aligned 80-address subnet or contains 80 ordinary usable host addresses. |
Segmentation security and subnetting vocabulary
- Security zone
- A group of systems with shared access requirements and defined controls on communication with other groups.
- Confidentiality, integrity, availability
- Keeping data restricted to authorized access, preserving correct information, and maintaining usable services.
- Least privilege
- Granting only the access required for an approved task, at both network and application levels.
- Lateral movement
- Expansion from one compromised system into other reachable systems; poorly controlled boundaries can enable it.
- Device admission
- The checks and enforcement used to decide whether a device may attach or receive a particular level of network access.
- MAC allowlist
- A configured list of accepted interface identifiers; the identifiers can be copied or changed, so this is not strong identity proof.
- DHCP reservation
- A mapping that gives an identified DHCP client a chosen address; ordinary reservations do not automatically reject all other clients.
- Deny by default
- Restricting communication unless an explicit approved rule permits the relevant source, destination, and service.
- VLAN
- A supported logical Layer 2 separation that requires correct port and uplink membership; inter-VLAN security also needs routed policy.
- IPv4 subnet prefix
- The number of leading address bits defining a connected IPv4 network; the remaining bits identify positions inside that block.
- Host bits
- The bits left after the subnet prefix; h host bits give 2^h total addresses.
- Network and broadcast addresses
- The first and last addresses of an ordinary LAN block; these are excluded from its conventional unicast host assignments.
- Aligned block
- An address block starting at a valid boundary for its prefix, rather than at an arbitrary unused-looking address.
- Overlapping subnets
- Allocations whose full address ranges intersect, even if their labels or masks look different.
- Variable-length subnetting
- Using different prefix lengths within a parent allocation to fit groups with different interface requirements.
- Positive and negative tests
- Checks that required access succeeds and that prohibited access is restricted, with evidence tied to the intended enforcement point.
Worked review: an attractive draft fails capacity, overlap, and privilege checks
A conservation workshop asks an AI tool to divide 10.118.24.0/24 for 70 visitor clients, 21 staff endpoints, five capture appliances, and three management interfaces. Each zone also needs one gateway. Only capture appliance .162 in the accepted plan needs to initiate HTTPS uploads to the staff ingest workstation .149.
- The draft gives visitors 10.118.24.0/26 and claims that 71 required host addresses fit. A /26 has only 62 conventional usable addresses.
- It gives staff 10.118.24.64/27 and capture 10.118.24.80/28. Staff spans .64–.95; capture spans .80–.95, so the two proposed zones overlap.
- It gives management .96/29, which fits four required host addresses on its own, but that valid line does not rescue the incorrect visitor and capture allocations.
- The draft also permits the entire capture zone to reach every staff service and proposes using DHCP reservations as the sole barrier to unknown devices.
- After correction, the accepted /25, /27, /29, /29 allocation above fits the parent. The specific uploader works, neighboring capture .163 is denied, visitors retain approved public use, and management is restricted to its approved source.
Reasoning: Capacity, range separation, admission, and permissions are separate claims. Recompute each independently. The original visitor block is too small, the staff/capture blocks overlap, and the access grant exceeds the upload task. Reservations support predictable allocation but do not establish admission by themselves. The accepted design keeps useful role requirements, corrects only the invalid design choices, and tests actual behavior. Its capture /29 is exact-fit; future growth requires coordinated changes rather than a silent mask expansion.
- Count the gateway in each requirement and choose the smallest fitting conventional LAN block for the stated census.
- Allocate aligned disjoint ranges inside the parent, record host/broadcast endpoints and gateways, and identify free blocks explicitly.
- Implement the intended port, VLAN, SSID, addressing, admission, and management settings on the actual supported equipment.
- Restrict new cross-zone communication to the approved uploader/service exception and required infrastructure; keep local application permissions in place.
- Record required successes and correlated denials from representative attachments, then review both configuration and tests whenever a device or requirement changes.
Quick checks
Choose a question, form your answer, then open it to compare your reasoning.
1. A visitor can fill the staff printer queue without reading private files. Which security goal is directly affected?
Availability: staff cannot use the shared printing resource when needed. Confidentiality and integrity may also require investigation, but unauthorized disruption is already supported by the stated evidence.
2. Guests have modern encrypted Wi-Fi but can reach an internal ingest login page. What does changing to a longer guest password fail to fix?
It does not establish the missing guest-to-internal access restriction. Guests are intended to join. Verify their actual zone mapping and restrict the internal path while preserving appropriate application authentication.
3. Does an unfamiliar MAC address prove that a connected device is malicious?
No. Verify the current interface identifier, private-address behavior, attachment, inventory record, and owner. Unknown inventory status calls for investigation; it is not evidence of a specific compromise.
4. Can a rogue wired device be excluded simply by changing the Wi-Fi passphrase?
No. Its entry path is a cable. Investigate the port and apply appropriate physical, switch-port, device-admission, and downstream access controls.
5. What is the limitation of identifying an approved device only by its MAC?
MAC identifiers may be copied, changed, or randomized. An allowlist can reduce casual unwanted attachments in an appropriate design, but it is not strong identity proof or a substitute for other controls.
6. A printer has a DHCP reservation. Must an unlisted laptop therefore be refused a lease?
No. A reservation normally chooses an address for that printer while other clients can still receive ordinary leases. Known-client-only filtering, where supported, is a separate policy to configure and test.
7. Why is refusing an unknown device a DHCP lease not a complete network barrier?
The device may try a manual address or another supported path. Enforce admission and access at appropriate switch, wireless, routed, host, and application boundaries rather than relying on lease refusal alone.
8. Are different DHCP pools on one unrestricted VLAN equivalent to secure segmentation?
No. Pools organize address assignment. Actual forwarding separation and the necessary access policy must be configured and verified; different written ranges alone do not stop communication.
9. Does connecting each group to a separate switch guarantee physical isolation?
No. Inspect all links and bridging or routing behavior. An unrestricted connection between the switches can restore the unwanted path.
10. Only appliance .162 must upload to workstation .149 over TCP 443. What is the minimal cross-zone exception?
Allow that source to that destination and configured service, with appropriate account permissions at the destination. Do not grant the whole capture subnet access to all staff services. Handle required infrastructure and stateful replies separately.
11. Does denying routed guest access to internal zones automatically isolate one guest from another?
No. Guest-to-guest behavior may occur locally and requires its own supported isolation controls and tests if that is a requirement.
12. Why might an inter-VLAN firewall rule not protect the staff printer from another staff laptop?
If both are in the same VLAN and subnet, their local traffic can avoid the router. Printer/application permissions, host controls, or finer separation must enforce the relevant restriction.
13. How many equal /27 subnets fit in a /24, and how many ordinary usable hosts does each have?
Three additional prefix bits create 2^3 = 8 blocks. Five host bits give 32 total addresses per block, with 30 conventional usable hosts after excluding network and broadcast.
14. What are the network, host range, and broadcast for 10.118.24.128/27?
Network 10.118.24.128; ordinary hosts 10.118.24.129–10.118.24.158; broadcast 10.118.24.159. Its mask is 255.255.255.224.
15. Do the gateway, network address, and broadcast address consume three additional reserved positions?
No. The network and broadcast are the two excluded endpoints in this ordinary LAN calculation. The gateway consumes one of the remaining usable host addresses and must be included in the host requirement.
16. Choose the smallest ordinary LAN subnet for 70 visitor clients plus one gateway.
71 usable addresses are required. /26 provides only 62, so /25 is the smallest fit: 128 total addresses and 126 conventional usable hosts.
17. Five capture appliances and one gateway fit a /29. Can a sixth appliance use its broadcast address?
No. The /29 has six usable hosts, all already required. Adding another appliance raises the requirement to seven, so at least a /28 is needed with a coordinated non-overlapping allocation.
18. Why does changing capture .160/29 to .160/28 conflict with this plan?
The enlarged block spans .160–.175, including management .168/29. A capacity change requires reviewing neighboring allocations, gateways, assignment, and policies, not just editing one mask.
19. Why can 10.118.24.64/27 and 10.118.24.80/28 not be separate non-overlapping allocations?
The /27 spans .64–.95. The /28 spans .80–.95 and is wholly inside it. Different labels and masks do not prevent overlap.
20. Is 10.118.24.180/28 a subnet starting at .180?
No. /28 blocks advance by 16 within this /24. Address .180 belongs to network .176/28, whose broadcast is .191 and whose ordinary hosts are .177–.190.
21. How should the unallocated .176–.255 space be described?
It contains 80 unallocated addresses, representable here as .176/28 and .192/26. It is not one aligned 80-address subnet, and total addresses are different from usable host counts within allocated subnets.
22. Staff .130 successfully pings printer .150. What remains to verify?
Verify intended attachment, required application behavior and permissions, other zones, approved cross-zone access, and prohibited paths. The local ICMP reply alone does not prove segmentation or every setting.
23. A visitor-to-ingest service test times out. What additional evidence helps show that policy caused the restriction?
Confirm that the destination service and approved path work, check relevant routing and attachment, and correlate the authorized prohibited-path test with the intended firewall or local access-control record. A timeout alone has several possible causes.
24. An AI plan has disjoint ranges and enough addresses. Is it ready to configure?
Also check alignment, parent containment, interface/gateway counts, growth requirements, allocation conflicts, supported VLAN/SSID mappings, admission limits, exact permissions, management protection, and planned success/denial tests. Correct arithmetic alone does not establish a usable or secure design.
Worked example
Allocate a conventional IPv4 LAN subnet for 26 endpoints and one gateway. Show the address range.
Evidence
Candidate: 10.4.8.0/27
Mask: 255.255.255.224
Addresses in block: 32A /27 has 5 host bits, giving 32 addresses and 30 conventional usable host addresses. The network is 10.4.8.0, usable hosts are .1 through .30, and broadcast is .31. Twenty-seven required host addresses fit, with three spare usable addresses.
Exercises
Exercise 1
For 10.4.8.64/26, identify the network address, broadcast address, and conventional usable host range.
Show solution
The block contains 64 addresses: network 10.4.8.64, broadcast 10.4.8.127, and usable hosts 10.4.8.65 through 10.4.8.126, for 62 usable addresses.
Exercise 2
Choose the smallest conventional LAN subnet that can hold 50 endpoints plus one gateway: /27, /26, or /25. Explain.
Show solution
/26 is the smallest listed choice that works: it provides 62 usable host addresses. /27 provides only 30; /25 works but is larger than necessary for the stated 51 hosts.
