Interview Prep

Materials for technical interview preparation — interactive deep-dives and theory across protocols, architecture, and operations. Each opens in a new tab.

Network Part

51 materials across 6 topics

Fundamentals & Packet Flow

How a packet actually moves, layer by layer

The OSI Model — Layer by Layer

The 7 layers with PDUs & protocols, encapsulation, OSI vs TCP/IP, what-layer-is-X (ARP/MPLS/VXLAN/TLS/LBs), and layered troubleshooting.

OSILayersEncapsulation

Administrative Distance

How a router picks between routing sources for the same prefix — after longest-prefix match. Canonical Cisco defaults + a Cisco/Arista/Junos/Nokia/Huawei comparison.

ADRoute PreferenceMulti-vendor

NAT — Theory

Static/dynamic NAT & PAT, SNAT vs DNAT, how PAT rewrites & tracks flows, checksum recompute, what breaks (ALGs/IPsec/hairpin), NAT types & traversal (STUN/TURN/ICE), CGNAT.

NATPATCGNAT

IP Addressing & CIDR

Subnetting & planning: CIDR/masks, host & block-size math, the prefix table, RFC 1918 & special ranges, VLSM, route summarization, wildcard masks, and planning principles.

CIDRSubnettingVLSM

Protocol Headers — Field Reference

The wire format of every header worth sketching: Ethernet/VLAN, ARP, IPv4/IPv6, ICMP, TCP, UDP, MPLS, VXLAN/GRE, and OSPF/BGP/IS-IS.

HeadersWire FormatReference

TCP — Theory & Mechanisms

Handshake, teardown & TIME_WAIT, flow vs congestion control, retransmission, Nagle, MSS/PMTUD.

TCPCongestionFlow Control

IPv6 — Theory

Address types & notation, EUI-64/privacy, the 40-byte header & extension headers, ICMPv6/NDP (no ARP), SLAAC vs DHCPv6, /64s, dual-stack & NAT64.

IPv6SLAACNDP

Packet Life: google.com

What happens when you type google.com — a full walkthrough across the OSI layers (L1–L7).

OSIDNSTCP/TLS

Life of a Packet — Fundamentals

Three scenarios field by field: one L2 segment, multi-hop routing, Internet via NAT.

L2/L3ARPNAT

Life of a Packet — Advanced

Overlays and multicast field by field: MPLS L3VPN, IPv6, EVPN/VXLAN, and PIM.

L3VPNVXLANMulticast

EVPN — Life of a Packet

A frame through a VXLAN-EVPN fabric in five cases: L2 simple, L2 multihoming (aliasing/DF), L3 simple (symmetric IRB), L3 multihoming, and multicast/BUM.

EVPNVXLANIRB

Multicast — Life of a Packet

A multicast packet hop by hop: L2 (IGMP snooping), PIM-SM (shared tree → Register → SPT switchover), and PIM-SSM (IGMPv3 → (S,G) join).

MulticastPIM-SMSSM

L2 Forwarding & the 64-Byte Minimum

Can you send a frame under 64 bytes? Runts, padding, CSMA/CD slot time, and the line-rate PPS math.

EthernetRuntsPPS

VLAN & VXLAN — Theory

802.1Q VLANs (access/trunk/native, QinQ, inter-VLAN routing, the 4094 limit) and VXLAN (VTEP/VNI, BUM, flood-and-learn vs BGP EVPN, anycast GW).

VLANVXLANEVPN

STP / RSTP / MSTP

Why Ethernet needs a spanning tree: root/port election, states & timers, RSTP fast convergence, MSTP regions & instances, and BPDU/Root/Loop Guard.

STPRSTPMSTP

Ping & Traceroute

ICMP mechanics, the Cisco .!!!! / ..!!! output (and why the first packet drops), traceroute internals.

ICMPCiscoTraceroute

Routing Protocols

IGPs, BGP, and multicast

OSPF — Theory

Link-state IGP: areas, LSA types, DR/BDR, SPF, stub/NSSA, redistribution, OSPFv3.

OSPFLSAAreas

OSPF Mechanisms — Interactive

Session establishment, LSA types, areas, and route redistribution — step by step.

OSPFInteractive

IS-IS — Theory

Levels, NET/NSAP, DIS, TLV extensibility, narrow/wide metrics, and IS-IS vs OSPF.

IS-ISLevelsTLV

BGP — Theory

eBGP/iBGP, route reflectors, path attributes, the best-path algorithm, policy, RPKI.

BGPBest-PathPolicy

BGP Mechanisms — Interactive

Route election, ECMP, damping, communities, aggregation, MED, inter-AS MPLS VPN.

BGPInteractive

MP-BGP — Theory

AFI/SAFI, VPNv4/v6, EVPN route types, RD vs RT, next-hop, route reflection.

MP-BGPEVPNL3VPN

BGP/MPLS Inter-AS VPN — A / B / C

Inter-AS L3VPN (RFC 4364): Option A (back-to-back VRF), B (MP-eBGP VPNv4 at ASBRs), C (RR-to-RR + labeled-IPv4 loopbacks), plus Option AB and the "Option D" question.

Inter-ASL3VPNOption A/B/C

BGP Traffic Engineering — Ingress/Egress

Steering a multihomed AS: the egress-vs-ingress asymmetry, outbound via weight/local-pref, inbound via AS-prepend/MED/communities/more-specifics, and multihoming recipes.

BGP TELocal-PrefAS-Prepend

BGP Session — Interactive

The step-by-step process of bringing up a BGP session between two routers.

BGPFSMInteractive

Multicast & PIM — Theory

Group addressing & L2 mapping, IGMP/MLD, RPF, PIM-SM (RP/register/SPT switchover), Anycast-RP/MSDP, SSM, Bidir.

MulticastPIMIGMP

PIM-SM Session — Interactive

Protocol Independent Multicast, Sparse Mode (RFC 7761) — step by step with the RP.

MulticastPIM-SM

SRE / DevOps Part

23 materials · Linux internals, performance triage, and practical operations for reliability interviews

Network Automation Part

13 materials · config as code across Ansible, Nornir, and Annet — theory, playbooks, labs & CI/CD

A topic worth breaking down?

Read the blog