How it works
Once a network is divided, something has to carry traffic between the parts, and something has to decide which traffic is allowed to make that crossing.
Read rule tables in order and against the specific traffic in the scenario. What matters is which rule matches first, not which rule sounds strictest.
Common error
A rule that is never reached has no effect. Order is part of the meaning of a rule set.
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.5: Port security, firewall selection, ordered rules, and verification
Follow a connection from a physical switch port to an internal service and identify which control makes each decision. This topic develops switch-port admission, firewall selection, first-match rule tracing, and evidence-based verification through a fictional community radio studio. The examples distinguish an approved device from an approved connection, a successful TCP test from a working application, and a reply in an existing session from a new connection in the reverse direction.
Read topic 3.5 notes, examples, and quick checks
3.5.A: Decide which source MACs an access port may accept
A supported switch can restrict a physical access port to a documented set of source MAC addresses. This controls frames entering that port, not the user's account or permission to use every reachable service. A studio editing workstation may have one approved Ethernet interface; replacing its adapter changes the identifier that the port sees even if the computer name and IP stay the same. Verify the asset, replacement, and current interface before updating the approved record. A MAC may be copied or changed, so an allowlist is one layer rather than strong device authentication.
Match the allowed count and learning method to the attachment
Limit the number of secure source addresses to the legitimate attachment pattern, and distinguish an explicit approved address from a dynamically learned or sticky entry. A first-seen address is not automatically a verified asset. One workstation may justify a one-address access-port limit; a phone with a downstream computer or a supported AP uplink can legitimately expose several sources. Applying one-address limits blindly to shared links can disconnect approved users. Review learned entries, persistence, aging, and authorized equipment changes for the actual switch feature.
Explain MAC flooding without assuming every switch behaves identically
A switch learns source MAC-to-port associations in a finite forwarding table, often called the CAM table. A large stream of invented source identifiers can exhaust learning capacity and contribute to congestion or unwanted flooding of traffic whose destination is unknown. Flooded frames are normally limited to eligible ports in the relevant VLAN; a full table does not mean every known unicast frame on every VLAN is automatically broadcast. Some devices limit or drop traffic instead. Port security and source-address limits on appropriate edge ports reduce this exposure. Capturing an encrypted application exchange does not by itself reveal its plaintext.
Understand the selected violation action and recovery
Port-security behavior depends on the device and mode. A drop-only mode may discard unapproved frames quietly; a restrict-and-report mode can also count or report violations; a shutdown mode can disable the attachment and interrupt the approved device as well. A link light alone does not establish admission. Inspect the configured limit, approved identifiers, violation counter, relevant logs, and actual port state. For an approved adapter replacement, update the record through the authorized process and recover the port only if its state requires it. Do not globally remove the control to make one workstation work.
3.5.B: Recognize what a stateless packet filter knows
A stateless filter evaluates packet fields such as addresses, protocol, ports, and interface direction without maintaining the connection history needed to recognize an established session. The necessary forward and return traffic must be accounted for in the design. It can provide simple filtering on supported equipment when that meets the requirements. Logging is a separate implementation capability: a stateless ACL can log matching packets, so the presence of a log alone does not prove that a firewall tracks connections.
Use connection state to distinguish replies from new requests
A stateful firewall maintains information about approved exchanges and can recognize return packets belonging to them. If a staff client starts an allowed TCP connection to an asset server, the expected response to that connection can be admitted without granting the server permission to start arbitrary fresh connections back to staff. State handling still follows the product's policy, timeouts, and protocol support. An established entry is not proof that every packet or application action is safe; routing changes or asymmetric paths may also interfere with stateful inspection.
Identify when application awareness and intrusion prevention are required
A next-generation firewall can add capabilities such as application-aware rules and intrusion prevention to lower-layer and stateful filtering. These features help when the requirement is to distinguish applications sharing a port or inspect for supported attack patterns. They require suitable configuration, updates, and capacity. Port 443 alone does not establish that traffic is an approved application or uses valid encryption. Encrypted payloads are not automatically readable by an inspection engine; visibility depends on supported, authorized inspection and the actual traffic. No feature label guarantees that every threat is detected.
Choose capabilities from the task, risk, and operating constraints
Identify whether the control protects an endpoint, a sensitive service zone, or an internet boundary. Then identify the required fields, connection awareness, application inspection, visibility, throughput, availability, and management effort. An internal boundary requiring tracked replies and connection logs may need stateful filtering without requiring every advanced inspection feature. An internet-facing service with application-policy and intrusion-prevention requirements calls for those capabilities explicitly. Compare performance with the required features enabled, and plan how administrators retain access during a change.
Separate perimeter placement from internal enforcement
A perimeter firewall controls paths between outside networks and the organization. An internal firewall restricts traffic among internal zones or toward sensitive services, reducing opportunities for lateral movement. These describe placement, while stateless, stateful, and application-aware describe inspection capabilities; they are not competing categories. A perimeter device cannot control traffic that never traverses it. Follow the real forwarding path before deciding which rule should have stopped a connection.
Place public services in a screened subnet with restricted internal access
A screened subnet, or DMZ, provides a distinct place for services intentionally reachable from outside. In the studio sketch, a public program site is published through the perimeter policy while an internal firewall still restricts its path to private assets. Being public-facing does not justify broad access to internal storage or administration. A DMZ can be implemented with suitable interfaces and zones on supported equipment or with multiple firewall devices; it does not require one universal physical arrangement. Publishing or address translation is configured separately where needed.
Keep endpoint protection on paths outside the office boundary
A host-based firewall runs on an individual device and can restrict its own traffic, including local-subnet traffic that bypasses the inter-zone gateway. It is useful for a producer's laptop that moves among the studio, home, and other networks. Keep the relevant network profile and application rules appropriate to the device's role. Both a network firewall and a host firewall may affect the same connection; permission at one does not override a denial at the other. Application authentication and account permissions remain separate requirements.
3.5.C: Read every criterion in a traffic rule
Record the source, destination, IP version, transport protocol, relevant source or destination port, direction or zone path, and action. A rule for TCP destination port 443 is not a rule for source port 443, UDP 443, or every application claiming to be a website. The client usually uses a temporary source port and connects to the server's service port. A physical switch port such as P6 is a different concept from logical TCP port 22. Where address translation occurs, evaluate the addresses visible at the stage to which the rule applies.
Define inbound, outbound, local, and forwarded traffic at the named point
Inbound and outbound are relative to an interface, zone boundary, or host. A client request can enter one router interface and leave another; a host's inbound rule concerns traffic addressed to that host. Write down the enforcement point rather than assuming inbound means all traffic from the internet. The ordered example below covers selected NEW IPv4 connections routed between the listed internal zones and DMZ. Client-to-internet egress, public-site publishing, DHCP, the firewall's own services, IPv6, and established-session handling have their own policies and are outside that list.
Trace a first-match list without jumping to the most specific rule
For the simplified ACL model used here, begin at the first rule and compare every required field. The first matching rule determines the action; a narrower rule farther down does not override it automatically. A broad guest-to-internal deny placed above a necessary guest-to-resolver exception hides that exception. Place the deliberate exception before the broader rule it must precede. Do not assume that permit always wins, deny always wins, or every product uses the same ordering across all of its policy groups.
Keep the fallback action and connection-state behavior explicit
The final rule in this selected NEW-flow example denies any remaining protocol in its scope. A rule that denies only TCP does not also deny UDP or ICMP. If a product supplies an implicit fallback, confirm its scope rather than guessing. Expected replies to an allowed session are processed by the separately defined stateful policy; a matching state entry does not create an unrestricted reverse-direction permit. A new source, destination, protocol, or connection must be evaluated according to the applicable rules.
Preserve the required protocol and service combinations
Common examples include HTTPS on TCP 443, DNS on UDP and TCP 53, and SSH or SFTP on TCP 22. SFTP uses SSH transport, so a port-only rule for 22 does not by itself distinguish file transfer from an interactive shell. Ordinary DNS on port 53 is not encrypted merely because it is permitted by the firewall. HTTPS using HTTP/3 can use UDP 443; a TCP-only rule does not implicitly cover it. Match the actual configured service and requirements, not a port number remembered without its protocol.
Reduce exposure without breaking a documented requirement
Disable unused listeners where appropriate and restrict their network paths. Prefer suitable encrypted replacements for plain HTTP, Telnet, and unprotected FTP when the task permits: HTTPS, SSH, and SFTP are common examples. Plain FTP uses a control connection and separate data connections; opening TCP 21 alone does not describe all file-transfer behavior. HTTP may have a deliberate redirect or other bounded role, so verify the requirement before removing it. Neither a closed port nor a conventional secure port number proves the entire host is secure.
Use tests that answer the actual access question
Compare current interface settings and routes with the plan, then test the required service from an approved source and a prohibited source. A ping concerns ICMP; it does not test TCP 22 or 443. A successful TCP connection test demonstrates a transport connection at that moment, not a successful TLS handshake, user login, upload, or file permission. Complete the real application task with its normal account. Test names through the approved resolver as well as numeric addresses when name resolution is part of the task.
Correlate a denial with the relevant enforcement record
A failed connection can reflect a firewall, a host policy, a stopped listener, routing, or address configuration. Correlate a controlled test with the rule identifier, addresses, protocol, destination port, connection state, and time in the intended enforcement record. Check a known-working approved path to the same service. Logging may be disabled, limited, or sampled, so absence of a log is not proof that traffic passed. Verify that DNS, printing, asset access, public use, and the authorized management path still work where required.
Audit an AI rule draft and change it with a recovery path
Provide an authorized, redacted zone plan, precise service requirements, rule semantics, and existing dependencies. Independently trace allowed and prohibited requests, check broad rules and hidden exceptions, and verify source/destination roles. Keep valid settings and correct the specific defects. Save the previous policy, arrange authorized recovery access, apply changes at the appropriate point, and retest application behavior and recorded denials. An AI explanation or a syntactically accepted configuration is not evidence that the live policy meets the task.
Switch admission, an ordered rule list, and verification evidence
A fictional switch reading explains an approved adapter replacement
Authorized maintenance check — illustrative switch summary
Access port: P6
Assigned role: Editing workstation
Maximum secure sources: 1
Explicit approved MAC: 02:14:20:12:00:44
Observed replacement MAC: 02:14:20:12:00:45
Selected violation behavior: Reject unapproved source; report/count
Link state: Up
Violation count: 17
Forwarding decision: Replacement source rejected
This is a vendor-neutral reading, not a command to paste into a switch. The port still has the old approved identifier, so the new interface is rejected before a routed firewall can assess its requests. Verify the authorized replacement, retire the obsolete identifier, update the approved record, and retest. In this reporting mode the link remains up; shutdown modes behave differently.
Studio internal policy: first-match pseudocode for NEW IPv4 flows
Scope: NEW IPv4 flows forwarded between listed internal zones/DMZ
Order is top to bottom; the first complete match decides.
Staff: 10.142.12.0/24 Guests: 10.142.24.0/24
Services: 10.142.36.0/24 Management: 10.142.48.0/24
DMZ: 10.142.60.0/24 Internal aggregate: 10.142.0.0/16
Resolver: 10.142.36.53 Asset app: 10.142.36.20
Admin host: 10.142.48.15
Admin targets: {10.142.36.20, 10.142.36.53}
10 ALLOW Staff -> Resolver UDP/TCP dst 53
20 ALLOW Guests -> Resolver UDP/TCP dst 53
30 ALLOW Staff -> Asset app TCP dst 443
40 ALLOW Admin host -> Admin targets TCP dst 22
50 DENY Guests -> Internal ANY
60 DENY DMZ -> Internal ANY
70 DENY ANY -> ANY ANY
Established replies: separate stateful handling for allowed sessions.
WAN egress, public publishing, DHCP, local services, IPv6: separate.
The guest DNS exception is deliberately above the guest-to-internal deny, and it targets only the approved resolver and service. Rule 40 names one administration source and two authorized destination hosts. These are teaching rules, not vendor syntax or a complete production policy. Client-to-public traffic is evaluated on its separate egress path, not by treating this scoped list as the entire firewall configuration.
Trace fields and connection state before deciding
NEW TCP request:
source 10.142.12.44:52014
destination 10.142.36.20:443
rule 10: destination/port do not match DNS
rule 20: source is not in Guests
rule 30: source, destination, protocol, destination port match
decision: ALLOW by rule 30; stop
Expected response in that allowed session:
source 10.142.36.20:443
destination 10.142.12.44:52014
decision: handled by the applicable established-state policy
After that session ends, a NEW server-initiated connection:
source 10.142.36.20:443
destination 10.142.12.44:52014
decision: no matching new-flow permit; DENY by rule 70
Reusing a familiar source port does not turn an unsolicited new connection into an established reply. The firewall must recognize the actual permitted session state. This trace assumes no address translation along this internal example and does not grant arbitrary server-to-editor access.
A staff TCP test establishes transport access, not application permission
PS C:\> Test-NetConnection -ComputerName 10.142.36.20 -Port 443 -InformationLevel Detailed
ComputerName : 10.142.36.20
RemoteAddress : 10.142.36.20
RemotePort : 443
InterfaceAlias : Ethernet
SourceAddress : 10.142.12.44
TcpTestSucceeded : True
Separate normal-account application check:
Approved asset app certificate/name check: PASS
Editor login and authorized asset retrieval: PASS
Unauthorized administrative action: DENIED
The displayed PowerShell fields are an illustrative excerpt. This command tests TCP, not UDP, and numeric-IP success does not test DNS. The separate application observations are needed to establish secure app access and permissions; they are not results returned by Test-NetConnection. A prohibited test needs its own path and enforcement evidence.
Controlled tests tied to the deciding rule
Fictional internal-firewall acceptance excerpt — NEW flows
TIME SRC DST PROTO DPORT ACTION RULE
14:10:01 10.142.12.44 10.142.36.20 TCP 443 ALLOW 30
14:10:12 10.142.24.31 10.142.36.53 UDP 53 ALLOW 20
14:10:24 10.142.24.31 10.142.36.53 TCP 53 ALLOW 20
14:10:36 10.142.24.31 10.142.36.20 TCP 443 DENY 50
14:10:48 10.142.48.15 10.142.36.20 TCP 22 ALLOW 40
14:11:02 10.142.48.16 10.142.36.20 TCP 22 DENY 70
14:11:14 10.142.60.20 10.142.36.20 TCP 443 DENY 60
14:11:26 10.142.12.44 10.142.36.20 TCP 80 DENY 70
Additional checks: approved DNS answers and normal app tasks work.
Client WAN use, public site publishing, and local printing: retested
against their own policies, outside this selected-flow excerpt.
Each record is an example of evidence to collect during authorized testing, not proof about a real network. DNS success is a deliberate limited guest exception. The neighboring management address .48.16 has no administrative permit. A denial record should be correlated with the intended controlled test and a known-working approved path to the same service.
A repeatable firewall review and verification workflow
1Document the required tasks and paths
Identify studio editors, guests, service hosts, the approved administration workstation, and the public site. Trace which switch and firewall each relevant connection actually crosses.
2Verify device attachment separately
Check authorized interface identifiers, port membership, allowed source counts, and violation behavior. Investigate a changed adapter or unusual learning count before changing the firewall.
3Choose inspection and placement
Decide where perimeter, internal, and host controls are needed, then specify whether packet fields, connection state, application awareness, or intrusion prevention are required at each point.
4Write narrowly scoped requirements
Name source, destination, protocol, service port, direction or zone path, and intended action. Include required DNS and management access and define the fallback for the selected scope.
5Walk the first-match list by hand
Trace representative staff HTTPS, staff and guest DNS, authorized administration, prohibited guest asset access, and DMZ-to-internal initiation. Identify the first matching rule for each.
6Review dependencies and preserve recovery
Check host rules, stateful replies, address translation where used, names, DHCP, IPv6, egress, and public publishing separately. Save the previous state and retain an approved recovery method.
7Apply and test from both sides of the requirement
Complete normal-account application tasks from approved sources, test prohibited service paths from authorized test devices, and correlate outcomes with actual rule records.
8Check other users and retain the evidence
Recheck existing required services and management access, record exact observations and remaining limits, and remove temporary exceptions when their approved purpose ends.
| Capability | What it evaluates | Useful fit and limitation |
|---|---|---|
| Stateless packet filtering | Addresses, protocol, ports, interface/direction and other supported packet fields; no connection-history table. | Fits requirements for explicit packet filtering where state awareness is not needed. Logging may still be available; account for return traffic. |
| Stateful inspection | Supported packet criteria plus tracked exchanges and expected connection state. | Fits session-aware internal or edge rules. Expected replies do not grant new reverse initiation, and state capacity/timeouts still matter. |
| Application-aware / next-generation filtering | Supported application identification, intrusion prevention, and other configured inspection features, often with stateful filtering. | Fits explicit deeper-inspection requirements. Encrypted visibility, feature updates, performance, and operating effort require evaluation. |
| Placement | Radio-studio requirement | What still needs separate protection |
|---|---|---|
| Perimeter firewall | Publish the public program site through an approved service path and control outside traffic and studio egress. | It cannot filter local editor-to-editor traffic that never traverses it. Public publishing and any address translation must be configured correctly. |
| Internal firewall | Restrict staff, guest, management, service-zone, and DMZ communication according to the selected tasks. | VLAN membership, necessary infrastructure, destination permissions, and traffic local to one zone are distinct controls. |
| Screened subnet / DMZ | Place the public program site in a distinct exposure zone with restricted paths toward private assets. | Public HTTPS access does not authorize internal storage access. Keep management and return-path rules deliberate. |
| Host-based firewall | Protect a mobile producer laptop and tailor traffic access on individual service hosts. | The active profile and app rules must be correct. A network permit cannot override a host denial, and firewall access is not account authorization. |
| Service / transport and typical port | Task in a rule | Qualification |
|---|---|---|
| HTTPS / TCP 443 | Permit the configured asset web app or public site from the approved sources. | A port number does not validate TLS or identify the application. HTTP/3 over UDP 443 requires separate consideration. |
| DNS / UDP and TCP 53 | Permit approved clients to the intended resolver. | TCP is needed for supported DNS exchanges too. Port 53 does not itself encrypt queries or authorize an unrestricted resolver. |
| SSH / TCP 22 | Permit authorized administration to specified destinations. | Keep the source and destination narrow and enforce strong application authentication. |
| SFTP / TCP 22 | Transfer files over SSH where explicitly required. | A port-only rule cannot distinguish it from other SSH uses. SFTP is not FTP with a different name. |
| Plain HTTP / TCP 80 | Retire unnecessary plaintext app access or retain only a documented bounded purpose. | An intentional redirect needs its own justification; sensitive work should use the intended protected application path. |
| Telnet / TCP 23 | Disable unnecessary plaintext remote administration and use suitable SSH access instead. | A final default deny can cover it within the stated scope; it need not have its own redundant permit or deny. |
| Unprotected FTP / TCP 21 control plus data channels | Remove an unnecessary unprotected transfer service; consider suitable SFTP for the task. | The control port alone is not the complete FTP data path. Other protected FTP designs are distinct protocols/configurations. |
| Request | First matching rule / action | Reason |
|---|---|---|
| Staff .12.44 → asset .36.20, TCP destination 443 | 30 / ALLOW | The DNS rules do not match, then the specific staff-to-asset service rule does. |
| Guest .24.31 → resolver .36.53, UDP destination 53 | 20 / ALLOW | The intentional DNS exception precedes the broader guest internal deny. |
| Guest .24.31 → resolver .36.53, TCP destination 53 | 20 / ALLOW | The DNS rule explicitly includes TCP as well as UDP. |
| Guest .24.31 → asset .36.20, TCP destination 443 | 50 / DENY | Guest DNS does not permit another internal destination or service. |
| Admin .48.15 → asset .36.20, TCP destination 22 | 40 / ALLOW | Both the specific source and approved administration target match. |
| Other management .48.16 → asset .36.20, TCP destination 22 | 70 / DENY | Membership in the management subnet alone does not match the single-host exception. |
| DMZ .60.20 → asset .36.20, TCP destination 443 | 60 / DENY | The public program host receives no permission to initiate internal asset access. |
| Staff .12.44 → asset .36.20, TCP destination 80 | 70 / DENY | The configured asset exception permits TCP 443, not plain HTTP. |
Perimeter, screened subnet, and internal enforcement points
This logical sketch shows where public publishing and internal-zone rules act. It does not show physical port counts or grant permissions merely by drawing a line. The separate management zone 10.142.48.0/24 is omitted for clarity; its approved workstation .15 reaches only the documented administration targets through the internal policy. Host controls and application permissions add protection at the endpoints.
Legend: solid lines identify logical paths subject to their applicable policies. The public site path is distinct from the internal NEW-flow list. Address translation or publication, infrastructure services, host rules, and IPv6 require their own supported configuration. All addresses and observations are fictional.
| Role or host | Address or subnet | Required access or restriction |
|---|---|---|
| Staff editors | 10.142.12.0/24; example workstation .44 | Approved resolver on UDP/TCP 53 and asset app on TCP 443. No NEW SSH permit in the selected policy. |
| Visitors | 10.142.24.0/24; example guest .31 | Only the approved internal resolver exception; other internal destinations denied. Public use follows a separate egress policy. |
| Asset app and approved resolver | 10.142.36.20 and 10.142.36.53 in service zone 10.142.36.0/24 | Asset login/retrieval and permitted DNS service; administration limited to the specified source and account. |
| Administration workstation | 10.142.48.15 in management zone 10.142.48.0/24 | TCP 22 to the two named administration targets. Neighbor .48.16 is not implicitly approved. |
| Public program site | 10.142.60.20 in DMZ 10.142.60.0/24 | Intended public service publication at the edge; no unsolicited initiation toward private internal assets. |
Firewall and port-security vocabulary
- Physical port and logical port
- A switch attachment such as P6 and a TCP/UDP service identifier such as destination port 443; they are different kinds of port.
- MAC allowlist
- A set of accepted source interface identifiers on a supported attachment; copying or changing an identifier limits its strength as identity evidence.
- Secure-source limit
- The maximum accepted source-address count under a supported port-security policy, sized for the legitimate attachment.
- MAC flooding
- An attempt to overwhelm finite source-address learning with many identifiers, potentially increasing unknown-destination flooding or disrupting service.
- Violation action
- The configured response to a port-security mismatch, such as dropping traffic, reporting it, or disabling an attachment.
- Stateless filtering
- Packet-by-packet evaluation without the connection history used to recognize an established exchange.
- Stateful inspection
- Evaluation that also uses a record of supported active exchanges to identify expected traffic and state transitions.
- Application-aware inspection
- Supported identification or inspection beyond a simple port/address match; encrypted visibility and configured features still constrain it.
- Perimeter and internal firewall
- Enforcement at an external boundary and enforcement among internal zones or sensitive resources, respectively.
- Host-based firewall
- A control on an individual endpoint that can protect local traffic and remain active as the device moves among networks.
- Screened subnet / DMZ
- A distinct zone for deliberately exposed services, with controlled paths toward other networks rather than inherited internal trust.
- Rule criteria
- The complete set of fields a traffic item must match, including applicable source, destination, protocol, port, direction, and scope.
- First match and shadowing
- An ordered decision model where the earliest complete match wins; an earlier broad rule can make a later exception unreachable.
- Deny by default
- Restricting traffic that has no explicit approved permission within the policy's stated scope.
- Ephemeral source port
- A temporary transport-port number used by a client for an exchange, distinct from the server's configured service port.
- Correlated test evidence
- An observed authorized test tied to the relevant time, path, endpoints, protocol, rule decision, and application result.
Worked review: a useful staff app hides two defects in an AI policy
A community radio studio needs staff asset retrieval, approved DNS for staff and visitors, and SSH administration from only 10.142.48.15 to the two service hosts. An AI draft preserves several valid requirements, but the reviewer must test more than whether an editor can open the asset app.
- The draft puts a guest-to-10.142.0.0/16 deny above its guest-to-10.142.36.53 DNS permit. Guest DNS therefore hits the earlier deny despite the later exception.
- Its SSH rule uses the whole staff subnet 10.142.12.0/24 as the source instead of administration workstation 10.142.48.15. Editors can start SSH connections, while the intended administrator reaches the final deny.
- Staff DNS and asset HTTPS are correct, so an editor's successful asset retrieval is compatible with both defects remaining present.
- The DMZ-to-internal restriction is valid and should remain. The proposed fix of allowing all guest-to-internal traffic would restore DNS by also exposing unrelated internal services.
- After correction, guest DNS reaches rule 20, guest asset attempts reach deny 50, editor SSH reaches deny 70, and the approved administrator reaches permit 40. Normal-account app tasks and separate public-use dependencies are retested.
Reasoning: Two independent problems require two precise corrections. A first-match order error hides a necessary guest exception, and a source-role error grants SSH to the wrong people. Moving only the guest exception does not repair administration. Broadly permitting guests would undo the intended boundary. Preserve the valid staff app and DMZ rules, place the narrow DNS exception before the guest internal deny, and make the administration source exact. Then verify allowed work, prohibited work, and dependencies using real application behavior and matching decision records.
- Trace representative NEW flows against the draft, noting the first matching rule rather than choosing a preferred rule farther down.
- Correct the guest exception order and the administration source while retaining valid destination and service restrictions.
- Confirm the intended enforcement path, existing host policies, supported state handling, authorized recovery access, and saved previous configuration.
- Apply the supported rules and test DNS on both UDP and TCP, staff asset retrieval, authorized SSH, guest internal denial, editor SSH denial, and DMZ restriction.
- Correlate controlled denied tests with relevant records and check public use, publishing, local printing, and management dependencies under their own policies.
Quick checks
Choose a question, form your answer, then open it to compare your reasoning.
1. An approved editor workstation loses access after its network adapter is replaced. Why might the switch be the cause?
The new interface can have a different MAC from the explicitly approved source on its access port. Verify the authorized replacement and the actual violation/state evidence before updating the approved record. Keeping the same IP does not satisfy a MAC check.
2. Does a one-source limit automatically mean that the one learned source is an approved asset?
No. A count limit and verified identity are different claims. A dynamically learned first source may be unapproved; check the learning method and maintained authorization record.
3. Why should a one-MAC limit not be copied blindly onto every uplink?
A supported uplink, AP, or downstream attachment may legitimately carry several sources. Size the policy for the actual topology and features or approved devices can be disconnected.
4. What is MAC flooding, and why is “every frame on every VLAN becomes a broadcast” too strong?
The attack introduces many source identifiers to stress finite learning capacity. Unknown-destination traffic may flood to eligible ports within its VLAN, while known forwarding entries and device-specific protections may still operate. Behavior is not universally hub-like across every VLAN.
5. Does capturing an encrypted HTTPS exchange automatically reveal its file contents?
No. Capturing traffic and decrypting its protected application data are separate capabilities. Encryption does not remove all exposure, but plaintext contents are not revealed merely by receiving frames.
6. An unapproved source is rejected while a port link stays up. Is that inconsistent?
No. A drop/restrict behavior can reject the source without shutting down the physical attachment. Check the selected mode, counters, reports, approved traffic, and port state.
7. A packet-filter ACL writes a log line. Does that prove stateful inspection?
No. Stateless filters can log rule matches. Stateful inspection requires maintaining and using supported exchange or connection state, not simply producing logs.
8. An asset server replies to a staff-initiated allowed connection. May it therefore start any new connection to staff?
No. Expected replies belong to the approved session state. A new server-initiated connection requires its own applicable permission and is denied by rule 70 in the selected NEW-flow example.
9. Which extra capability is needed to distinguish applications sharing a service port?
Supported application-aware inspection or filtering, with suitable configuration and visibility. A port-only rule cannot establish application identity, and encrypted payload visibility is not automatic.
10. Are “internal firewall” and “stateful firewall” mutually exclusive choices?
No. Internal describes placement; stateful describes inspection. An internal firewall can use stateful inspection and may also support application-aware controls.
11. Why does the public program site belong in a separately controlled DMZ?
It has deliberate public exposure that private assets do not require. Separate policy can permit the intended public service while restricting new DMZ-to-internal access. Publication does not imply internal trust.
12. Which firewall can continue protecting a producer laptop away from the studio?
The appropriately configured host-based firewall on the laptop. Studio network controls only enforce traffic that traverses their own paths.
13. For staff .12.44:52014 connecting to asset .36.20:443, which is the service destination port?
443 is the server destination port in the request. 52014 is the temporary client source port. Replies reverse those endpoints within the permitted session.
14. What should be specified before calling traffic inbound?
Name the relevant host, interface, or zone boundary and whether the policy concerns local or forwarded traffic. Inbound is relative to that enforcement point, not universally equivalent to internet-origin traffic.
15. Why does staff TCP 443 to the asset app reach rule 30 rather than the final deny?
The request misses DNS rules 10 and 20, then matches all fields in rule 30. Under this first-match model evaluation stops there; a later deny does not override that permit.
16. Why must the guest resolver exception precede the guest-to-internal deny?
The approved resolver is inside the internal aggregate. Putting the broad guest deny first would match the DNS request and hide the later exception.
17. Guest .24.31 reaches resolver .36.53 over TCP 53. Does rule 20 permit it?
Yes. Rule 20 explicitly includes TCP and UDP destination 53 to that resolver. It does not permit guest HTTPS to the asset host or DNS to every internal destination.
18. Does a DNS rule for port 53 mean that queries are encrypted?
No. Ordinary DNS on UDP/TCP 53 is not encrypted merely because a rule permits it. Encryption and permitted reachability are separate properties.
19. Does allowing TCP 443 also allow UDP 443 automatically?
No. Protocol is part of the match. HTTP/3 can use UDP 443 and needs its own requirement and applicable policy.
20. Can a port-only TCP 22 rule distinguish SFTP file transfer from an interactive SSH session?
No. Both use SSH transport on the usual TCP 22 service. Appropriate application configuration, account permissions, or supported application-aware controls are needed for a narrower task.
21. What does a final “deny TCP” rule leave unspecified?
It does not itself decide UDP, ICMP, IPv6, or traffic outside its stated path and scope. Check the actual fallback and other applicable policies.
22. Management workstation .48.16 tries SSH to asset .36.20. Why is it denied?
Rule 40 permits only source .48.15, not the entire management subnet. No earlier permit matches .48.16, so rule 70 denies this NEW connection.
23. A staff TCP 443 test succeeds. What must happen before claiming usable secure asset access?
Verify required name resolution, the intended application identity/certificate behavior, normal-account login, and authorized retrieval or upload. A transport connection alone does not prove these or unrelated permissions.
24. A prohibited guest asset test fails but no firewall log appears. What can be concluded?
Only that this test failed under the observed conditions. Check the actual path, listener and approved access, host rules, and logging behavior. Missing or limited logs are not proof of either a pass or the intended firewall denial.
25. Must every use of HTTP be deleted without checking requirements?
No. Retire unnecessary plaintext exposure, but verify deliberate bounded uses such as a redirect and document them. Prefer the intended protected application path for sensitive work; do not break dependencies by guessing.
26. The AI draft lets staff use the asset app. Why is that insufficient validation?
That one path can work while guest DNS is shadowed and SSH is granted to the wrong source. Trace and test every approved and prohibited task, verify matching decision records, and check dependencies after precise corrections.
Worked example
Apply the first matching firewall rule to a student request.
Evidence
1 ALLOW staff -> grade-server TCP 443
2 DENY student -> grade-server ANY
3 ALLOW student -> internet TCP 443
4 DENY any -> any ANYA student connection to the grade server matches rule 2 and is denied. A student HTTPS connection to an unrelated public site can match rule 3. The same destination address, source group, protocol, and port must be considered together.
Exercises
Exercise 1
What happens to a staff HTTPS request to the grade server and a staff SSH request to it?
Show solution
HTTPS matches rule 1 and is allowed. SSH is not covered by rule 1, and the later student rules do not match staff, so it falls to rule 4 and is denied.
Exercise 2
An ALLOW any -> any rule is inserted first. Explain its effect on later deny rules.
Show solution
Under first-match processing, every connection matches the new first rule. Later deny rules become unreachable for that traffic, defeating the intended restrictions.
