Q1
What happens at Layer 2 vs Layer 3 when Host A (192.168.1.10/24) pings a remote server (8.8.8.8)—which addresses change at every router hop?
The Source/Destination IP stays unchanged end-to-end (192.168.1.10 -> 8.8.8.8, barring NAT), whereas the Source/Destination MAC addresses get rewritten at every single Layer-3 router hop using ARP toward the next-hop gateway.
Q2
Why do two OSPF routers get stuck in `EXSTART / EXCHANGE` or `INIT` neighbor state permanently?
INIT stalls usually stem from ACLs blocking multicast 224.0.0.5, mismatched Hello/Dead timers, subnet mask mismatch, or Area ID mismatch. Getting stuck in `EXSTART / EXCHANGE` almost always indicates an MTU mismatch between interfaces!
Q3
How does Longest Prefix Match determine routing even when RIP/OSPF have different Administrative Distances?
Routers evaluate Administrative Distance ONLY when comparing identical prefix lengths across different routing protocols; at packet forwarding time, Longest Prefix Match (/28 beats /24 beats 0.0.0.0/0) ALWAYS wins regardless of protocol or metric!
Q4
What catastrophic Layer-2 outage happens if Spanning Tree Protocol (STP) is disabled on redundant switched loops?
Without STP blocking redundant links, Ethernet broadcasts circulate forever (Broadcast Storm), saturating 100% link bandwidth and constantly flipping switch MAC address tables (MAC Flapping) within seconds!
Q5
Why must Native VLAN match on both ends of an 802.1Q trunk—and what happens when they mismatch (VLAN 1 vs VLAN 99)?
Untagged frames sent over Native VLAN 1 arrive at the peer switch and get injected silently into VLAN 99 (VLAN Hopping security risk + STP loop anomalies). Disable unused default VLAN 1 and match a dedicated unused Native VLAN across trunks.
Q6
In ACL troubleshooting, why does applying an Extended ACL close to the Source make better network design than near the Destination?
Extended ACLs match both Source/Dest IP + Ports, so placing them near the source drops unauthorized traffic immediately before it wastes WAN/backbone hops (whereas Standard ACLs match only Source IP and must go near Destination to avoid breaking everything else!).
Q7
How many usable host IPs exist in a /29 vs /30 subnet—and why do /31 point-to-point router links save IPs (RFC 3021)?
/30 gives 4 total IPs (2 usable after network + broadcast); /29 gives 8 total (6 usable). Point-to-point serial/fiber router links require no broadcast, so RFC 3021 /31 lets both IPs serve as hosts (0 wasted!).
Q8
What causes Router-on-a-Stick (Subinterfaces) bottlenecking compared to a Layer-3 Switch SVI (ip routing)?
Router-on-a-Stick pushes all inter-VLAN traffic up and back down a single physical trunk cable (halving effective bandwidth), whereas a Layer-3 switch routes between local SVIs at wire speed inside ASIC hardware.
Q9
Why does PortFast + BPDU Guard belong ONLY on access ports connected to PCs/printers, never inter-switch links?
PortFast skips STP's 30-second Listening/Learning states so DHCP doesn't time out on boot; BPDU Guard immediately err-disables the port if someone plugs an unauthorized hub/switch sending BPDUs, preventing rogue loops.
Q10
How does PAT (NAT Overload) distinguish 500 office laptops sharing one public IP simultaneously?
PAT maps each private Source IP : Source Port to a unique temporary public Source Port in the router's NAT translation table so return packets route cleanly back to the exact laptop.