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

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


> On Dec 14, 2016, at 8:31 AM, Valeri Galtsev <galtsev at kicp.uchicago.edu> wrote:
> 
>>> no, this is not possible. Jail can only have one IP address (in addition
>>> to loopback addresses).
>> 
>> Do you mean this just for jail.conf configuration/usage?
> 
> No, that was earlier, in /etc/rc.conf. Since then I've heard that it can
> be done on jail command line, though I never tried as I kind of prefer all
> my stuff done "generic" and uniform way, something done on command line
> what does not work in central configuration files be it /etc/rc.conf or
> /etc/jail.conf feels like hack to me, so I tend to avoid it.
> 
> Valeri

Thanks for clarifying Valeri- that makes complete sense.

My first impression of jail.conf is simply that it’s not quite complete in all the ways I need, yet it is certainly quite simple, UNIX-ish, and clean!  After hacking around with it, think that jail.conf is only a few features away from being something I’d consider to be an excellent base utility for starting/stopping my jailed systems.

Best,
.ike




More information about the freebsd-jail mailing list