From owner-freebsd-jail@freebsd.org Wed Oct 28 21:14:16 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 0FD15A201A9 for ; Wed, 28 Oct 2015 21:14:16 +0000 (UTC) (envelope-from James@Lodge.me.uk) Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0146.outbound.protection.outlook.com [157.55.234.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7D9241C95 for ; Wed, 28 Oct 2015 21:14:14 +0000 (UTC) (envelope-from James@Lodge.me.uk) Received: from VI1PR06MB1037.eurprd06.prod.outlook.com (10.162.123.156) by VI1PR06MB1040.eurprd06.prod.outlook.com (10.162.123.16) with Microsoft SMTP Server (TLS) id 15.1.312.18; Wed, 28 Oct 2015 21:14:04 +0000 Received: from VI1PR06MB1037.eurprd06.prod.outlook.com ([10.162.123.156]) by VI1PR06MB1037.eurprd06.prod.outlook.com ([10.162.123.156]) with mapi id 15.01.0312.014; Wed, 28 Oct 2015 21:14:04 +0000 From: James Lodge To: "freebsd-jail@freebsd.org" Subject: Re: Ip not configured on local interface Thread-Topic: Ip not configured on local interface Thread-Index: AQHREcRNkQljATEif0GxRFposArcg56BZaiY Date: Wed, 28 Oct 2015 21:14:04 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=James@Lodge.me.uk; x-originating-ip: [81.174.132.199] x-microsoft-exchange-diagnostics: 1; VI1PR06MB1040; 5:EFjXDLRBgQ9cDjgpDVXIDLfRK6H/qr54xCWc20uPXyWTd2aMDAAsmZdR6Ng1GwMVs9GEXOnsB6XSuafPELr0iETcvngSeEiaQZb+gx6YFoE1F4gwvcRJ2431BVJqhuS6Fy+MoWH/e4hEeXMVYVfVFA==; 24:3cVvgc5QMLOOaMZoZP5pV5WQVGdZUBLBFcyKGzpGQImxzTY+5GLQFdVgqq8UJdygVjluIkEoMQxkIWbQukDV12qedQ420aBqmz5wMn3bbrY=; 20:SstJ6ZUspNEqMOu6DdC2IQWMDh2ygPJK9xzbYP9gjqQpMVmlkd6k2E7MzUizXBjpD5naDA2vZWHJolLKhreFSA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR06MB1040; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046)(102215026); SRVR:VI1PR06MB1040; BCL:0; PCL:0; RULEID:; SRVR:VI1PR06MB1040; x-forefront-prvs: 0743E8D0A6 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(5007970100001)(106356001)(66066001)(106116001)(76176999)(5004730100002)(2351001)(40100003)(54356999)(450100001)(11100500001)(50986999)(86362001)(122556002)(97736004)(102836002)(76576001)(74482002)(5002640100001)(5001920100001)(5001960100002)(2501003)(107886002)(81156007)(110136002)(77096005)(87936001)(80792005)(10400500002)(2900100001)(101416001)(92566002)(5003600100002)(2950100001)(74316001)(5008740100001)(33656002)(105586002)(189998001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR06MB1040; H:VI1PR06MB1037.eurprd06.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: Lodge.me.uk does not designate permitted sender hosts) spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Lodge.me.uk X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Oct 2015 21:14:04.2551 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ded56ae9-7c77-4cf6-bbfd-39e6a505742d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR06MB1040 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: Wed, 28 Oct 2015 21:14:16 -0000 >Hello, > >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. > >This machine has only a single NIC connected to the network and I'm >cloning it repeatedly to a lo1 interface. > >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. > >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. > >Thanks. >Dave. Hi Dave, So you cloned lo1, is the IP of the error proned jail an alias address on t= he lo1 interface or do any interface reside on the subnet 192.168.0.0/24 here is my lo1 interface that my ezjail's use. One alias for each jail.=20 lo1: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet 172.16.1.2 netmask 0xffffffff inet 172.16.1.3 netmask 0xffffffff inet 172.16.1.4 netmask 0xffffffff inet 172.16.1.5 netmask 0xffffffff inet 172.16.1.6 netmask 0xffffffff inet 172.16.1.7 netmask 0xffffffff inet 172.16.1.8 netmask 0xffffffff inet 172.16.1.9 netmask 0xffffffff inet 172.16.1.10 netmask 0xffff0000 nd6 options=3D29 Regards James =