From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 00:25:12 2003 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 E8B7D37B401 for ; Tue, 22 Jul 2003 00:25:12 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-119-53-152.dsl.lsan03.pacbell.net [67.119.53.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D1143FD7 for ; Tue, 22 Jul 2003 00:25:12 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id B7C2F66D32; Tue, 22 Jul 2003 00:25:11 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 66BC0C0E; Tue, 22 Jul 2003 00:25:11 -0700 (PDT) Date: Tue, 22 Jul 2003 00:25:11 -0700 From: Kris Kennaway To: Ilia Chipitsine Message-ID: <20030722072511.GB3406@rot13.obsecurity.org> References: <20030722131712.H36973@office.paramon.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <20030722131712.H36973@office.paramon.ru> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: ifconfig within jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 07:25:13 -0000 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 22, 2003 at 01:19:12PM +0600, Ilia Chipitsine wrote: > what did I do wrong ? I cannot run ifconfig from within jail >=20 > # ifconfig rl0 inet 10.0.1.112 netmask 255.255.255.0 > ifconfig: ioctl (SIOCDIFADDR): permission denied >=20 > ipfw seems also not to be working... I believe that's intentional. The network stack isn't virtualized to prevent jail instances from interfering with each other (and with the host machine). There have been patches posted recently to one of the lists that might be a starting point for working on this. Kris --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/HObWWry0BWjoQKURAnPHAJ94HXMz4qlNga3ZV2o9YiL10pDMgwCcDMEr DMljkJimq/OipfgF45RROlE= =vBH0 -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--