Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 12:21:52 -0800
From:      Sergei G <sergeig.public@gmail.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   netmask with qjail
Message-ID:  <CAFLLzCP03=1yj5=YcX2U0ENNpmkHBc1dtVw89VFjG=kgu3ugXg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFLLzCP03=1yj5=YcX2U0ENNpmkHBc1dtVw89VFjG=kgu3ugXg>