Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Apr 2017 11:11:35 -0400
From:      "James B. Byrne" <byrnejb@harte-lyne.ca>
To:        "Ian Smith" <smithi@nimnet.asn.au>
Cc:        "Orion Tiller" <orion@getseenmedia.com>, freebsd-questions@freebsd.org
Subject:   Re: Multiple Jails on a single host
Message-ID:  <36e92fb58b181f6c8064e26ebda47f35.squirrel@webmail.harte-lyne.ca>
In-Reply-To: <20170402223540.E37176@sola.nimnet.asn.au>
References:  <mailman.105.1491134402.99966.freebsd-questions@freebsd.org> <20170402223540.E37176@sola.nimnet.asn.au>

next in thread | previous in thread | raw e-mail | index | archive | help

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
> <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
>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36e92fb58b181f6c8064e26ebda47f35.squirrel>