IPAM and dataplanes
Address allocation and packet forwarding are different
IP address management (IPAM) chooses and tracks usable addresses; a dataplane forwards actual packets. A correctly assigned address is necessary but does not guarantee that another node can reach it. In this chapter, compare two hypothetical ways to transport traffic between the bookstore Pods. The models are independent of any specific CNI installation.
Avoid overlapping address pools
Our two nodes use 10.42.1.0/24 and 10.42.2.0/24, while the Service range is 10.96.0.0/16. In the illustrated per-node allocation design, disjoint ranges avoid allocating the same Pod IP on two nodes. A host-local IPAM plugin stores allocation state locally, so the surrounding system must coordinate node ranges when unique cluster-wide addresses are required. Other IPAM systems coordinate via different mechanisms. Compare Pod, Service, node, peered and VPN networks before allocating ranges. Capacity depends on reservations, plugin design, address family and node limits; a /24 is not a promise of 256 available Pods. Dual-stack requires separate family-aware allocation and routing checks.
node-a: 10.42.1.0/24node-b: 10.42.2.0/24services: 10.96.0.0/1610.42.1.128/25 overlaps node-a — reject in this design.Overlay versus routed forwarding
An underlay is the actual network linking nodes. An overlay carries an inner packet inside another transport packet. In this example an inner packet from shop to inventory keeps its Pod source and destination; the outer addresses identify the transporting nodes. The receiving node removes the outer headers. A routed design instead makes Pod prefixes reachable through the underlying routing system, without an extra tunnel in this example. Routes may be distributed by BGP or configured through other mechanisms. Neither design automatically implies encryption. Both need compatible policy, correct return paths and sufficient MTU.
Overlay: [outer node-a -> node-b] [inner shop -> inventory] [payload]Routed: [shop -> inventory] [payload] via the underlay routeCalculate a packet size budget
MTU is the maximum packet size supported at a given interface or path layer. Suppose the underlay IP MTU is 1500 bytes and the complete assumed encapsulation overhead relative to the inner IP packet is 50 bytes. The inner budget is 1450 bytes: 1450 + 50 = 1500 fits; 1451 + 50 = 1501 does not fit without additional handling. This is a hypothetical arithmetic model, not a universal VXLAN setting. Outer IP family, tunnel type, encryption and links can change overhead. Path MTU discovery, fragmentation behavior and application protocol matter. Small requests succeeding while larger ones stall suggests checking MTU among other possibilities.
underlay IP MTU = 1500assumed total overhead = 50inner budget = 1450 bytesCompare network implementations by requirements
Calico documents routed and encapsulated options and policy integration. Cilium documents native and tunnel routing, optional eBPF Service replacement and Hubble flow visibility when configured. Flannel provides a Pod network fabric with multiple backends; its project documentation describes an optional separate network policy controller integration, so verify the chosen deployment actually enforces policies. Do not rank these products by name alone. Check supported versions, Linux or Windows requirements, IPAM, IPv6, underlay integration, policy behavior, observability and operational ownership. Flow visibility depends on enabled components and observation scope; it is not automatically complete. These are documented options, not a validated compatibility matrix.
Practice investigating a cross-node failure
Review ipam-cases.json, mtu-cases.json and diagnostic-cases.json. Reject overlapping pools, calculate the inner packet budget, and classify the first failing synthetic probe. For a live incident, inspect approved node/Pod status, relevant plugin logs and routes, verify intended allow/deny and application results, and consult the pinned implementation documentation before proposing a change. Avoid host networking changes, public scans and packet capture of other users. The validator checks only the simplified arithmetic and logic. Next: CoreDNS and endpoint diagnosis.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
IPAM and dataplanes — knowledge check
Reason about synthetic Kubernetes networking scenarios.
Which pair overlaps?
In the hypothetical 1500-byte path with 50 bytes overhead, what is the inner budget?
What does an overlay add in the model?
Why coordinate per-node ranges with host-local IPAM?
Which criterion is most useful when selecting an implementation?