From owner-freebsd-questions@freebsd.org Sun Apr 2 12:55:56 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 1FEDDD29C2B for ; Sun, 2 Apr 2017 12:55:56 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E6166E7 for ; Sun, 2 Apr 2017 12:55:54 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id v32CtW82007277; Sun, 2 Apr 2017 22:55:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sun, 2 Apr 2017 22:55:32 +1000 (EST) From: Ian Smith To: Orion Tiller cc: "James B. Byrne" , freebsd-questions@freebsd.org Subject: Re: Multiple Jails on a single host In-Reply-To: Message-ID: <20170402223540.E37176@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 12:55:56 -0000 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