Foundations · Unit 16
Layer 2 and wireless
Understand local links, VLANs, network admission, and Wi-Fi protection as different controls with different limits.
Helpful before thisComputers and networksNetwork architectures
After this lesson you can
- distinguish switching and VLAN separation from encryption and access policy
- describe the roles of a supplicant, authenticator, and authentication server
- explain WPA2/WPA3 distinctions and why network admission does not grant every application permission
Lessons in this unit
A fictional café has payment terminals, staff laptops, and guest Wi-Fi. All use the same building, but they should not receive the same access. Local networking combines several decisions: moving frames, separating groups, admitting devices, and protecting traffic.
Switching is not a promise of trust
Layer 2 concerns the local data link. Ethernet switches learn MAC-address locations and forward frames accordingly. A MAC address identifies an interface for delivery; it is not strong proof of who controls a device.
Local protocols have different security properties. For example, basic ARP does not authenticate its address mappings. That does not mean every local exchange is blindly trusted or that one false message reveals all traffic. Switch protections, endpoint behavior, segmentation, and higher-layer encryption affect the result. Name-resolution protocols such as DNS are not themselves layer-2 protocols simply because they can operate locally.
VLANs separate domains; policy controls crossing
A VLAN creates a logical broadcast domain and can span multiple switches. Communication between VLANs requires routing; a router or layer-3 switch does not automatically impose a restrictive firewall policy.
The café can separate guest and payment devices, then explicitly define which traffic may cross. VLANs do not encrypt traffic, prove identity, or guarantee isolation when routing and access rules are permissive. Review both separation and permitted paths.
Admission has several participants
NAC covers policies for admitting devices and limiting access. In a common 802.1X design, the endpoint is the supplicant, the switch or access point is the authenticator, and an authentication server evaluates the exchange. RADIUS commonly carries information between the authenticator and server.
Successful authentication can lead to policy such as a VLAN or access rules; a VLAN assignment is not mandatory in every deployment. Limited access may exist before normal authorization. Guest, remediation, fallback, and non-802.1X device policies require deliberate review. Admission does not replace application login or permissions.
A printer cannot use the chosen admission method. What now?
A limited exception can give it only its required destinations, with an owner and review date. Treating its MAC address as unchangeable identity or granting it unrestricted access would weaken the boundary.
Wireless adds a shared radio environment
Wi-Fi protection is distinct from end-to-end application protection. HTTPS still matters after joining an encrypted wireless network. A shared password also creates shared administrative responsibilities: distribution, removal, and rotation.
WPA2-Personal and WPA3-Personal have different password exchanges. WPA3-Personal uses SAE to resist offline dictionary attacks. It does not remove every risk from weak credentials, implementation flaws, or compatibility modes. Enterprise Wi-Fi commonly uses 802.1X with individual or device credentials; certificate validation and trusted server configuration remain important.
A familiar network name is not proof of a trusted operator. Use maintained device profiles, supported software, appropriate authentication, and segmentation together.
Two tables, two purposes
The café’s laptop wants to print a staff schedule. In a simple Ethernet IPv4 network, its neighbor cache can associate the printer’s IPv4 address with a MAC address. The switch separately learns which port leads to a source MAC address in a VLAN. One table resolves a neighbor; the other chooses a forwarding location. Their entries can expire independently, so a missing entry in one does not establish that the other is empty.
A broadcast stays within its ordinary layer-2 domain unless an explicit additional mechanism handles it. A router connects IP networks, but it does not simply forward every Ethernet broadcast to the entire internet. IPv6 has different neighbor-discovery messages and does not use ARP. These distinctions matter because broad statements about “the local network” can hide which protocol and scope are actually involved.
Give every device an appropriate relationship
The café can issue staff credentials individually, keep guests on a limited policy, and give payment devices only the communication they need. Those decisions also require maintenance: removing former staff access, replacing unsupported devices, and reviewing exceptions. A shared Wi-Fi password can be easy to distribute but harder to revoke for one person without affecting others.
Authentication, encryption, and availability remain distinct. A busy radio channel can slow a properly authenticated, encrypted connection. A fast connection can still reach an application that applies the wrong permissions. Describe the evidence before attaching a broad label such as secure or broken.
PredictThe guest network and staff network have different names but are assigned the same unrestricted access policy. Do the different names establish different permissions?
No. The names help people select a network, but actual admission, segmentation, and traffic rules determine access. A useful design connects the advertised choice to an enforced policy.
Explore switches, ARP, and broadcasts for local delivery, then wireless authentication and encryption for the separate trust relationships.
Terms you met
Check yourself
No timer. No penalties. Read the explanation and try again whenever you like.
This lesson’s questions have changed. Your reading progress is saved; review the updated questions.
-
Does assigning a VLAN encrypt its traffic?
Show the answer
Correct answer: No; VLAN separation and encryption are different mechanisms. A VLAN groups local-link traffic; confidentiality requires an appropriate additional control.
-
What role does the switch or access point play in typical 802.1X admission?
Show the answer
Correct answer: It acts as the authenticator and enforces the resulting access policy. The device participates as supplicant; a central server commonly evaluates authentication via RADIUS.
-
Does successful network admission allow every internal application action?
Show the answer
Correct answer: No; segmentation and application authorization still apply. Joining a network and obtaining permission for a protected operation are separate decisions.
-
Should WPA2-Personal and WPA3-Personal be treated as having identical password exchanges?
Show the answer
Correct answer: No; WPA3-Personal uses SAE to resist offline dictionary attacks. Implementation, selected mode, compatibility, and credential handling still matter.
Try it
- WriteDesign a fictional café network with payment terminals, staff devices, and guests. Decide what each group may reach. Add a plan for a device that cannot use 802.1X and explain how its exception stays limited and reviewable.