Networking Fundamentals and Protocols Questions
The core model of how networks move data: the OSI and TCP/IP layers, the Internet Protocol suite, transport protocols (TCP versus UDP), encapsulation, and TCP behavior including congestion control. Covers the protocol foundations every networking and infrastructure discussion builds on, from link layer through transport. The conceptual bedrock beneath addressing, routing, and switching.
Sketch the TCP header at a high level and describe the fields most relevant to reliability and ordering: sequence number, acknowledgment number, the SYN/ACK/FIN/RST flags, window size, and the key TCP options (MSS, window scale, SACK-permitted, timestamps). If you were triaging a performance incident and could only look at a handful of these fields, which would you check first and why?
You are given a capture showing fragmented IPv4 packets and an ICMP Type 3 Code 4 (Fragmentation Needed) message reporting a next-hop MTU of 1400 bytes. Explain the role of the Don't Fragment (DF) bit and how Path MTU Discovery is supposed to behave here, then describe why PMTUD commonly fails in production (hint: something in the path is dropping the ICMP message) and what fixes actually resolve it for both TCP and UDP traffic.
On a long-fat network (a 10 Gbps link with 150 ms round-trip time), compute the bandwidth-delay product and explain why the classic 16-bit TCP window field cannot describe enough in-flight data to fill this link. Describe how the window-scaling option is negotiated during the handshake to fix this, and what else (beyond the window itself) typically needs tuning to approach line-rate throughput on a link like this.
Out-of-order packet delivery (not loss) is causing excessive retransmissions and application-level timeouts on some flows. Explain PAWS (Protect Against Wrapped Sequence numbers) and the reordering thresholds TCP uses to avoid mistaking reordering for loss, and describe one application-level fallback for cases where the network path itself reorders packets persistently.
Describe the TCP three-way handshake in detail: which flags are set in each packet (SYN, SYN-ACK, ACK), how sequence and acknowledgment numbers are used, and what state each endpoint moves into after each step. Explain what problem the handshake actually solves.
Unlock Full Question Bank
Get access to all 36 Networking Fundamentals and Protocols interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.