multiple interfaces for jail.conf(1) and jail_set(2)

Isaac (.ike) Levy ike at blackskyresearch.net
Wed Dec 14 17:51:10 UTC 2016


Hi Alan,

> On Dec 14, 2016, at 12:43 AM, Allan Jude <allanjude at freebsd.org> wrote:
> 
> In ezjail I can just do this:
> 
> 
> export
> jail_something_scaleengine_net_ip="vlan43|10.0.0.17,vlan43|2001:470:1::1:6667,lo0|127.0.3.1"
> 
> If you include the interface name like that, it will automatically add
> the alias when the jail starts, and remove it when the jail stops
> (simplifying the task of moving the jail to a different host)
> 
> If the IP is already bound to the machine, just use the comma separated
> list of IPs.
> 
> 
> -- 
> Allan Jude

While I appreciate the post, and the syntax is certainly cool to see, my question is not about ezjail- I would ask questions about ezjail on whatever respective list there is for that project.

My question is about the relatively new and slick jail.conf(1) and jail_set(2) subsystems in base.

Best,
.ike




More information about the freebsd-jail mailing list