Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jun 2013 12:59:41 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Ivailo Tanusheff <Ivailo.Tanusheff@skrill.com>
Cc:        "freebsd-jail@freebsd.org" <freebsd-jail@freebsd.org>
Subject:   Re: Re[2]: Loopback and jail.conf
Message-ID:  <20130626105941.GB88288@e-new.0x20.net>
In-Reply-To: <be8d2dc0df404c1690632f2ee4a672fc@DB3PR07MB059.eurprd07.prod.outlook.com>
References:  <c898faef5f134918a70be6b19553147c@DB3PR07MB059.eurprd07.prod.outlook.com> <47884.1372170009.2473495096945672192@ffe11.ukr.net> <d6b60c5b98b54d06adbf91a434c81cbf@DB3PR07MB059.eurprd07.prod.outlook.com> <7886.1372224256.3399318910023041024@ffe6.ukr.net> <be8d2dc0df404c1690632f2ee4a672fc@DB3PR07MB059.eurprd07.prod.outlook.com>

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

--K8nIJk4ghYZn606h
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 26, 2013 at 07:47:25AM +0000, Ivailo Tanusheff wrote:
> Mate, I do not need pf or ipfw :)
> Maybe I did not describe it well, what I simply need is:
>=20
> Jail 1:
>   Interface em0: 192.168.0.1
>   Interface lo0: 127.0.0.1
>=20
> Jail 2:
>   Interface em0: 192.168.0.2
>   Interface lo0: 127.0.0.1
>=20
> Jail 3:
>   Interface em0: 192.168.0.3
>   Interface lo0: 127.0.0.1
>=20
> As you can see, there the same address for the loopback, which gives me a=
n error when I start the jail:
> Jail 1 starts ok.
> Then when I start Jail 2:
> jail: jail2: IPv4 addresses clash
>=20
> What I use in jail.conf:
>=20
> Jail1: ip4.addr =3D 192.168.0.1 , 127.0.0.1;
> Jail2: ip4.addr =3D 192.168.0.2 , 127.0.0.1;

You can add aliases to lo0: 127.0.0.2, .3, .4, ...



--K8nIJk4ghYZn606h
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlHKyZ0ACgkQKc512sD3afhnFQCeOdq77YvmL3bbA2GvAmyHullk
wSgAoJwvAKlMjAJqK7InQaXWUKyv8za6
=0Sqk
-----END PGP SIGNATURE-----

--K8nIJk4ghYZn606h--



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