Jails within different networks ... ?
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Dec 3 21:54:45 UTC 2011
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 that
> 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
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111203/3e77abf4/signature.pgp
More information about the freebsd-questions
mailing list