From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 17:34:43 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2362C106568D for ; Wed, 30 Nov 2011 17:34:43 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id ABB7E8FC18 for ; Wed, 30 Nov 2011 17:34:42 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id D201678C62 for ; Wed, 30 Nov 2011 18:34:40 +0100 (CET) X-Virus-Scanned: amavisd-new 2.7.0 (20110701) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id snPaq_31Z3Pd for ; Wed, 30 Nov 2011 18:34:40 +0100 (CET) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 72BE878C60 for ; Wed, 30 Nov 2011 18:34:40 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: bsd Resent-From: bsd In-Reply-To: <1322671555.30964.YahooMailNeo@web122216.mail.ne1.yahoo.com> Date: Wed, 30 Nov 2011 18:33:58 +0100 Content-Transfer-Encoding: quoted-printable Resent-Date: Wed, 30 Nov 2011 18:34:41 +0100 Message-Id: <7385ED29-EB13-4D7F-8ECA-832AADFA3883@todoo.biz> References: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> <1322671555.30964.YahooMailNeo@web122216.mail.ne1.yahoo.com> Resent-To: Liste FreeBSD To: masayoshi X-Mailer: Apple Mail (2.1084) Resent-Message-Id: <20111130173440.D201678C62@newmail.rmm.fr> Cc: Subject: Re: Problem with jail network 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, 30 Nov 2011 17:34:43 -0000 Le 30 nov. 2011 =E0 17:45, masayoshi a =E9crit : >=20 > ----- Original Message ----- >> From: bsd >> To: Liste FreeBSD >> Cc:=20 >> Sent: Thursday, 1 December 2011 1:05 AM >> Subject: Problem with jail network=20 >>=20 >> Hi,=20 >>=20 >> I have been configuring a jail system using the howto provided here :=20= >> http://www.freebsd.org/doc/handbook/jails-application.html >>=20 >> The is now correctly starting, but I can't seem to use the network = stack.=20 >>=20 >>=20 >>> root@master 16:52:55 ~ -> jls >>> JID IP Address Hostname Path >>> 1 xx.216.yy.150 n0.no.no /jail/j/n0 >>=20 >>=20 >> But I can't ping neither outside of the jail, nor inside of It.=20 >>=20 >> I am a bit confused because I don't know if I have to configure the = IP using=20 >> an alias on the main Eth interface, or do something else.=20 >>=20 >>> ifconfig_bce0_alias0=3D"inetxx.216.yy.150/32" >>=20 >>=20 >>=20 >> This last command seems to have frozen my system.=20 >>=20 >>=20 >> Since I can't reach the network, I can't install ports either=85 !=20 >>=20 >=20 > It might be wrong information. >_> > Perhaps you might setup /etc/resolv.conf in Jail? >=20 > http://www.cyberciti.biz/faq/freebsd-mount_nullf-usrports-inside-jail/ >=20 root@master 18:27:21 ~ -> jls JID IP Address Hostname Path 1 1.2.3.4 n0.n.o /jail/j/ns0 root@master 18:27:25 ~ -> jexec 1 sh # more /etc/resolv.conf domain n.o nameserver 8.8.8.8 ---- n0# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C --- 8.8.8.8 ping statistics --- 13 packets transmitted, 0 packets received, 100.0% packet loss >=20 > --- > Inexperienced FreeBSD user: Level 4 > masayoshi & Ayumi Kinoshita > http://tinyurl.com/63zg3op >>=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 ---------> Gr=E9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96= =96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96=96 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO