Skip to content

Bring Cloud-Native Networking to FreeBSD Jails: Porting Calico from Linux

Soma Sakaguchi, Shintaro Suzuki, Yuki Nakata, Katsuya Matsubara

cs.OS

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