Loading…
Loading…
TCP/IP
A complete TCP/IP networking course for students and working engineers: addressing and subnetting, Ethernet and ARP, IP, DHCP, NAT, ICMP, UDP, DNS, TCP connections, retransmission and congestion control, TLS, IPsec, QUIC and troubleshooting. 91 articles with practice quizzes.
How a host with several addresses decides which packets are for it (weak and strong host models), which of its addresses to send from and which of a server's addresses to try first (RFC 6724), how Mobile IP keeps an address while moving, and the attacks that target IP itself.
kvi5hnuCode Sprout team member20 minHow hosts and routers decide where each IP datagram goes next: what a forwarding table contains, the longest prefix match rule, direct and indirect delivery, why MAC addresses change at every hop while IP addresses don't, and what happens when there is no route.
kvi5hnuCode Sprout team member15 minHow IPv4 carries options inside its header and why they're rarely used, then how IPv6 chains extension headers: Hop-by-Hop and Destination Options, the unknown-option action bits, Routing headers and the deprecated RH0, and the Fragment header, all tested in a lab.
kvi5hnuCode Sprout team member17 minHow the second byte of the IP header marks packets: DSCP classes such as EF, AF, CS and LE, how routers turn marks into priority, and how ECN lets routers signal congestion without dropping packets, measured with real queues.
kvi5hnuCode Sprout team member16 minHow the 16-bit Internet checksum used by IPv4, ICMP, UDP and TCP is computed step by step, how routers update it after changing TTL, what corruption it catches and misses, and why captures show "bad" checksums caused by offload.
kvi5hnuCode Sprout team member14 minWhat IP promises and what it doesn't, then every field of the IPv4 and IPv6 headers: lengths, identification, TTL and hop limit, protocol numbers, checksums, flow labels and addresses, decoded from real captures across a chain of routers.
kvi5hnuCode Sprout team member18 minThe other uses of ARP: proxy ARP, gratuitous ARP for failover, address conflict detection (RFC 5227), static entries and the arp command, setting an embedded device's address, and how ARP spoofing works and is stopped.
kvi5hnuCode Sprout team member17 minHow a host turns a next-hop IPv4 address into a MAC address with the Address Resolution Protocol: direct delivery and the role of the router, the request and reply on the wire, the 28-byte message format, the ARP cache and its states on Linux, and what happens when nobody answers.
kvi5hnuCode Sprout team member15 minThe loopback interface and 127.0.0.0/8, what the MTU and path MTU are and what happens when a packet is too big, how tunnels such as IP-in-IP, GRE, VXLAN and WireGuard wrap packets and what each costs, links that work in only one direction, and the classic attacks on the link layer.
kvi5hnuCode Sprout team member19 minHow PPP frames packets on a point-to-point link, negotiates the link with LCP, authenticates with PAP, CHAP or EAP and configures IPv4 and IPv6 with IPCP and IPV6CP, and how PPPoE runs PPP sessions over Ethernet for broadband, shown with a real session captured in the lab.
kvi5hnuCode Sprout team member17 minHow Wi-Fi carries IP: 802.11 frames and their four addresses, power saving, sharing the air with backoff and RTS/CTS, QoS, channels and bands, how rates are computed up to Wi-Fi 7, and security from WEP to WPA3.
kvi5hnuCode Sprout team member25 minHow a switch learns where each MAC address lives, floods frames it can't place and forgets stale entries; why a loop of switches melts down without a spanning tree; how STP elects a root, assigns port roles and reconverges; and what RSTP, MSTP, MRP and modern data center fabrics changed.
kvi5hnuCode Sprout team member20 minHow two Ethernet ports agree on speed and duplex, why a duplex mismatch half-works, what ethtool shows, how Wake-on-LAN magic packets wake a sleeping computer, how Energy-Efficient Ethernet saves power, and why PAUSE frames are rarely used except in data centers.
kvi5hnuCode Sprout team member16 minHow one switch becomes several isolated LANs with 802.1Q VLANs, what the 4-byte tag carries, access and trunk ports, routing between VLANs, Q-in-Q, 802.1p priority classes, and how LACP bundles several links into one with per-flow hashing.
kvi5hnuCode Sprout team member19 minHow Ethernet carries IP packets: the history from shared cable to switched full duplex, the IEEE 802 family, every field of the Ethernet frame, MAC address bits, EtherTypes, the CRC-32 check, minimum and maximum sizes, jumbo frames and today's speeds up to 800 Gb/s.
kvi5hnuCode Sprout team member22 minHow IP addresses reach networks: IANA and the five regional registries, IPv4 exhaustion and the transfer market, provider-aggregatable versus provider-independent space, how sites are numbered and multihomed, AS numbers, and why an IP address is weak evidence of who someone is.
kvi5hnuCode Sprout team member17 minHow multicast group addresses are laid out in IPv4 (224.0.0.0/4 and its blocks) and IPv6 (ff00::/8 with flags and scopes), how they map to Ethernet addresses, how groups are allocated, and how anycast lets one unicast address be answered by the nearest of many servers.
kvi5hnuCode Sprout team member18 minThe IPv4 and IPv6 ranges that aren't ordinary Internet addresses: private and unique local space, loopback, link-local, 0.0.0.0 and ::, documentation and benchmarking ranges, carrier-grade NAT space, and the prefixes used to embed IPv4 addresses in IPv6 for translation.
kvi5hnuCode Sprout team member14 minHow to read and write 128-bit IPv6 addresses correctly, how prefixes and /64 subnets work, what scopes and zone IDs mean, how hosts build interface identifiers from MAC addresses or random values, and why your machine has several IPv6 addresses at once.
kvi5hnuCode Sprout team member15 minHow Classless Inter-Domain Routing replaced address classes with prefixes of any length, how hierarchy and aggregation keep routing tables small, when two routes can and can't be merged, and how routers choose among overlapping routes with longest prefix match.
kvi5hnuCode Sprout team member13 min