From owner-freebsd-jail@freebsd.org Thu Oct 29 00:23:26 2015 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71B77A1F61C for ; Thu, 29 Oct 2015 00:23:26 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9181FC1 for ; Thu, 29 Oct 2015 00:23:25 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (unknown [10.1.1.2]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id A2419DD57 for ; Thu, 29 Oct 2015 00:23:19 +0000 (UTC) Subject: Re: Ip not configured on local interface To: freebsd-jail@freebsd.org References: From: Allan Jude Message-ID: <563166F9.1040902@freebsd.org> Date: Wed, 28 Oct 2015 20:23:21 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Nqbq36unWVdhDnefN8oBV3VtgIvuFM3Cd" X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Oct 2015 00:23:26 -0000 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--