From owner-freebsd-questions@FreeBSD.ORG Sat Dec 3 21:34:28 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 ABC2A106566C for ; Sat, 3 Dec 2011 21:34:28 +0000 (UTC) (envelope-from tam.sergio@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 34B078FC12 for ; Sat, 3 Dec 2011 21:34:27 +0000 (UTC) Received: by lahv2 with SMTP id v2so2434876lah.13 for ; Sat, 03 Dec 2011 13:34:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HBx1dSUSUJXuIwQ4J/225ipw2Cn4l+TXedRiNX7vD4w=; b=Olzz7rA0FQNPRL/RKCvNnaPu2PSv1Z9zQgwPC/09kX3ZGosxRyLua567TAGyqrP7rO zcdiTUWHf4deSLf718OB7taviFPmRNq2+Scz9+EtL6pKcRlwc5dquk3Zu5xTxYNZDW8o TV+Rh5MxFZ9uwyjCyx+CQU9zqMUenWImybmQs= MIME-Version: 1.0 Received: by 10.152.104.236 with SMTP id gh12mr2257225lab.49.1322948067002; Sat, 03 Dec 2011 13:34:27 -0800 (PST) Received: by 10.152.148.130 with HTTP; Sat, 3 Dec 2011 13:34:26 -0800 (PST) In-Reply-To: <1322934867.86416.1.camel@blackfriar.inhio.eu> References: <1322934867.86416.1.camel@blackfriar.inhio.eu> Date: Sat, 3 Dec 2011 15:34:26 -0600 Message-ID: From: Sergio Tam To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:34:28 -0000 2011/12/3 Snoop : > Hi there, I've a doubt! > 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? > I don't want to waste my public ip address for a jail which I want to > have a network configured but not to be publicly visible. > > Many thanks in advance. > > lagg0: flags=3D8843 metric 0 mtu > 1500 > > options=3D8009b > =A0 =A0 =A0 =A0ether 00:14:5e:ee:2b:c0 > =A0 =A0 =A0 =A0inet xxx.xxx.26.224 netmask 0xffffff00 broadcast xxx.xxx.2= 6.255 > =A0 =A0 =A0 =A0inet xxx.xxx.26.225 netmask 0xffffffff broadcast xxx.xxx.2= 6.225 > =A0 =A0 =A0 =A0inet xxx.xxx.26.226 netmask 0xffffffff broadcast xxx.xxx.2= 6.226 > =A0 =A0 =A0 =A0inet xxx.xxx.26.227 netmask 0xffffffff broadcast xxx.xxx.2= 6.227 > =A0 =A0 =A0 =A0media: Ethernet autoselect > =A0 =A0 =A0 =A0status: active > =A0 =A0 =A0 =A0laggproto failover > =A0 =A0 =A0 =A0laggport: bge1 flags=3D0<> > =A0 =A0 =A0 =A0laggport: bge0 flags=3D5 > Create an Alias Example: ifconfig_em0_alias0=3D"inet 192.0.2.9 netmask 255.255.255.255" http://blather.michaelwlucas.com/archives/1021 Regards.