From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:29:17 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 550EF106566B for ; Tue, 17 Nov 2009 17:29:17 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep23-int.chello.at (viefep23-int.chello.at [62.179.121.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF178FC08 for ; Tue, 17 Nov 2009 17:29:16 +0000 (UTC) Received: from edge05.upc.biz ([192.168.13.212]) by viefep20-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091117171149.ETGD19022.viefep20-int.chello.at@edge05.upc.biz> for ; Tue, 17 Nov 2009 18:11:49 +0100 Received: from [192.168.0.102] ([89.134.235.155]) by edge05.upc.biz with edge id 6HBo1d01e3MqfxD05HBpk0; Tue, 17 Nov 2009 18:11:49 +0100 X-SourceIP: 89.134.235.155 Message-ID: <4B02A81F.1030101@shopzeus.com> Date: Tue, 17 Nov 2009 18:11:51 +0430 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: jail - beginner questions 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: Tue, 17 Nov 2009 17:29:17 -0000 I'm experimenting with jails. I have installed a 7.2 stable FreeBSD inside vmware. Then I have created two jails, using the method written in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html The only thing that didn't work is this: cd /etc make distribution DESTDIR=$D I really think that it should be corrected to: cd /usr/src make distribution DESTDIR=$D After mounting devfs ("mount -t devfs devfs /vm1/dev") I try to start it: /etc/rc.d/vm1 start vm1 But then I get this error in syslog: bind: Can't assign requested address Here is the config from /etc/rc.conf (in the host): jail_enable="YES" # Set to NO to disable starting of any jails jail_list="vm1 vm2" # Space separated list of names of jails jail_vm1_rootdir="/vm1" # jail's root directory jail_vm1_hostname="vm1.localdomain" # jail's hostname jail_vm1_ip="192.168.0.11" # jail's IP address jail_vm1_devfs_enable="YES" # mount devfs in the jail jail_vm1_devfs_ruleset="vm1_ruleset" # devfs ruleset to apply to jail jail_vm2_rootdir="/vm2" # jail's root directory jail_vm2_hostname="vm2.localdomain" # jail's hostname jail_vm2_ip="192.168.0.12" # jail's IP address jail_vm2_devfs_enable="YES" # mount devfs in the jail jail_vm2_devfs_ruleset="vm2_ruleset" # devfs ruleset to apply to jail Please help. Thank you, Laszlo