N10-009 Cheatsheet
CompTIA Network+
Download free PDFNetworking Concepts
OSI layers and encapsulation
- **Layer 1: Physical** carries bits through electrical, optical or radio signals. Cables, connectors, transceivers and signal strength belong here. A link light proves a physical link, not successful application access.
- **Layer 2: Data Link** carries frames using local MAC addresses. Switches learn source MAC addresses and forward frames within a VLAN; each VLAN is a separate broadcast domain.
- **Layer 3: Network** addresses and routes packets between IP networks. **Layer 4: Transport** uses ports to identify application endpoints; TCP segments and UDP datagrams ride inside IP packets.
- **Layer 5: Session** manages dialogs; **Layer 6: Presentation** represents, encodes and can encrypt data; **Layer 7: Application** supplies network services such as HTTP and DNS. Real protocol implementations can span these conceptual boundaries.
- **Encapsulation** adds transport, IP and link headers to application data. Routers replace link-layer headers for each next hop while forwarding toward the destination IP; NAT can also rewrite addressing.
Traffic delivery and transport
- **Unicast** targets one receiver; **broadcast** reaches a local broadcast domain; **multicast** targets group members; **anycast** routes to one reachable instance sharing an address. IPv6 uses multicast rather than broadcast.
- **TCP** establishes a connection and provides ordered delivery, acknowledgments and retransmission. **UDP** has no built-in connection setup, acknowledgments or recovery; an application can add its own reliability.
- **Neither TCP nor UDP inherently encrypts data.** TLS protects compatible application traffic; IPsec protects IP traffic. A familiar port number alone does not prove encryption is enabled.
- **ICMP** supports reachability tests and error reporting. TTL or IPv6 Hop Limit decreases at each router; expiration helps traceroute reveal hops. ICMP filtering can hide a response without proving the application is down.
- **Bandwidth** is link capacity; **throughput** is achieved delivery. **Latency** is delay, **jitter** is variation in delay, and **packet loss** is missing traffic. Real-time voice and video are sensitive to all three.
IPv4 addressing and subnet sizing
- **RFC1918 private ranges** are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They need translation or a private routed connection to reach other networks; they are not publicly routable internet addresses.
- **127.0.0.0/8** is loopback. **169.254.0.0/16** is IPv4 link-local, often self-assigned after DHCP failure. **224.0.0.0/4** is multicast; specific groups have special purposes and are not interchangeable.
- A **/p prefix** leaves 32 minus p host bits. Conventional IPv4 LAN capacity is **2^h - 2** usable addresses. Include gateways, printers, phones, infrastructure and growth; one employee can require several addresses.
- Useful sizes: **/30 = 2**, **/29 = 6**, **/28 = 14**, **/27 = 30**, **/26 = 62**, **/25 = 126**, **/24 = 254**, **/23 = 510**, **/22 = 1,022** usable addresses. /31 point-to-point links are a special case.
- Mask endings: **/25 .128**, **/26 .192**, **/27 .224**, **/28 .240**, **/29 .248**, **/30 .252**. Larger masks include **/23 255.255.254.0**, **/22 255.255.252.0** and **/21 255.255.248.0**.
- The **network address** has all host bits zero; the **broadcast address** has all host bits one. For 10.0.0.80/28, usable addresses are .81-.94 and broadcast is .95. Neither endpoint is a conventional host address.
- **VLSM** assigns different prefix lengths to different needs; allocate largest subnets first on valid boundaries. Borrowing one host bit doubles equal-size subnet count and halves addresses per subnet. Modern routing uses CIDR rather than classful assumptions.
IPv6, gateways and translation
- **IPv6** uses 128-bit hexadecimal addresses. **::1** is loopback, **fe80::/10** is link-local and **ff00::/8** is multicast. A normal SLAAC LAN uses a /64 prefix.
- **Neighbor Discovery** uses ICMPv6 to discover neighbors and routers. **SLAAC** derives addressing from router advertisements; DHCPv6 can supply addressing or other settings. IPv6 default-router information comes from router advertisements.
- **Dual stack** runs IPv4 and IPv6 together. **NAT64**, often paired with DNS64, enables compatible IPv6-only clients to reach IPv4 services. Supporting IPv6 internally does not automatically provide access to IPv4-only destinations.
- For an off-subnet destination, a host sends the frame to its **default gateway**. The gateway must be a reachable router address on the local subnet; a broadcast address is not a valid gateway.
- **Static NAT** maps addresses, often one-to-one. **PAT/NAPT** lets many internal sessions share public addresses using port mappings. **Port forwarding** maps an external destination address and port to an internal service.
- Overlapping private ranges complicate mergers and VPN routing. **Renumbering** removes overlap; deliberate **NAT** can provide an interim connection. NAT alone neither encrypts traffic nor authorizes access.
Network devices and architecture
- A **switch** forwards local frames; a **router or multilayer switch** connects IP subnets. An **AP** bridges wireless clients to a network. A **firewall** permits or denies traffic according to policy and inspection capabilities.
- A **load balancer** distributes requests across service instances and uses health checks to avoid failed backends. A **proxy** intermediates connections and may filter or cache content; a **CDN** places content near geographically distributed users.
- **Access, distribution and core** are the traditional campus tiers. A **collapsed core** combines distribution and core roles. **Spine-and-leaf** gives leaf switches consistent paths through spines for heavy east-west traffic.
- **East-west traffic** moves among systems within an environment; **north-south traffic** crosses its boundary. **Full mesh** connects every node pair; **hub-and-spoke** centralizes paths and creates a hub dependency.
- **NAS** exposes files, commonly with SMB or NFS. A **SAN** exposes block storage through technologies such as Fibre Channel or iSCSI; **DAS** attaches directly to a host.
Cloud and modern networking
- **IaaS** supplies infrastructure while customers manage guest operating systems and applications. **PaaS** supplies a managed application platform; **SaaS** supplies the application. Responsibilities depend on the service contract.
- **Public cloud** commonly shares provider infrastructure among isolated tenants. **Private cloud** serves one organization; **hybrid cloud** integrates private/on-premises and public resources. **Multitenancy** describes shared infrastructure with tenant separation.
- **Elasticity** adjusts resources with changing demand; **scalability** is the ability to grow capacity. A **VPC/VNet** defines a cloud network boundary; subnets and route tables determine internal paths.
- **Security groups** commonly filter at resource interfaces; cloud **network ACLs** filter at subnet boundaries. Exact statefulness and rule behavior depend on the provider. An internet gateway also requires appropriate addressing, routes and permissions.
- **SDN** separates centralized control from packet forwarding. **NFV** implements functions such as routers and firewalls in software. **VXLAN** overlays Layer 2 segments on an IP underlay and adds encapsulation overhead.
- **SD-WAN** selects WAN paths using application and link policy; **zero-touch provisioning** retrieves configuration after initial connectivity. **IaC** defines repeatable infrastructure; provider dedicated links offer private connectivity but do not inherently encrypt traffic.
Network Implementation
Routing decisions and resilient gateways
- Packet forwarding uses the **longest matching prefix**. When competing routes to the same prefix are learned, **administrative distance** ranks route sources; a protocol's **metric** ranks its candidate paths. Lower distance is generally preferred.
- **Connected routes** describe local interfaces; **static routes** are configured manually; **dynamic routes** follow learned topology. **0.0.0.0/0** and **::/0** are defaults. A floating static route has a higher distance than the preferred route.
- **OSPF** is a link-state IGP using SPF/Dijkstra and areas. OSPFv2 carries IPv4; OSPFv3 supports IPv6 and can support IPv4 address families on capable platforms. Verify neighbor settings and advertised networks.
- **EIGRP** uses DUAL, a **successor** and eligible **feasible successors**; it supports unequal-cost load balancing. It uses IP protocol **88**, not TCP/UDP port 88. **RIP** is a distance-vector protocol based on hop count.
- **BGP** exchanges routes between autonomous systems and selects paths using attributes such as AS_PATH and policy. Common Cisco distances are connected **0**, static **1**, eBGP **20**, internal EIGRP **90**, OSPF **110**, RIP **120** and iBGP **200**.
- **FHRP**, such as **VRRP**, presents a virtual default-gateway IP across redundant devices. It protects the first hop; **LACP** protects and aggregates links. Test failover, upstream routes and interface availability together.
VLANs, trunks and inter-VLAN routing
- An **access port** normally carries one untagged data VLAN. A **trunk** carries multiple VLANs using **802.1Q** tags. Confirm allowed VLAN lists at both ends; defining a VLAN does not automatically carry it across every uplink.
- The **native VLAN** handles untagged traffic on typical 802.1Q trunks. Match native VLAN configuration at both ends and avoid using a user VLAN for that role. Restrict trunks to required VLANs.
- A **voice VLAN** can carry tagged phone traffic while a connected computer uses the untagged data VLAN on the same physical port. Check phone discovery, voice/data assignments and upstream trunk permissions.
- An **SVI** is a logical interface associated with a VLAN. A multilayer switch can route through SVIs when routing is enabled; a Layer 2 switch can use a management SVI without becoming an inter-VLAN router.
- **Router-on-a-stick** uses one physical router connection with VLAN-tagged **subinterfaces**. Each routed VLAN needs its own gateway address; inter-VLAN access also depends on routing and firewall/ACL policy.
Loop prevention and link aggregation
- **STP** prevents Layer 2 forwarding loops by blocking redundant paths; **RSTP** converges faster. A loop can cause broadcast storms, high CPU, MAC-address flapping and widespread latency.
- The **root bridge** has the lowest bridge ID: priority first, then MAC address. Typical base priority is **32768**; VLAN system-ID extensions can affect the displayed value. Deliberately place the root near the intended distribution/core path.
- **Edge/PortFast** settings accelerate host-port forwarding; they do not make an unsafe inter-switch loop acceptable. **BPDU guard** can disable an edge port receiving BPDUs. Diagnose its trigger before re-enabling the port.
- **LACP / 802.1AX link aggregation** bundles compatible physical links into one logical channel. Match speed, trunk/access configuration and VLAN settings. Misconfiguration can leave members suspended or cause connectivity loss.
- Aggregation increases **total capacity** and tolerates a member failure, but hashing typically keeps a single flow on one member. Multiple parallel cables must form a valid bundle or be controlled by STP.
Wireless standards and deployment modes
- **802.11a** uses 5GHz; **b/g** use 2.4GHz; **n / Wi-Fi 4** supports 2.4/5GHz; **ac / Wi-Fi 5** uses 5GHz. **ax / Wi-Fi 6** improves efficiency with features such as OFDMA and MU-MIMO.
- **Wi-Fi 6E** extends 802.11ax into 6GHz. **802.11be / Wi-Fi 7** supports features including 320MHz channels in 6GHz. Usable bands, widths and features depend on local rules and client/AP compatibility.
- An **infrastructure WLAN** uses APs. **Autonomous APs** operate independently; controller-managed APs centralize policy. **Mesh** supplies wireless backhaul where Ethernet is unavailable, but each wireless hop consumes capacity.
- A **point-to-point bridge** links locations using directional antennas and clear alignment. An **ad hoc** network connects peers without an infrastructure AP. **Omnidirectional** antennas spread coverage; directional antennas concentrate it.
- **SSID** names the WLAN; **BSSID** identifies a specific basic service set, commonly by AP radio MAC. An **ESS** joins multiple BSSs into one WLAN; consistent SSID and security settings support roaming.
RF capacity, coverage and roaming
- A **site survey** evaluates coverage, interference, obstacles and capacity. A **heat map** visualizes signal coverage; a **spectrum analyzer** detects RF energy, including non-Wi-Fi interference. Strong signal alone does not prove clean airtime.
- In common 2.4GHz plans, use **20MHz channels 1, 6 and 11** for non-overlapping cells where permitted. Adjacent-channel overlap and co-channel contention reduce capacity; increasing width trades channel reuse for potential speed.
- **5GHz and 6GHz** offer more channel options but require compatible clients and an appropriate coverage design. **Band steering** encourages capable clients onto a preferred band; it does not upgrade an incompatible radio.
- **RSSI** in dBm becomes stronger as negative values approach zero: -50dBm is stronger than -80dBm. **SNR** measures signal relative to noise. Microwaves and other 2.4GHz emitters can degrade otherwise adequate coverage.
- Balance **AP placement, transmit power and cell overlap** for roaming. Excess power can create sticky clients and contention; insufficient overlap causes gaps. Check matching security policies and client roaming behavior before adding APs blindly.
Copper, fiber and connectors
- Typical copper Ethernet channels support up to **100m** at their rated category and speed. **Cat 5e** supports common gigabit links; **Cat 6A** supports 10Gbps to 100m. Check the actual Ethernet standard before choosing media and distance.
- **UTP** is economical; properly installed **shielded twisted pair** helps with EMI. Preserve pair twists and grounding requirements. **Plenum-rated cable** suits designated air-handling spaces; fire rating describes the jacket, not data rate.
- Use consistent **T568A or T568B** terminations for straight-through copper runs. Ethernet commonly uses **8P8C/RJ45**; analog phone cables commonly use **RJ11**. **BNC and F-type** connectors serve coaxial applications.
- **Single-mode fiber** suits long distances; **multimode fiber** commonly serves shorter building/datacenter links. Match fiber type, wavelength, optics, speed and distance. Fiber resists electromagnetic interference and avoids conductive links between buildings.
- Fiber connectors: **LC** is compact with a latch; **SC** uses a square push-pull body; **ST** uses a round bayonet twist; **MPO/MTP** carries multiple fibers. **SFP/QSFP** describe transceiver form factors, not a single speed or reach.
- **SR optics** commonly pair with multimode; **LR optics** commonly pair with single-mode, subject to the specific standard. **DAC/twinax** provides short copper links with integrated ends. Antenna connections commonly use coaxial connectors such as RP-SMA.
Racks, power and installation
- An **MDF** is the main distribution location; **IDFs** extend distribution to floors or areas. A **patch panel** centralizes cable terminations. Record patching, backbone links, demarcation and cable labels.
- Plan **rack units, depth, weight and growth**, plus rail compatibility and cable clearance. **Hot/cold aisles** separate intake air from exhaust; orient each device according to its actual airflow direction.
- A **UPS** bridges outages and may condition power; a **PDU** distributes power to equipment. Dual PSUs need independent feeds to remove shared failures. Include cooling and upstream circuits in the redundancy design.
- **PoE** must satisfy both the per-port limit and the switch's total power budget. Compare powered-device demand, PoE standard, enabled ports and cable condition. A free Ethernet port does not guarantee spare power.
- Control **temperature, humidity, ventilation, dust and physical access**. Sealed enclosures can overheat; dry air increases static risk. Fire suppression, grounding and installation practices must suit the equipment and facility.
Network Operations
Documentation and controlled change
- **Physical diagrams** show locations, media, ports and connections; **logical diagrams** show VLANs, subnets, routes and security zones. Rack elevations, cable maps and wireless heat maps answer different operational questions.
- Maintain **asset inventory, IPAM, configuration backups, licenses and support dates**. Discovery supplements inventory; **LLDP** finds direct multivendor neighbors, so repeat discovery from adjacent devices for a fuller topology.
- A **golden configuration** defines the approved baseline. Compare running state to that baseline for drift; store changes in version control. **Branches** permit isolated configuration work before review and integration.
- A **change request** records purpose, scope, impact, dependencies, testing, approval, maintenance window and rollback. Back up the configuration before implementation, verify service afterward and update documentation.
- Track **EOL and EOS** using the vendor's definitions and dates. Products can leave sale before support ends; unsupported devices may stop receiving security fixes. Plan replacement, migration and secure decommissioning.
- An **SLA** sets service targets and response expectations; **AUP** defines acceptable use; **BYOD policy** governs personal devices. Tickets capture symptoms, priority, ownership, escalation, resolution and lessons learned.
DHCP and address management
- IPv4 DHCP commonly follows **Discover, Offer, Request, Acknowledge**. Clients use UDP **68** and servers UDP **67**. Initial discovery is a broadcast that routers do not forward without a relay.
- A **scope** defines the address pool and settings. A **reservation** consistently leases an address to a client identifier or MAC. An **exclusion** keeps selected addresses out of dynamic allocation for separately configured devices.
- Configure **DHCP relay / IP helper** on the appropriate routed client interface when the server is on another subnet. Each VLAN needs the correct scope, gateway settings and permitted relay/server traffic.
- **DHCP options** supply settings such as DNS servers, gateway and supported boot/phone provisioning information. A powered phone searching for service can have correct Ethernet but missing voice VLAN or provisioning options.
- **Scope exhaustion** prevents new leases. Size the subnet and pool together; shorter leases can reclaim addresses sooner for transient guests but increase renewal traffic. Never expand a pool beyond its actual subnet.
DNS records and migration behavior
- **A** maps a name to IPv4; **AAAA** maps to IPv6; **CNAME** aliases a name to another name. **PTR** supports reverse IP-to-name lookup and requires the appropriate reverse zone.
- **MX** identifies mail exchangers; its target name still needs address records. **NS** identifies authoritative name servers; registrar delegation and required glue must reflect a hosting move. **SOA** carries zone authority and timing metadata.
- **TXT** holds text used for purposes such as domain verification and SPF. **SRV** publishes service location and port. Query the required record type rather than assuming a general lookup shows every record.
- **TTL** controls caching duration. Lower it before a planned record migration and wait for older cached entries to expire. Changing a record does not immediately clear remote resolver or client caches.
- Compare **authoritative answers, recursive resolver answers, client cache and the local hosts file** when one user resolves differently. DNS normally uses UDP/TCP **53**; TCP is also important for large responses and zone transfers.
- **DNSSEC** validates signed DNS data; it does not encrypt queries. **DoH** encrypts DNS over HTTPS; **DoT** encrypts DNS over TLS. Managed DNS filtering needs controls against unauthorized resolvers and encrypted-DNS bypass.
Monitoring, logs and traffic visibility
- Establish a **baseline** for utilization, latency, loss, errors, CPU and availability. Define actionable thresholds and reassess them after growth or mergers. Monitor backup paths as well as currently active links.
- **SNMP** polls device state using **OIDs** described in a **MIB**. Correct vendor MIBs make device-specific objects interpretable. **Traps** send unsolicited notifications; **informs** add acknowledgment.
- SNMP polling commonly uses UDP **161** and notifications **162**. **v1/v2c community strings** lack modern confidentiality. **SNMPv3 authPriv** provides authentication and encryption when configured with suitable algorithms.
- **Syslog** centralizes events, commonly using UDP **514**; encrypted syslog can use TLS. A **SIEM** correlates normalized events across sources and generates security alerts. Verify supported inputs and device integrations.
- **NTP**, commonly UDP **123**, aligns timestamps for log correlation and time-sensitive authentication. Authentication failures with an incorrect clock require a time-source check, not an assumption that the password is wrong.
- **NetFlow/IPFIX/sFlow** reveal conversations and top talkers with less data than full capture. **SPAN/port mirroring** or a **network TAP** supplies packet copies; oversubscribed mirror ports can drop captured traffic.
Availability and disaster recovery
- **RTO** is the target restoration time; **RPO** is the maximum tolerable data-loss interval. A maximum tolerable outage is a business limit that the recovery design must respect; it is distinct from its chosen RTO.
- **MTBF** estimates average operating time between failures of repairable equipment. **MTTR** estimates average repair or restoration time, according to the defined metric. Neither is a guaranteed lifespan or a recovery objective.
- A **hot site** has ready infrastructure and current replicated services/data; a **warm site** has partial readiness; a **cold site** needs substantial provisioning. Faster recovery usually costs more; evaluate the actual design against RTO and RPO.
- **Active-active** serves traffic from multiple instances; **active-passive** holds a standby. Synchronous replication minimizes committed-data loss but adds latency; asynchronous replication can leave a recovery gap.
- **Backups** preserve recoverable history; **replication** maintains another current copy and can also propagate corruption. Keep protected backups, test restores and document dependency order, communications and failover/failback procedures.
- A **business impact analysis** ranks critical services and dependencies. **Tabletop exercises** rehearse decisions with stakeholders; technical recovery tests prove systems can be restored. After stabilization, root-cause analysis drives preventive improvements.
Remote access and administration
- **In-band management** shares production network infrastructure. **Out-of-band management** uses a separate management path, such as a console server or dedicated management interface, to retain access during production-path failures.
- A **jump host/bastion** centralizes controlled administrative access. Restrict who can reach it and what it can reach; use strong authentication, logging and least privilege. It still depends on its own network path.
- **SSH/TCP 22** provides encrypted interactive CLI access and supports tunnels. **SFTP** transfers files through SSH; **RDP** commonly uses port **3389**. **Telnet/TCP 23** sends sessions without encryption.
- **Site-to-site VPNs** join networks; **client-to-site VPNs** join individual endpoints. A **clientless TLS portal** publishes supported applications through a browser rather than providing every client protocol automatically.
- A **full tunnel** sends selected corporate-device traffic, normally including internet traffic, through the VPN policy. A **split tunnel** sends only configured destinations through it, reducing central bandwidth and changing inspection coverage.
Network Security
Identity, authorization and network admission
- **Authentication** verifies identity; **authorization** defines allowed actions; **accounting** records activity. **RBAC** assigns permissions by job role. **Least privilege** gives only required access, for only as long as needed.
- **MFA** combines distinct factor categories: knowledge, possession or inherence. A password plus PIN remains two knowledge secrets. **SSO** reuses an authenticated identity across services; it does not remove the need for MFA or authorization.
- **SAML** exchanges XML-based identity assertions; **OpenID Connect** adds an authentication layer to OAuth 2.0. Federation trusts an external identity provider. Validate the relying application's audience, issuer and signature requirements.
- **802.1X** uses a supplicant, authenticator switch/AP and authentication server, commonly **RADIUS**. **EAP** carries authentication methods; certificate-based **EAP-TLS** can authenticate both parties and reduce password dependence.
- **NAC** can combine identity and endpoint posture to admit, reject or quarantine devices. **Port security/MAC filtering** limits allowed MAC addresses but is vulnerable to spoofing; it is weaker than strong identity-based authentication.
- **WPA2/WPA3 Enterprise** supports individual credentials through 802.1X. Personal modes use shared credentials; **WPA3-Personal SAE** improves password authentication. A **captive portal** gathers sign-in or acceptance after association; it does not itself encrypt the wireless link.
Encryption, certificates and secure protocols
- **Confidentiality** restricts disclosure; **integrity** detects unauthorized changes; **availability** keeps services usable. Encryption protects confidentiality; cryptographic hashes help verify integrity. A bare hash does not prove who produced the data.
- **PKI/X.509 certificates** bind identities to public keys through a trust chain. Validate name, issuer, validity period and revocation status. A self-signed certificate requires an explicit trust decision and does not gain public trust automatically.
- **TLS** protects compatible application sessions, including **HTTPS/TCP 443**. Certificate validation authenticates the peer; client certificates can support mutual authentication. **HTTP/TCP 80** is unencrypted unless redirected and a secure connection is established.
- **IPsec ESP** can provide encrypted payloads plus integrity/authentication; **AH** authenticates selected header fields and payload without confidentiality. **IKE** negotiates keys and security associations. **GRE** encapsulates traffic but provides no encryption by itself.
- **SMTP/TCP 25** commonly transfers mail between servers. **587** is message submission and commonly uses STARTTLS; **465** uses implicit TLS. **IMAPS 993** and **POP3S 995** use implicit TLS; ports **143/110** need explicit TLS negotiation to protect mail access.
- **LDAP 389** can use STARTTLS; **LDAPS 636** uses implicit TLS. **SMB 445** carries Windows file sharing. **FTP 21** and **TFTP UDP 69** do not inherently protect credentials/content; **SFTP 22** and properly configured FTPS provide different secure-transfer mechanisms.
Segmentation, inspection and hardening
- Use **security zones**, VLANs/subnets and enforced inter-zone rules to separate users, servers, guests, IoT and OT. A **screened subnet/DMZ** isolates public services. VLAN separation requires policy enforcement at routed boundaries.
- An **ACL** matches fields such as source, destination, protocol and port in rule order. Permit required services narrowly and deny other access according to policy. Check direction, interface, return traffic and implicit-deny behavior.
- An **IDS** observes and alerts, often from mirrored traffic; an **IPS** operates inline and can block traffic. Inline inspection capacity and false positives affect production; passive visibility does not automatically prevent an attack.
- **URL/content filtering** controls web categories or destinations; **DNS filtering** blocks selected resolutions. **Geolocation filtering** uses location indicators such as IP intelligence, with imperfect accuracy. Encryption alone does not establish that a website is safe.
- Harden devices by **changing default credentials, disabling unused ports/services, patching firmware, restricting management access and backing up configurations**. Remove legacy insecure protocols when secure replacements meet the requirement.
- **Zero Trust** evaluates access explicitly using identity, device state and context. **ZTNA** grants application-specific remote access; **SASE** combines networking and cloud-delivered security. Privileged access management can vault and rotate administrative credentials.
Recognizing network attacks
- An **evil twin** imitates a legitimate wireless network to attract clients; a **rogue AP** is unauthorized infrastructure. They can enable credential theft or on-path interception. Verify server certificates and monitor for unauthorized radios.
- **ARP poisoning** falsifies local IP-to-MAC associations. **DNS cache poisoning** inserts false resolver data; a modified **hosts file** can redirect one endpoint independently. Both can redirect traffic, but their mechanisms and investigation points differ.
- A **rogue DHCP server** can supply malicious gateways or DNS settings. **DHCP snooping** restricts trusted server-facing ports; **dynamic ARP inspection** can use trusted bindings to detect forged ARP traffic.
- **MAC/CAM flooding** fills switch learning tables and can increase unknown-unicast flooding. **VLAN hopping** attempts to cross VLAN boundaries, including double-tagging scenarios. Restrict trunks, manage native VLANs and enforce admission controls.
- **DoS** exhausts or disrupts resources; **DDoS** uses many sources, often a botnet. **Malware** can steal data or spread; **ransomware** denies access through encryption or other disruption. Containment and recovery should preserve incident evidence.
- A **vulnerability** is a weakness; a **threat** can exploit it; an **exploit** is a technique or code using it. **Honeypots/honeynets** are isolated decoys for observing attackers; they do not guarantee discovery of unknown attacks.
People, physical access and risk
- **Phishing** uses deceptive messages; **smishing** uses SMS; **vishing** uses voice; **quishing** uses QR codes. **Impersonation/pretexting** invents a trusted role or story to obtain access or secrets.
- **Tailgating** bypasses a physical access checkpoint by following someone; **shoulder surfing** observes sensitive information; **dumpster diving** searches discarded material. Use controlled entry, screen/privacy practices and secure disposal.
- Protect network closets with **locks, access records and appropriate surveillance**. Disable unused public-facing jacks or require authentication. Physical access can enable rogue switches, APs and direct console attacks.
- Risk responses include **avoidance, mitigation, transfer and acceptance**. Identify impact, likelihood, owner and remaining risk. A technical fix, an insurance contract and a documented acceptance serve different purposes.
- Distinguish **privacy obligations**, payment-data standards and internal policies. **GDPR** concerns personal-data protection; **PCI DSS** concerns payment account data. Apply the requirements relevant to the organization's data and obligations.
Network Troubleshooting
A repeatable troubleshooting method
- **1. Identify the problem:** ask users, gather symptoms, define scope, establish timing and determine recent changes. Reproduce safely where possible and handle multiple distinct problems individually.
- **2. Establish a theory:** question the obvious and select a useful approach, such as bottom-up, top-down or divide-and-conquer across OSI layers. Rank plausible causes using the evidence rather than changing several settings at once.
- **3. Test the theory:** perform a focused test to confirm or reject the suspected cause. If disproved, form another theory or escalate; reproducing the fault in a controlled setting can strengthen the diagnosis.
- **4. Plan the action:** choose resolution steps, assess business and technical effects, prepare rollback and obtain required change approval. **5. Implement** the solution or escalate when the fix exceeds your authority or capability.
- **6. Verify full functionality** and apply preventive measures where appropriate. Compare with baseline behavior and confirm with affected users. **7. Document** symptoms, cause, actions, results and lessons learned throughout the process.
Choose the tool for the question
- **ipconfig /all**, **ip addr** or **ifconfig** inspect interface addressing; **route print** or **ip route** inspect routes. Check address, prefix, gateway and DNS before assuming the WAN or server is broken.
- **ping** tests ICMP reachability and round-trip time. Start with loopback, then local addressing, gateway and a remote IP. **traceroute/tracert** reveals responding hops; asterisks can mean filtered or rate-limited replies.
- **nslookup** and **dig** inspect DNS. Use **dig name A**, **dig name AAAA**, **dig domain MX** or **dig -x address** for a focused question; query a chosen server when comparing resolvers.
- **arp -a / ip neigh** maps local neighbors; **show mac address-table** maps MACs to switchports. Combine them to trace an IP to a physical port. **LLDP** identifies directly attached switch/AP neighbors.
- **netstat** or **ss** shows listeners and connections; **Nmap** discovers hosts, exposed ports and supported service fingerprints. **Wireshark/tcpdump** captures protocol details; capture filters and display filters answer different stages of the investigation.
- **show interfaces** exposes link state, negotiated speed/duplex, utilization, errors and drops. Compare counter changes over an interval rather than treating an old cumulative count as proof of a current fault.
Isolate cable, optic and power faults
- For **no link**, check device power, administrative state, seating, patching, cable continuity and compatible optics. Test a known-good cable or port and observe whether the failure follows the changed component.
- A **cable tester/wire-map tool** checks opens, shorts, reversals and split pairs; a **certifier** measures category performance. A **toner and probe** locates an unidentified copper run; a **TDR** estimates distance to a copper fault.
- A **visual fault locator** reveals some fiber breaks or bends; an **OTDR** locates reflective/loss events; an optical power meter measures received power. Never look directly into a potentially active fiber.
- Fiber troubleshooting includes **cleanliness, bend radius, TX-to-RX polarity, wavelength, fiber type and transceiver compatibility**. A good cable can still fail with the wrong optic or unsupported switchport speed.
- **CRC/FCS errors** suggest corrupted frames, often from cable, termination, interference or hardware issues. Excess untwisting and damaged shielding can increase crosstalk. Confirm negotiated speed/duplex and test the physical path.
- For a phone, camera or AP that does not power on, check **PoE per-port demand and aggregate budget separately**. For intermittent reboots, examine power allocation, cable quality, thermal conditions and device logs.
Diagnose addressing, VLAN and route failures
- A **169.254.x.x address** commonly points to failed DHCP acquisition. Check physical/link state, VLAN, scope capacity, server availability, relay and filtering. A local-only link-local connection does not prove normal routed access.
- An **IP conflict** can create intermittent reachability or changing ARP entries. Find the claiming MACs, trace their switchports and check static assignments against DHCP exclusions/reservations before changing addresses.
- If local peers work but remote networks fail, verify **subnet mask, default gateway, routing and ACLs**. If access by IP works but name access fails, inspect **DNS and hosts overrides**. Successful ping does not validate the required TCP/UDP service.
- After moving a workstation or replacing a switch, compare **access VLAN, voice VLAN, trunk allowed lists and SVI/gateway configuration**. Matching port speed does not compensate for membership in the wrong logical network.
- For inter-subnet failure, verify the **forward route and return route**, interface state and firewall direction. Check route specificity before distance and metrics; overlapping prefixes or VPN routes can redirect otherwise valid traffic.
- A replacement NIC changes its **MAC address** and may trigger port security or NAC. An **error-disabled port** differs from an administratively shut port; identify and fix the actual policy violation before restoring access.
Find congestion, MTU and application faults
- Compare **utilization, errors, discards, CPU and latency** to baseline during the affected period. A department uplink, WAN circuit, inline IPS or AP backhaul can bottleneck traffic even when the internet service is fast.
- **QoS** classifies and prioritizes delay-sensitive traffic at congested points. Markings such as DSCP need consistent treatment across the path. **Shaping** buffers excess traffic; **policing** drops or remarks it. QoS does not create bandwidth.
- **Jumbo frames** reduce per-byte framing/processing overhead for supported workloads. Match MTU along the complete path; inconsistent MTU can cause fragmentation, drops or stalls. VXLAN and VPN encapsulation require additional headroom.
- **Speed/duplex mismatch** can cause loss, poor throughput and collisions in half-duplex operation. Modern full-duplex switched links should not show normal collisions. Verify both ends rather than changing only one side.
- When a service connects but data transfer fails, inspect **firewall logs, packet captures, MTU and application dependencies**. TCP retransmissions indicate missing delivery but do not alone identify the cause; locate where loss begins.
- For poor voice/video, check **loss, jitter, latency, link saturation, QoS, RTP/service ports and voice provisioning**. Normal file copying or a single speed test does not prove that the real-time media path is healthy.
Separate wireless signal and capacity issues
- For an invisible SSID, check **AP power, radio state, band compatibility, coverage and WLAN configuration**. For association without access, check authentication, VLAN mapping, DHCP and upstream policy.
- For drops while walking, examine **roaming configuration, matching SSIDs/security, cell overlap and transmit power**. For stationary drops, inspect interference, channel changes, signal quality and authentication logs.
- Slow Wi-Fi with strong RSSI can reflect **airtime contention, retransmissions, adjacent-channel interference or a slow uplink**. Compare channel utilization and SNR; more APs or maximum transmit power can worsen the problem.
- Validate advertised wireless speed against **client radio capability, channel width, spatial streams, wired backhaul and negotiated link rate**. A new 6GHz-capable AP cannot make an older client use 6GHz.
- Use a **Wi-Fi analyzer** for SSID/BSSID/channel information, a **spectrum analyzer** for RF interference and a **packet capture** for association/retry behavior. Filter by the relevant client MAC or BSSID when isolating a device.