Skip to main content

Networking Knowledge Base

TCP/IP 5-Layer Protocol Stack ExplorerClick any layer to inspect
L5
Application LayerPDU: Data / Message
HTTP/1.1HTTP/2HTTP/3HTTPSDNSgRPCWebSocketSSHSMTPFTP
L4
Transport LayerPDU: Segment / Datagram
TCPUDPQUICTLS (on TCP)DTLS
L3
Network LayerPDU: Packet
IPv4IPv6ICMPBGPOSPFIGMP
L2
Data Link LayerPDU: Frame
Ethernet (802.3)Wi-Fi (802.11)ARPVLANs (802.1Q)PPP
L1
Physical LayerPDU: Bits / Signal
Ethernet copper (Cat5e/6)Fiber (SMF/MMF)Wi-Fi (2.4/5GHz)USBRS-232
↓ Encapsulation (send) Β |Β  ↑ Decapsulation (receive)
Click any layer to inspect its protocols and PDUs
Network Packet Encapsulation β€” Layer-by-Layer
L5 App
Application Payload
GET /api/v1/user HTTP/1.1
Host: api.example.com
Authorization: Bearer eyJhb...
Stage 1: Application Data

The application produces raw data β€” an HTTP request body, JSON payload, or binary message. No headers from lower layers yet. This is the PDU at the Application layer: a "Message" or "Data".


A structured guide covering everything you need to know about computer networking β€” from low-level protocols to distributed API design β€” with Java/Spring examples and interview questions throughout.

Topics Covered

#TopicDescription
1OSI & TCP/IP ModelsLayered models, encapsulation, ARP, ICMP, troubleshooting
2MAC Addressing & Layer 2 ForwardingEUI-48 MAC anatomy, CAM switch tables, ARP state machine, GARP failover, VXLAN
3IP Addressing & RoutingIPv4/IPv6, CIDR, subnetting, BGP, OSPF, DHCP
4TCP, UDP & Transport LayerHandshake, flow control, congestion, UDP use cases
5QUIC & Modern TransportQUIC internals, 0-RTT, HOL blocking, HTTP/3, BBR
6HTTP & HTTPSHTTP/1.1–3, TLS handshake, headers, caching, CORS
7DNSResolution process, record types, TTL, DNSSEC, DoH
8CDN & Load BalancingCDN architecture, LB algorithms, health checks, Anycast
9Proxies, Firewalls, NAT & VPNsForward/reverse/SOCKS5 proxies, Netfilter conntrack, WireGuard vs IPsec, MSS clamping
10Tor, Onion Routing & Privacy Networks3-hop circuit telescoping, onion peeling cryptography, V3 rendezvous services, traffic analysis
11Network SecurityTLS, firewalls, DDoS, Zero Trust, mTLS, cert management
12API Authentication & AuthorizationOAuth 2.0, JWT, OIDC, client credentials, mTLS
13Socket Programming & I/O ModelsSockets, blocking/NIO, epoll, Netty, virtual threads
14REST & gRPC API DesignREST, gRPC/protobuf, GraphQL, versioning, OpenAPI
15WebSockets & Real-TimeWS protocol, SSE, long polling, Spring WebSocket
16Network Performance & OptimizationLatency, throughput, TCP tuning, connection pooling
17Service Mesh & Microservices NetworkingIstio, Envoy, circuit breaker, service discovery, K8s
18Network Troubleshooting Toolstcpdump, Wireshark, curl, openssl, dig, nmap, ss
19Application Protocols ReferenceSMTP, FTP, SSH, SNMP, NTP, MQTT, WebRTC
20Interview Questions β€” Master ListTop questions across all topics, interview-ready answers
Java / Spring Focus

Java NIO, Netty, Spring WebFlux, Spring WebSocket, gRPC-Java, WebClient, Spring Security OAuth2, and Resilience4j examples are included throughout.

πŸ“–
Track Page Progress0 / 635 Read
Knowledge Base Completion0%