Multiple Jails on a single host
Ian Smith
smithi at nimnet.asn.au
Sun Apr 2 12:55:56 UTC 2017
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
More information about the freebsd-questions
mailing list