From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 19:19:59 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 3A2591065675 for ; Wed, 30 Nov 2011 19:19:59 +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 BFD0B8FC08 for ; Wed, 30 Nov 2011 19:19:58 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id AC90278C39 for ; Wed, 30 Nov 2011 20:19:56 +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 4lz8ZW3PCE9C for ; Wed, 30 Nov 2011 20:19:56 +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 5002F78C26 for ; Wed, 30 Nov 2011 20:19:56 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=utf-8 From: bsd X-Priority: 3 (Normal) In-Reply-To: <967536234.20111130193827@yandex.ru> Date: Wed, 30 Nov 2011 20:19:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> <4ED65705.8020503@my.gd> <5B932D73-456D-4895-BD8B-9BABAD7AE766@todoo.biz> <967536234.20111130193827@yandex.ru> To: Liste FreeBSD X-Mailer: Apple Mail (2.1084) Subject: Re: Re[2]: 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 19:19:59 -0000 Le 30 nov. 2011 =C3=A0 18:38, =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 = =D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9 a =C3=A9crit : > =D0=97=D0=B4=D1=80=D0=B0=D0=B2=D1=81=D1=82=D0=B2=D1=83=D0=B9=D1=82=D0=B5= , bsd. >=20 > =D0=92=D1=8B =D0=BF=D0=B8=D1=81=D0=B0=D0=BB=D0=B8 30 =D0=BD=D0=BE=D1=8F=D0= =B1=D1=80=D1=8F 2011 =D0=B3., 19:29:34: >=20 > b> Le 30 nov. 2011 =D0=B0 17:17, Damien Fleuriot a =D0=B9crit : >=20 >>>=20 >>>=20 >>> On 11/30/11 5:05 PM, bsd wrote: >>>> Hi,=20 >>>>=20 >>>> I have been configuring a jail system using the howto provided here = : 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 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 >>> Confirm that the MISSING SPACE between your "inet" and "xxx.216..." >>> statements is only a typo and NOT present in your actual rc.conf >>>=20 >=20 > b> This is confirmed.=20 >=20 > b> I have the equivalent of :=20 >=20 > b> ifconfig_bce0_alias0=3D"inet 1.2.3.4/32" >=20 > in this case I write full netmask: "inet 1.2.3.4 netmask = 255.255.255.255" > It works fine >=20 Ok, I'll try that with netmask 255.255.255.255 instead of /32 And use the mentionned parameters with raw socket.=20 Thx >=20 > --=20 > =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, > =D0=9A=D0=BE=D0=BD=D1=8C=D0=BA=D0=BE=D0=B2 = mailto:kes-kes@yandex.ru >=20 = =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93= =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93 ---------> Gr=C3=A9gory Bernard Director <--------- ---------------> www.osnet.eu <--------------- --> Your provider of OpenSource appliances <-- = =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93= =E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2= =80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80=93=E2=80= =93=E2=80=93=E2=80=93=E2=80=93=E2=80=93 OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO