From owner-freebsd-jail@FreeBSD.ORG Mon Jul 7 17:10:07 2008 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 216B8106567E for ; Mon, 7 Jul 2008 17:10:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id CDC738FC1F for ; Mon, 7 Jul 2008 17:10:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 51E2C41C796; Mon, 7 Jul 2008 19:10:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 9bxr8oRH5600; Mon, 7 Jul 2008 19:10:04 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id F29A941C795; Mon, 7 Jul 2008 19:10:04 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 14C1744487F; Mon, 7 Jul 2008 17:05:55 +0000 (UTC) Date: Mon, 7 Jul 2008 17:05:55 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Christopher Thunes In-Reply-To: <48724934.8050503@brewtab.com> Message-ID: <20080707170411.N57089@maildrop.int.zabbadoz.net> References: <20080617175607.B83875@maildrop.int.zabbadoz.net> <6ae50c2d0806191123v1794d682rcae256d3a22625ed@mail.gmail.com> <48724934.8050503@brewtab.com> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-jail@freebsd.org Subject: Re: new set of multi-IPv4/v6/noIP jail patches 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: Mon, 07 Jul 2008 17:10:07 -0000 On Mon, 7 Jul 2008, Christopher Thunes wrote: Hi, > Should these patches allow multiples IPs which are on multiple interfaces? > I've been playing around with this and was unable to assign IP address from > more than one interface correctly. jls will show all IPs correctly but from > within the jail only IPs from one interface show up in ifconfig and are able > to be binded to. Did the patch apply cleanly? Which one? Which release? dopt# ifconfig lo1 create dopt# ifconfig lo1 inet 192.0.2.100/32 dopt# ifconfig lo2 create dopt# ifconfig lo2 inet 192.0.2.200/32 dopt# jail -n multiif /local/jails/j1 dopt 192.0.2.100,192.0.2.200 /sbin/ifconfig -a fxp0: flags=8802 metric 0 mtu 1500 options=b ether 00:e0:81:31:db:62 media: Ethernet autoselect (none) status: no carrier bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:e0:81:31:db:8c media: Ethernet autoselect (1000baseTX ) status: active bge1: flags=8802 metric 0 mtu 1500 options=9b ether 00:e0:81:31:db:8d media: Ethernet autoselect (none) status: no carrier lo0: flags=8049 metric 0 mtu 16384 lo1: flags=8049 metric 0 mtu 16384 inet 192.0.2.100 netmask 0xffffffff lo2: flags=8049 metric 0 mtu 16384 inet 192.0.2.200 netmask 0xffffffff dopt# Works here. Greetings Bjoern -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.