FreeBSD jails: networking: iface aliases jail.conf

From wikinotes

This is the easiest, and most standard way of setting up networking within jails.

This is appropriate if you do not have any special needs
(ex: jail specific network interfaces, a separate loopback addr, etc).


This is preferred to the rc.conf method, since all of your jail
configuration is contained in one place (also it keeps your rc.conf clean).

# /etc/jail.conf

jailname {
  interface em0;
  ip4.addr "192.168.1.200";
  host.hostname "jailname";
}
sudo jail -c jailname  # start jail