Multiple Jails on a single host

James B. Byrne byrnejb at harte-lyne.ca
Sun Apr 2 15:11:39 UTC 2017


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



More information about the freebsd-questions mailing list