From owner-freebsd-jail@freebsd.org Sat Dec 12 01:05:26 2015 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F32D9D8556 for ; Sat, 12 Dec 2015 01:05:26 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 870EE1D2E for ; Sat, 12 Dec 2015 01:05:25 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 22935 invoked from network); 12 Dec 2015 01:05:21 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES128-SHA encrypted); 12 Dec 2015 01:05:21 -0000 Subject: Re: Configuring network without ezjail To: marcel , freebsd-jail@freebsd.org References: <566B67F7.1090404@gmail.com> <566B5CB6.8050009@erdgeist.org> <566B7D7E.2070507@gmail.com> From: Dirk Engling X-Enigmail-Draft-Status: N1110 Message-ID: <566B72CF.5020008@erdgeist.org> Date: Sat, 12 Dec 2015 02:05:19 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <566B7D7E.2070507@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Dec 2015 01:05:26 -0000 On 12.12.15 02:50, marcel wrote: > No I don't get to have an IP address... Yet I have writed this in my > host's rc.conf: > > jail_enable="YES" > jail_list="thename" > jail_guantanamo_rootdir="thepath" > jail_guantanamo_hostname="thename" > jail_guantanamo_ip="192.168.0.12" Well, what you write into your rc.conf is only relevant to the /etc/rc.d/jail script. If you're not using the script, you don't need these variables. You might man to look up the jail.conf(5) man page. > and I use the command: > > jail thepath thename 192.168.0.12 /bin/csh Looks like you need to create the jail first. Use the -c parameter to jail. However I suggest to configure your jails with either a tool like ezjail or at least start the jails with the /etc/rc.d/jail script. erdgeist