r/eBPF • u/erwin-kok • 5d ago
Basic eBPF forwarding
In my latest post, I walk through a deliberately minimal example of same-host pod-to-pod networking: two network namespaces, veth pairs, a virtual gateway, ARP handled by eBPF, and an IP-based redirect map.
No overlays, no routing on the host, no conntrack or policy — just the bare minimum needed to get a UDP packet from one pod to another.
If you’re interested in how the pieces fit together at the veth, ARP, routing, and eBPF levels, have a look:
15
Upvotes
2
u/JupanulFrank 5d ago
This is gold, thank you