Date: Sun, 2 Apr 2017 22:55:32 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Orion Tiller <orion@getseenmedia.com> Cc: "James B. Byrne" <byrnejb@harte-lyne.ca>, freebsd-questions@freebsd.org Subject: Re: Multiple Jails on a single host Message-ID: <20170402223540.E37176@sola.nimnet.asn.au> In-Reply-To: <mailman.105.1491134402.99966.freebsd-questions@freebsd.org> References: <mailman.105.1491134402.99966.freebsd-questions@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In freebsd-questions Digest, Vol 669, Issue 8, Message: 11 On Sat, 1 Apr 2017 17:30:16 -0700 Orion Tiller <orion@getseenmedia.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170402223540.E37176>