From owner-freebsd-questions@FreeBSD.ORG Wed Jun 17 08:26:18 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DEE9A1065670 for ; Wed, 17 Jun 2009 08:26:18 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from mail.locolomo.org (97.pool85-48-194.static.orange.es [85.48.194.97]) by mx1.freebsd.org (Postfix) with ESMTP id EDE398FC17 for ; Wed, 17 Jun 2009 08:26:17 +0000 (UTC) (envelope-from norgaard@locolomo.org) Received: from beta.1-16-172-dyn.locolomo.org (beta.1-16-172-dyn.locolomo.org [172.16.1.127]) by mail.locolomo.org (Postfix) with ESMTPSA id C08131C1A66 for ; Wed, 17 Jun 2009 10:26:14 +0200 (CEST) Message-ID: <4A38A8A6.4090702@locolomo.org> Date: Wed, 17 Jun 2009 10:26:14 +0200 From: Erik Norgaard User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: questions@freebsd.org References: <4A37F2B7.6000505@locolomo.org> In-Reply-To: <4A37F2B7.6000505@locolomo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Problem with jail connecting out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jun 2009 08:26:19 -0000 Erik Norgaard wrote: > I have no problem connecting from the host to the jail, but the other > way around doesn't work. > > Also, related, how do I configure multiple interfaces in a jail? Second problem solved, starting jail with # jail /var/jail jail 127.0.0.2,172.16.0.2 /bin/sh /etc/rc So, now I have: vr1: flags=8943 metric 0 mtu 1500 options=2808 ether 00:40:63:ee:97:f1 inet 172.16.0.2 netmask 0xffffffff broadcast 172.16.0.2 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.2 netmask 0xffffffff Now, I can connect out on vr1 to 172.16.0.1, but not on lo0 to 127.0.0.1. Any suggestions what might be wrong? Btw, this jail and host system is FBSD 7.2-STABLE. Thanks, Erik -- Erik Nørgaard Ph: +34.666334818/+34.915211157 http://www.locolomo.org