§ — — Network Administration
LAN security protects endpoints, switches, management access, and Layer 2 control processes. Many attacks do not require routing; they can happen inside the local network. Understanding these threats is the first step toward configuring defenses.
By the end of this module, you should be able to:
Endpoints include laptops, desktops, phones, servers, printers, and IoT devices. They are frequent targets because they run user applications and often store or access sensitive data.
Endpoint protection commonly includes:
Different devices protect different parts of a network:
AAA is a framework for controlling access.
Local passwords can work in small environments, but centralized AAA is easier to manage in larger networks.
802.1X provides port-based network access control. Before a device is allowed to use the network, it must authenticate. The typical roles are:
Layer 2 attacks target switching behavior and local network protocols. Because these attacks occur inside a LAN, perimeter firewalls may not see or stop them.
Common switch attack categories include:
A switch has limited space for learned MAC addresses. In a MAC flooding attack, an attacker sends many frames with fake source MAC addresses. If the table fills, the switch may flood unknown unicast traffic more widely, allowing the attacker to capture traffic that would normally be forwarded only to specific ports.
Mitigation includes port security, limiting learned MAC addresses per port, and shutting down unused ports.
VLAN hopping attempts to send traffic into a VLAN where the attacker should not have access.
Two common ideas are:
Mitigation includes forcing user ports to access mode, disabling DTP, using an unused native VLAN, and avoiding user traffic on the native VLAN.
DHCP-related attacks include:
Mitigation includes DHCP snooping, trusted ports toward legitimate DHCP servers, and rate limits on untrusted access ports.
ARP resolves IPv4 addresses to MAC addresses in a LAN. Attackers can send fake ARP messages to redirect traffic through their device. This is often called ARP spoofing or ARP poisoning.
Mitigation includes Dynamic ARP Inspection (DAI), DHCP snooping bindings, and static ARP entries for critical systems when appropriate.
Spoofing means pretending to use another address or identity. In LANs, attackers may spoof MAC addresses, IP addresses, or both. Spoofing can bypass simple filters or impersonate trusted devices.
Mitigation includes port security, IP Source Guard, DHCP snooping, and strong authentication.
An attacker may try to influence STP by sending superior BPDUs, potentially becoming the root bridge or changing forwarding paths.
Mitigation includes BPDU Guard on edge ports and deliberate root bridge placement.
Discovery protocols can reveal device names, ports, IP addresses, platforms, and software versions. This is useful for administrators but also helpful to attackers.
Disable discovery protocols on ports where they are not needed, especially user-facing or untrusted ports.
ProReviewer — locked
Drills, code labs, and full solutions.
ProReviewer — locked
Drills, code labs, and full solutions.
LAN attacks often target switching behavior, address assignment, ARP, and local discovery protocols. Good LAN security combines endpoint protection, secure management, AAA, port security, DHCP snooping, DAI, STP protections, and careful VLAN/trunk design.
Done with this module? Track it — your progress shows on the subject list.
Up next
Switch Security Configuration→←Previous: DHCPv4