Bring Cloud-Native Networking to FreeBSD Jails: Porting Calico from Linux
Soma Sakaguchi, Shintaro Suzuki, Yuki Nakata, Katsuya Matsubara
Abstract
While Linux containers benefit from a rich ecosystem of Container Network Interface (CNI) plugins such as Calico and Cilium, FreeBSD Jails lacked native, standardized solutions for advanced networking. As a result, users have relied on manual, error-prone configurations, limiting scalability and integration with modern orchestration platforms. This paper introduces porting Calico, a widely adopted CNI plugin, to the FreeBSD operating system. Our approach replaced Linux-specific components with FreeBSD-native equivalents: iptables with ipfw, netlink sockets with routing sockets, and Linux network namespaces with FreeBSD's vnet. This work aims to bridge the gap between Linux and BSD container networking. By providing scalable, policy-driven capabilities that are compatible with existing Linux-centric infrastructure, FreeBSD can participate more fully in the broader container networking ecosystem.
Create a lesson
Metadata
- Journal
- AsiaBSDCon 2026 Proceedings, pp. 63-69
- Comments
- 7 pages, 12 figures. Appeared in the peer-reviewed Proceedings of AsiaBSDCon 2025
Related papers
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge-Cloud Continuum
Shared title terminologycs.OSYuki Nakata, Katsuya Matsubara
Benchmarking Linux CGroup and Schedule Idle
Shared title terminologycs.OSAnna Arpaci-Dusseau
HyCoInfer: Cloud-Edge Collaborative Inference for Large Language Models on Heterogeneous GPU-FPGA Architectures
Shared title terminologycs.OSZewen Huang, Xiangwen Zhuge, Yingkun Hu et al.
Restoring Fair Hrtick Re-arming After Same-Task Repicks in the Linux EEVDF Scheduler
Shared title terminologycs.OSShubhang Kaushik
Breaking the Coupling: Efficient Concurrency Fuzzing for Linux Kernel Data Race Detection
Shared title terminologycs.OSCen Zhang, Jia-Ju Bai, Zi-Yu Zhang et al.
Behind a Simple Read: Understanding Work and Waiting in the Linux I/O Stack
Shared title terminologycs.OSYang Shen, Wenzhe Zhang, Yong Dong et al.