Cilium eBPF · VXLAN 跨节点 Pod 通信全链路演示

数据包 eBPF 挂载点 (tc) cilium_vxlan 隧道设备 cilium_ipcache (BPF Map) 物理网卡 / Underlay
Node A 55.0.5.10 · Cilium Agent PodA 10.0.1.10/32 eth0@PodA lxcA (veth) ▲ veth pair tc ingress · bpf_lxc (from-container) cilium_ipcache (BPF Map) Pod IP → 定位 / 隧道端点 10.0.1.10 → 本机 · lxcA 10.0.2.20 → 55.0.5.11 · VNI 42 identity 1234 · tunnel cilium_vxlan 封装: IP(55.0.5.10→55.0.5.11) + UDP 8472 + VNI 42 eth0 (物理网卡) 物理网络 (Underlay) UDP 8472 Node B 55.0.5.11 · Cilium Agent PodB 10.0.2.20/32 eth0@PodB lxcB (veth) veth pair ▼ tc egress · bpf_lxc (to-container) cilium_ipcache VNI 42 → 本节点 ✓ id 1234 → 允许转发 ✓ cilium_vxlan (eBPF 解包) 解封装: 剥外层头 · 校验 VNI / identity eth0 (物理网卡) IP+UDP 8472 · VNI 42
步骤 1/8