From owner-freebsd-questions@FreeBSD.ORG Thu Dec 1 08:38:46 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 66989106564A for ; Thu, 1 Dec 2011 08:38:46 +0000 (UTC) (envelope-from joh.hendriks@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id F00A48FC13 for ; Thu, 1 Dec 2011 08:38:45 +0000 (UTC) Received: by eaai12 with SMTP id i12so2582231eaa.13 for ; Thu, 01 Dec 2011 00:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=sB1EooVfPc+uP9w6RyWyQlGDpBbL1mjhcxn6P20Wf+c=; b=NNtZjQs2P+VXgVoHzeG2NCO9Zn0nlt+izB8fTq9f9Oiz22z0L+bwPN7Xo+LalwXl7N N8NNSTa1E4lc+ziPneu9gQxlP+M/eKKs/eeuwHIyzrSPWDZOdC15fMqwWtA9Hg1XTO4P MxDm2UdFvrfTsuuhGHjN0AuwyUHvB4xai2454= Received: by 10.213.27.20 with SMTP id g20mr924067ebc.34.1322728724655; Thu, 01 Dec 2011 00:38:44 -0800 (PST) Received: from [192.168.1.129] (schavemaker.nl. [213.84.84.186]) by mx.google.com with ESMTPS id 17sm4010501eej.3.2011.12.01.00.38.40 (version=SSLv3 cipher=OTHER); Thu, 01 Dec 2011 00:38:43 -0800 (PST) Message-ID: <4ED73D0B.8020509@gmail.com> Date: Thu, 01 Dec 2011 09:38:35 +0100 From: Johan Hendriks User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: bsd References: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> In-Reply-To: <3EE6B227-24EC-4600-AF04-BEE7A04677FB@todoo.biz> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD 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: Thu, 01 Dec 2011 08:38:46 -0000 bsd schreef: > 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. > > > Since I can't reach the network, I can't install ports either… ! > > > Thanks for your help. > > Does your jail knows how to reach the router, or for that matter your host sytem. What does a traceroute do. You need to set some sysctl values to be able to ping or trace route from within a jail. regards, Johan Hendriks