netmask with qjail

Sergei G sergeig.public at
Wed Feb 10 20:33:22 UTC 2016

Never mind,

after reading manual for qjail and jail(8) and changed

/usr/local/etc/qjail/qjail.conf/myjail file's line:

  ip4.add =;

and it worked.

On Wed, Feb 10, 2016 at 12:21 PM, Sergei G <sergeig.public at> wrote:

> I would like to control netmask in qjail environment and I can't figure
> out how.
> I looked quickly inside qjail script and all I see is that it does not
> allow IP/mask format for IP address.  So, I am a bit lost.
> The default mask reported by ifconfig inside jail is:
>  inet netmask 0xffffffff broadcast
> I'd like it to be like netmask 0xffffff00
> I am afraid that qjail simply does not allow netwmask as I can't find any
> reference to it in documentation.

More information about the freebsd-questions mailing list