From owner-freebsd-questions@FreeBSD.ORG Wed Aug 18 22:57:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5867D16A4CE for ; Wed, 18 Aug 2004 22:57:32 +0000 (GMT) Received: from sdf.lonestar.org (ol.freeshell.org [192.94.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FBE043D53 for ; Wed, 18 Aug 2004 22:57:32 +0000 (GMT) (envelope-from lukas@sdf.lonestar.org) Received: from sdf.lonestar.org (IDENT:lukas@ukato.freeshell.org [192.94.73.7]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id i7IMvSg8001863; Wed, 18 Aug 2004 22:57:28 GMT Received: (from lukas@localhost) by sdf.lonestar.org (8.12.10/8.12.8/Submit) id i7IMvRNP027830; Wed, 18 Aug 2004 15:57:27 -0700 (PDT) Date: Wed, 18 Aug 2004 15:57:27 -0700 (PDT) From: Luke X-X-Sender: lukas@ukato.freeshell.org To: Luke In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: Setting up a jail's IP address? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: LukeD@pobox.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Aug 2004 22:57:32 -0000 > The first problem I'm having is that according to every jail tutorial I've > seen so far, I'm supposed to bind the IP address of the jail to a NIC. > Well... both of my NICs already have IP addresses bound to them, so ifconfig > always fails with "ioctl (SIOCAIFADDR): File exists". Okay, I figured this one out. The jail was active at the time. Once I shut down the jail I had no trouble binding it. > The second problem is that I'm not entirely sure which network card I would > bind the jail to anyway. The jail has to have an internal IP address, I > assume, but it needs to talk to the outside world so my first instinct is to > bind it to the network card that's hooked to the outside network. That would > mean binding two addresses that aren't even on the same network to one card, > and that sounds like it might be problematic. I'm still curious about which NIC is the proper one to bind the jail to. Does it matter?