Virtualise your network on FreeBSD with VNET
FreeBSD Jails are a well-known feature and have become core to many excellent tools on FreeBSD such as the Poudriere package builder. Jails offer process and file system isolation, but for a long time they did not offer very satisfying network isolation. VIMAGE provides isolation for networking through virtual network stacks or VNET.
Source: Virtualize Your Network on FreeBSD with VNET, an article by Tom Jones.