From owner-freebsd-questions@FreeBSD.ORG Thu Apr 26 11:37:14 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 5ED5416A401 for ; Thu, 26 Apr 2007 11:37:14 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by mx1.freebsd.org (Postfix) with ESMTP id D604B13C43E for ; Thu, 26 Apr 2007 11:37:13 +0000 (UTC) (envelope-from karol.kwiat@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so562389ika for ; Thu, 26 Apr 2007 04:37:12 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=ufTbR/c6Z/QbZkp60zWFjMbSYvq2ODRj8oLc23GFXiXhiUzVvz8LM0Rd60zW3UCzAEwaepttWnq6oE418Gnf2gNJFfv1BBBGtxRIKgj7ax2nIEsIGCpOHI2M5sUx/4yCTTVAykKKlLwPoK20nvDvQiSpq1oRc/WUiv/y3r3Uqyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=kV7BzOD0fGv4hL7pqn5QCbK0F6aXcsVEExj5xgpPgyXdbPxaVIYyZU+WEkidIAIvRg4tICRKDOiHImDD1CU8LU8biU8Kuh3Oig/WMlKikIqL2KJ3B8zdCF+ksqGm+D0/joId1n4UcqneP2ZgWwgkLrSD1iMSLsd5KjXNWcjouh4= Received: by 10.82.116.15 with SMTP id o15mr3099512buc.1177587432380; Thu, 26 Apr 2007 04:37:12 -0700 (PDT) Received: from persephone.orchid.homeunix.org ( [87.207.160.104]) by mx.google.com with ESMTP id 59sm4934731ugf.2007.04.26.04.37.10; Thu, 26 Apr 2007 04:37:11 -0700 (PDT) Message-ID: <46308EDF.9080602@gmail.com> Date: Thu, 26 Apr 2007 13:37:03 +0200 From: Karol Kwiatkowski User-Agent: Thunderbird 2.0.0.0 (X11/20070423) MIME-Version: 1.0 To: Roberto Pereyra References: In-Reply-To: X-Enigmail-Version: 0.95.0 OpenPGP: id=06E09309; url=http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: jail question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karol.kwiat@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 11:37:14 -0000 -----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-----