From owner-freebsd-questions@freebsd.org Sun Apr 2 15:11:39 2017 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 AB2A6D2A7EE for ; Sun, 2 Apr 2017 15:11:39 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from inet08.hamilton.harte-lyne.ca (inet08.hamilton.harte-lyne.ca [216.185.71.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "inet08.hamilton.harte-lyne.ca", Issuer "CA_HLL_ISSUER_2016" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 76C9D5F7 for ; Sun, 2 Apr 2017 15:11:39 +0000 (UTC) (envelope-from byrnejb@harte-lyne.ca) Received: from localhost (localhost [127.0.0.1]) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTP id 1DB18623BA; Sun, 2 Apr 2017 11:11:37 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from inet08.hamilton.harte-lyne.ca ([127.0.0.1]) by localhost (inet08.hamilton.harte-lyne.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CDrSSTrlBFIA; Sun, 2 Apr 2017 11:11:35 -0400 (EDT) Received: from webmail.harte-lyne.ca (inet04.hamilton.harte-lyne.ca [216.185.71.24]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by inet08.hamilton.harte-lyne.ca (Postfix) with ESMTPSA id CFDA962276; Sun, 2 Apr 2017 11:11:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1491145895; bh=Q4HGRIYPI1aLSonBmPd1eFzYc7n4j58a4k9vrBTT/wo=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=X3I0ocAIVwXoSIFhRNmECCJeKuUDByio6g00AwEcFsdMp4qT4gA7jXJZN5Bk68YPE A10ivSPUBoR/FuMlPDfzOehPo+ljlZgudAyxADpwS+WMYKymuYxMIvDE2HCtYWfwDT eUmWJgOHnpK2Jf+VWkmnY3Cx5IsXTeHPogfi5saCxFDxgQw9tYQ6LAFTe1hPAU2CRU N3n9gvEwLJzHtHGso1U1Evv3bgKq2BDSXZUKcTwDIdlOM7hUyM8URxhQItL7dJquRo A2cdFb1OMfpAk3B4zA8ZnSFoMuD2zex5p4AsDqPj7CCUvsFsMX4A7Rc4hhZ2zTNRkS AJg4KDhgHSw7w== Received: from 216.185.71.22 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Sun, 2 Apr 2017 11:11:35 -0400 Message-ID: <36e92fb58b181f6c8064e26ebda47f35.squirrel@webmail.harte-lyne.ca> In-Reply-To: <20170402223540.E37176@sola.nimnet.asn.au> References: <20170402223540.E37176@sola.nimnet.asn.au> Date: Sun, 2 Apr 2017 11:11:35 -0400 Subject: Re: Multiple Jails on a single host From: "James B. Byrne" To: "Ian Smith" Cc: "Orion Tiller" , freebsd-questions@freebsd.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.22-4.el6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Apr 2017 15:11:39 -0000 On Sun, April 2, 2017 08:55, Ian Smith wrote: > In freebsd-questions Digest, Vol 669, Issue 8, Message: 11 > On Sat, 1 Apr 2017 17:30:16 -0700 Orion Tiller > wrote: > (James B. Byrne wrote): > > > This is the altered configuration: > > > > > > /etc/rc.conf > > > > > > cloned_interfaces="lo1" > > > ipv4_addrs_lo1="192.168.209.33/32" > > > cloned_interfaces="lo2" > > > ipv4_addrs_lo2="192.168.209.18/32" > > > > try > > > > cloned_interfaces="lo1 lo2" > > ipv4_addrs_lo1="192.168.209.33/32" > > ipv4_addrs_lo2="192.168.209.18/32" > > Just to be sure James knows why that's correct, for future reference: > /etc/rc.conf is sourced[*] by /etc/rc, meaning its assignment > statements are executed sequentially, so any later > 'cloned_interfaces' replaces any earlier assignment - similarly of > course for any rc.conf variables. > > [*} indirectly; see load_rc_config() in /etc/rc.subr > > cheers, Ian > Thank you both. Now that I see it it makes perfect sense but I doubt that without your help I would have discovered the solution any time soon. Regards, -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3