From owner-freebsd-questions@FreeBSD.ORG Mon Apr 6 14:53:11 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40DCEF6C for ; Mon, 6 Apr 2015 14:53:11 +0000 (UTC) Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AACC127C for ; Mon, 6 Apr 2015 14:53:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=+uEzwS+UOgtiLoH+xOPoh8op7HBopndEOBACsChv9r4=; b=GuEG21hbrCA59I0GTvcJTxWSoscZVoMuA7Tq9xYTR77Xf9bBTEOPZNjRKDMLj9npIZXce8oQtnKSMYvm9lDFw1vWGI6hq1fwGyS+gfzvHH24gj1sbVNHSWcsE9APO6aoU3dclTQYOEu7S4zQR+hnEwbHSw7YouNAcC2ucmRm4sI=; Received: from [109.188.125.8] (port=18233 helo=[192.168.0.12]) by smtp38.i.mail.ru with esmtpa (envelope-from ) id 1Yf8Ob-00086S-Tz; Mon, 06 Apr 2015 17:53:02 +0300 Message-ID: <55229DE1.5050700@artem.ru> Date: Mon, 06 Apr 2015 17:53:21 +0300 From: Artem Kuchin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Ernie Luzar Subject: Re: how to do interval jail ips References: <552297B5.1030203@artem.ru> <55229C4E.5050504@gmail.com> In-Reply-To: <55229C4E.5050504@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Apr 2015 14:53:11 -0000 06.04.2015 17:46, Ernie Luzar пишет: > Artem Kuchin wrote: >> Hello! >> >> I have several jails and some of the use real ips, some are just >> internal for the server like 10.0.0.x >> However, i assigned all ips to the external em0 interface. >> This causes problems, because of server in the same lan have 10.0.0.x >> address of their interfaces too. >> So, there is a conflict. >> This is just a colocation, so, i cannot control the ip assignment. >> >> What is the correct way to assign ip address which are seen only >> withing a host? >> (some kind of virtual NIC) >> >> Artem >> > > xl0,10.0.10.2 for lan on device xl0 > > em0,x.x.x.x for rl0 device facing pubic internet > > use the correct device names for you network configuration > i don't get it. I do not have xl0 device I only have em0 Or i can specify whatever device i like even if it is not installed in the server? Artem