From owner-freebsd-questions@FreeBSD.ORG Mon Apr 6 14:46:24 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 CE460A3C for ; Mon, 6 Apr 2015 14:46:24 +0000 (UTC) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 900F5169 for ; Mon, 6 Apr 2015 14:46:24 +0000 (UTC) Received: by iebmp1 with SMTP id mp1so22592827ieb.0 for ; Mon, 06 Apr 2015 07:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2a/AUr2y8RI8UJu/82Rl8IC5t87Pd9LnsPVW1E1oHqI=; b=I1gkzRKu4GFYqEgxAR2kRZ7qiFCEiv8fiLwgnhJZsqAwaIkGFW+Bk7ldJv3nKHe9AC yKuShnR40DxAko9GkHWVAVj/CMXpNcKA44tc0WUmWJYK4qivXxFLl1uFz8sTLmAErVD+ wnrcSKtF4cj/JRCVciXT2KHsrIRV2UP/NWZmRMzAg+jts5AjTQ5jIUIML0mEzpf1sLKs p6XinYfQxBvbKuu8Yix6AETm/iOrU5kNuOJLyDSFZCsetHn1rL+nPNS79QlKcEG+YbqD 5nUANp5BeGGFPysKI7WY90hjeo9fQh17BNLbDMpHVbc6zalzR2Uc9WfIFQzQFzUF5qqk CfGg== X-Received: by 10.42.249.77 with SMTP id mj13mr20042412icb.80.1428331583933; Mon, 06 Apr 2015 07:46:23 -0700 (PDT) Received: from [10.0.10.5] (cpe-76-190-244-6.neo.res.rr.com. [76.190.244.6]) by mx.google.com with ESMTPSA id h15sm2820646ioh.27.2015.04.06.07.46.22 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 06 Apr 2015 07:46:23 -0700 (PDT) Message-ID: <55229C4E.5050504@gmail.com> Date: Mon, 06 Apr 2015 10:46:38 -0400 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Artem Kuchin Subject: Re: how to do interval jail ips References: <552297B5.1030203@artem.ru> In-Reply-To: <552297B5.1030203@artem.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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:46:24 -0000 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