From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 19:26:58 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 180AC16A400 for ; Thu, 26 Apr 2007 19:26:58 +0000 (UTC) (envelope-from pereyra.roberto@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id B88C513C46A for ; Thu, 26 Apr 2007 19:26:57 +0000 (UTC) (envelope-from pereyra.roberto@gmail.com) Received: by nz-out-0506.google.com with SMTP id s1so164298nze for ; Thu, 26 Apr 2007 12:26:57 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FK3yd95YGFbqoTzeRID6e78bbAlbAnAzCGsGS4UZ+i8UMx/zAxOoL6/8BhkSukyYu5rZu9V4rk2X1df6LkJVc1YU5/iDv5/63iAltTbI1iYPAnoPWzeBTorzJt0mFdgVWGZsc3PguU7itp6eJJQeQ6PKR7gMQVdqUDADJplR08s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=S3cTMMppMyNN4naSplJhSgIgxtKEtYO09+PMN5qfzHuVN0NQF+UmJGES1zDXPETZFlL8Ckyqf5toRNiAazpsFxOFP4Qy9pouGVh5KlBeyug2roVWjG0nChGkZEpNnXQ/3HM2/YqbeSKyPL6v0eXlophbFojpH7Q9IEykc5+4Q88= Received: by 10.114.147.1 with SMTP id u1mr734370wad.1177615616465; Thu, 26 Apr 2007 12:26:56 -0700 (PDT) Received: by 10.114.13.5 with HTTP; Thu, 26 Apr 2007 12:26:56 -0700 (PDT) Message-ID: Date: Thu, 26 Apr 2007 16:26:56 -0300 From: "Roberto Pereyra" To: freebsd-questions@freebsd.org In-Reply-To: <46308EDF.9080602@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46308EDF.9080602@gmail.com> Subject: Re: jail question 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, 26 Apr 2007 19:26:58 -0000 Thanks to all!!! roberto 2007/4/26, Karol Kwiatkowski : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Roberto Pereyra wrote: > > hi > > > > I running fbsd 6.2 and I would like to my first jail setup, but I have > > this error when I start the jail (jail0): > > > > srv1# /etc/rc.d/jail start > > Configuring jails:. > > Starting jails:ifconfig: interface alias does not exist > > jail0. > > srv1# > > > > > > What I do wrong ? > > [snip] > > > This is my /etc/rc.conf > [...] > > ifconfig_sk0="inet 192.168.0.1 netmask 255.255.0.0" > [...] > > jail_jail0_ip="192.168.0.3" # jail's IP address > > Is 192.168.0.3 assigned to any interface? Have a look at ifconfig(8) > output. You can add an alias with ifconfig and/or put something similar > to /etc/rc.conf (assuming sk0 interface): > > % ifconfig_sk0_alias0="inet 192.168.0.3 netmask 255.255.255.255" > > HTH, > > Karol > > - -- > Karol Kwiatkowski > OpenPGP 0x06E09309 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFGMI7fezeoPAwGIYsRCEy1AKCDhJxHggkdcANKc6GToJUSLFMfVwCdF+I4 > GFW56bytWUfTavzmfhKzfJw= > =0fDD > -----END PGP SIGNATURE----- > -- Ing. Roberto Pereyra ContenidosOnline http://www.contenidosonline.com.ar