From owner-freebsd-jail@FreeBSD.ORG Wed Apr 22 20:26:04 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A6D4106564A for ; Wed, 22 Apr 2009 20:26:04 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 169488FC18 for ; Wed, 22 Apr 2009 20:26:03 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6FA0519E023; Wed, 22 Apr 2009 22:26:01 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 44EEE19E019; Wed, 22 Apr 2009 22:25:59 +0200 (CEST) Message-ID: <49EF7D57.9010307@quip.cz> Date: Wed, 22 Apr 2009 22:25:59 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Stefan Lambrev References: <20090207174104.Y93725@maildrop.int.zabbadoz.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: HEADS UP: multi-IPv4/v6/no-IP jails now in 7-STABLE X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Apr 2009 20:26:04 -0000 Stefan Lambrev wrote: > Hi, > > Does this allow multiple network interfaces to be used by a single jail > instance? Yes, I am using it. root@cage ~/# jls -v JID Hostname Path Name State CPUSetID IP Address(es) 25 costa.example.com /vol0/jail/costa ALIVE 2 xxx.yy.105.31 192.168.222.57 root@costa //# ifconfig nfe0: flags=8843 metric 0 mtu 1500 options=19b ether 00:1a:24:bd:e2:0f inet 192.168.222.57 netmask 0xffffffff broadcast 192.168.222.57 media: Ethernet autoselect (100baseTX ) status: active [...] bge1: flags=8843 metric 0 mtu 1500 options=9b ether 00:1a:24:bd:e2:0e inet xxx.yy.105.31 netmask 0xffffffff broadcast xxx.yy.105.31 media: Ethernet autoselect (100baseTX ) status: active Above command (ifconfig) is inside jail, manually stripped other interfaces. (xxx.yy replaces real IP address) bge1 is used for internet connection and nfe0 for access services in LAN Miroslav Lachman