netmask with qjail
sergeig.public at gmail.com
Wed Feb 10 20:33:22 UTC 2016
after reading manual for qjail and jail(8) and changed
/usr/local/etc/qjail/qjail.conf/myjail file's line:
ip4.add = 192.168.3.17/24;
and it worked.
On Wed, Feb 10, 2016 at 12:21 PM, Sergei G <sergeig.public at gmail.com> 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 192.168.3.17 netmask 0xffffffff broadcast 192.168.3.17
> 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