From owner-freebsd-questions@FreeBSD.ORG Mon Oct 24 13:16:32 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 5CE9016A41F for ; Mon, 24 Oct 2005 13:16:32 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from speechpro.com (speech-tech-2.ip.PeterStar.net [81.3.190.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAB3F43D58 for ; Mon, 24 Oct 2005 13:16:31 +0000 (GMT) (envelope-from igorr@speechpro.com) Received: from sysadm.stc ([192.168.2.26]) by s1.stc with esmtp (Exim 4.53 (FreeBSD)) id 1EU2Bh-0007P1-LZ; Mon, 24 Oct 2005 17:16:29 +0400 Message-ID: <435CDE9D.7080705@speechpro.com> Date: Mon, 24 Oct 2005 17:16:13 +0400 From: Igor Robul User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051018) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dick hoogendijk , freebsd-questions@freebsd.org References: <20051024144711.6dbc87b0.dick@nagual.st> In-Reply-To: <20051024144711.6dbc87b0.dick@nagual.st> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archived: Yes Cc: Subject: Re: tun/tap and qemu 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: Mon, 24 Oct 2005 13:16:32 -0000 dick hoogendijk wrote: >Qemu uses user-net network stack if NO tun/tap network init script is >found. The example on their website is about linux. > > >Can someone shine some light on this matter? > >If tun/tap is difficult or not adviced, how can I make my 10.0.0.x >machines show themselves on my mail 192.168.11.xx network? > > > On FreeBSD qemu uses "tap" device. Just patch /usr/src/sys/net/if_tap.c for non-root access, then recompile it and load if_tap module. Make sure /dev/tap* have correct permissions