From owner-freebsd-questions@freebsd.org Wed Feb 10 20:21:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E89BAA424E for ; Wed, 10 Feb 2016 20:21:53 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: from mail-vk0-x236.google.com (mail-vk0-x236.google.com [IPv6:2607:f8b0:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1CE021790 for ; Wed, 10 Feb 2016 20:21:53 +0000 (UTC) (envelope-from sergeig.public@gmail.com) Received: by mail-vk0-x236.google.com with SMTP id c3so22102568vkb.3 for ; Wed, 10 Feb 2016 12:21:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=QZE5VUrUM4wRAkvN8RPnwqKxfCpSWSN9WiAxtqqlEVc=; b=EHmXEZkhPHuTV2nASr0M3NTq4df4hhTZnIy2iBzvqYaw7B0YxWp6PLy0a1NUNrnpvl KS4o9/9gS/Nqknq8Uc+I7c3ZKjrZHLS2HlnW+tnZKWj60tEA4+rWmHCy5dVDDbF30S82 TuvOhlmAKFD9tyZgC2L1GjsSbZmI2rpDlx+wC4LxtoRV2ibRUZZMvHOlUla/GIFjiU6m KzmAVlaeJ7qn9v7KlMGOqWH/IVROgA0vJS/EpfdoNLN3zbwpfIZKp+bQC3HRWgfvtrB8 X98VmbUeOz9mUptlBbIRb5ldc24lcdyWWy5+5XYxuUHTM8z+zBtN61T06ZDV1nVmFJQK NpTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=QZE5VUrUM4wRAkvN8RPnwqKxfCpSWSN9WiAxtqqlEVc=; b=FYqBGaVXZI/E758/pNtJc6pdkoWKlXokcZFxnT9BoRNXDxfx1M/ywsTl/CnJI+JiyH x40q5OighOFN4L/qWIoZByNmUbFmW8m+6F4bJg5WZzLZ/uOtWCix305ME1l00eI4PfhJ ndnPZihCjRsDkvFkeU3EKPHtOH3fXOeZO2CMQ2bexUZT1NEbccrCbriPhUT19vISvS91 FW1YuX29zWDBOzbAz5bIo0Br5sWhkYrE5gn/d5AzLtlVgg1GeWpXUxwgCLyWbGpHpRUg CGDSaYsXOG2xrUQzmJnV2QnL6FfYSFx7s4Un1btiTE9fox2VKHJHfD2Sr55jBMPSFepo ey/g== X-Gm-Message-State: AG10YOQVNfeolpwpyVX0md6bYPyM1cgDzHN9MivCXdJ+O3Fn9MrGl2kX7cTjt+wMAddeFcmE2yIFfbUkNbw72g== MIME-Version: 1.0 X-Received: by 10.31.16.37 with SMTP id g37mr8080141vki.106.1455135712264; Wed, 10 Feb 2016 12:21:52 -0800 (PST) Received: by 10.31.174.132 with HTTP; Wed, 10 Feb 2016 12:21:52 -0800 (PST) Date: Wed, 10 Feb 2016 12:21:52 -0800 Message-ID: Subject: netmask with qjail From: Sergei G To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 20:21:53 -0000 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.