Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Oct 2015 20:23:21 -0400
From:      Allan Jude <allanjude@freebsd.org>
To:        freebsd-jail@freebsd.org
Subject:   Re: Ip not configured on local interface
Message-ID:  <563166F9.1040902@freebsd.org>
In-Reply-To: <CAPORhP73BJSDHGo08ibeLzTPADJqcQUftwgs=DF6E0fOfffO6g@mail.gmail.com>
References:  <CAPORhP73BJSDHGo08ibeLzTPADJqcQUftwgs=DF6E0fOfffO6g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--Nqbq36unWVdhDnefN8oBV3VtgIvuFM3Cd
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 2015-10-28 17:04, David Mehler wrote:
> Hello,
>=20
> I'm running a FreeBSD 10.2 system and running jails created by ezjail.
> I'm getting an error on jail creation that the IP selected for the
> jail is not configured on any local interface, for example
> 192.168.0.1.
>=20
> This machine has only a single NIC connected to the network and I'm
> cloning it repeatedly to a lo1 interface.
>=20
> After reading list traffic I'm wondering if my method, which I last
> used several years back in the 5.4 days, is no longer valid.
> Performance on my jails is sluggish, sometimes they have a hard time
> reaching the internet sometimes they don't work at all, for example I
> have a caching nameserver defined on the 192.168.x.x subnet and jails
> on that subnet can't reach it.
>=20
> Is there something better out there than ezjail? If so, how hard will
> it be to migrate configurations over? I've got two jails, the first
> the caching nameserver, the second a web server/test server with a
> great many packages.
>=20
> Thanks.
> Dave.
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"=

>=20

In ezjail, if you just define the IP address as lo1|192.168.0.1
the jail system will automatically create the alias on that interface
when the jail starts, and remove it when the jail stops. It is much
easier than manually managing the interfaces.

--=20
Allan Jude


--Nqbq36unWVdhDnefN8oBV3VtgIvuFM3Cd
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQIcBAEBAgAGBQJWMWb8AAoJEBmVNT4SmAt+BXsP/jgHUeuqIvYu15RTuFGAeun8
70qbOKpgPa9nAi5fm8KDsGDpywv4pzIDmhi1jnHz01/XgZKoR9mjZsXALLBj1hSP
ii2/Z6TP9jIBJd5+LwLUik+h9NuGBEt6rFHJPvBaOkrzn9mC+TlSECi4zz9LgPb+
eNLneSAPrtWuSEYvYAqof0u315899YyFwWlni9bVtCSrsUfqjrtAmExVNMcPS68c
X+KMO2rBXdll59h+L72KpnqI1FNWiJkws3qLTywEfihCCeBV0czysYoE5sGJW6DB
0ahXtrSqDdcC3UvU6YsSENS+YCce3wI450NtFOciBKxvqniXWYCP1UTsuxYrv7cc
RyHsGn6Zp7BGYLqaLTejTt+OqsU//0MedIekAkdV+xLC3nkgaSDrtx3yHrrGXqYy
sqhRdMUx1OhqH3ur67h+2fFA828lXG5HpvQHOqA12PHcdd0H0dYvNXsKFeNLctgw
pwU0HYtUjhc8lVhVKx+qXTcMSHLWjnzcy/7gR4XTq0Q0Pam/0oqUvCNz1joQODdq
CenUc6c7zICoDwFXkgmYjE537oRtwN75B9YfMqv9aAMY5eBN+a8dbtGqFeiaquZc
VmESTJsVDKAU1ZE1UgNrOUOeaBrqPrCjiVYNrUKVvQTzNakgDMSiPKrFIMdlKyAZ
a9pU0/YN792EqF6CRHbo
=VThv
-----END PGP SIGNATURE-----

--Nqbq36unWVdhDnefN8oBV3VtgIvuFM3Cd--



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