From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 21:54:45 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 953FF106564A for ; Sat, 3 Dec 2011 21:54:45 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 272718FC13 for ; Sat, 3 Dec 2011 21:54:45 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id pB3LsfMt001791 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 3 Dec 2011 21:54:41 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.1 smtp.infracaninophile.co.uk pB3LsfMt001791 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1322949281; bh=q6ly8dcdYOJJC7X8bPG52DCjxejMEmz8A0vl1zmNBr4=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=Ew0kEBkSwwpFMLBXoeYDrLbiXUYhZ6M91HNl42OPrB/aB9Zxty7ZbAt/DyKmbQraM sSfumy8YY9g0/oZrc+VQ61rINc+Edm5tT3D+sk4XIsdYM42O1x3dgixScIoMNxufWB 8v+Z5fqq7xbqtV91zML3A+6D3OtFSLRxZDSrOQGo= Message-ID: <4EDA9A99.6000508@infracaninophile.co.uk> Date: Sat, 03 Dec 2011 21:54:33 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1322934867.86416.1.camel@blackfriar.inhio.eu> In-Reply-To: <1322934867.86416.1.camel@blackfriar.inhio.eu> X-Enigmail-Version: 1.3.3 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCCB1873F43DFC7A8963B7CA3" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Jails within different networks ... ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 21:54:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCCB1873F43DFC7A8963B7CA3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/12/2011 17:54, Snoop wrote: > I have 3 jails within the host xxx.xxx.26.224 configured in this way > (below) and everything works well. > What if I want to enable another jail but I don't want to assign to tha= t > my next available public ip address xxx.xxx.26.228/24 but I want this > jail to have a private ip address like 172.16.1.2/27? > Is that possible or it's a delirium? Sure you can do that. Remember the rule though, that the first IP from each different network configured on an interface must use the natural netmask for that network. Second and subsequent addresses from each different network can either use the all-ones (/32) netmask, or the natural netmask. This only changed a few years ago, so there's still a lot of advice going around saying you should use the older all-ones style, but in actuality you can do it which ever of those ways you want and it won't make any functional difference. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigCCB1873F43DFC7A8963B7CA3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7amqEACgkQ8Mjk52CukIzkBACcD8ce5rFYdErlEiMNwJqRHQCT SoAAn1oT5+PzEC81CMeEEmK7kQctCxFv =+QaI -----END PGP SIGNATURE----- --------------enigCCB1873F43DFC7A8963B7CA3--