From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 19:28:26 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 A1612106564A for ; Wed, 30 Nov 2011 19:28:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 62F5E8FC18 for ; Wed, 30 Nov 2011 19:28:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-83-168.dynamic.qsc.de [92.195.83.168]) by mx02.qsc.de (Postfix) with ESMTP id A267424B7F; Wed, 30 Nov 2011 20:28:25 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id pAUJSPJx002363; Wed, 30 Nov 2011 20:28:25 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 30 Nov 2011 20:28:25 +0100 From: Polytropon To: bsd Message-Id: <20111130202825.9b761f97.freebsd@edvax.de> In-Reply-To: References: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> <4ED65705.8020503@my.gd> <5B932D73-456D-4895-BD8B-9BABAD7AE766@todoo.biz> <967536234.20111130193827@yandex.ru> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Liste FreeBSD Subject: Re: Re[2]: Problem with jail network X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2011 19:28:26 -0000 On Wed, 30 Nov 2011 20:19:56 +0100, bsd wrote: > Le 30 nov. 2011 à 18:38, Коньков Евгений a écrit : > > > Здравствуйте, bsd. > > > > Вы писали 30 ноября 2011 г., 19:29:34: > > > > b> Le 30 nov. 2011 а 17:17, Damien Fleuriot a йcrit : > > > >>> > >>> > >>> On 11/30/11 5:05 PM, bsd wrote: > >>>> Hi, > >>>> > >>>> I have been configuring a jail system using the howto provided here : http://www.freebsd.org/doc/handbook/jails-application.html > >>>> > >>>> The is now correctly starting, but I can't seem to use the network stack. > >>>> > >>>> > >>>>> root@master 16:52:55 ~ -> jls > >>>>> JID IP Address Hostname Path > >>>>> 1 xx.216.yy.150 n0.no.no /jail/j/n0 > >>>> > >>>> > >>>> But I can't ping neither outside of the jail, nor inside of It. > >>>> > >>>> 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. > >>>> > >>>>> ifconfig_bce0_alias0="inetxx.216.yy.150/32" > >>>> > >>>> > >>>> > >>>> This last command seems to have frozen my system. > >>>> > >>> > >>> Confirm that the MISSING SPACE between your "inet" and "xxx.216..." > >>> statements is only a typo and NOT present in your actual rc.conf > >>> > > > > b> This is confirmed. > > > > b> I have the equivalent of : > > > > b> ifconfig_bce0_alias0="inet 1.2.3.4/32" > > > > in this case I write full netmask: "inet 1.2.3.4 netmask 255.255.255.255" > > It works fine > > > > Ok, I'll try that with netmask 255.255.255.255 instead of /32 The hex notation should also be valid: ifconfig_bce0_alias0="inet 1.2.3.4 netmask 0xffffff00" -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...