Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Dec 2011 21:54:33 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: Jails within different networks ... ?
Message-ID:  <4EDA9A99.6000508@infracaninophile.co.uk>
In-Reply-To: <1322934867.86416.1.camel@blackfriar.inhio.eu>
References:  <1322934867.86416.1.camel@blackfriar.inhio.eu>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDA9A99.6000508>