From owner-freebsd-questions@FreeBSD.ORG Thu Mar 10 02:32:16 2005 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 396F516A4CE for ; Thu, 10 Mar 2005 02:32:16 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 180A343D31 for ; Thu, 10 Mar 2005 02:32:16 +0000 (GMT) (envelope-from bsdzz@verizon.net) Received: from [10.0.0.25] ([68.236.212.14])0.04 <0ID40075871QYEW0@vms044.mailsrvcs.net> for freebsd-questions@freebsd.org; Wed, 09 Mar 2005 20:32:15 -0600 (CST) Date: Wed, 09 Mar 2005 21:32:37 -0500 From: bsdzz To: freebsd-questions@freebsd.org Message-id: <422FB1C5.8030500@verizon.net> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0 (X11/20050226) Subject: QEMU needs /dev/tun0 ? 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: Thu, 10 Mar 2005 02:32:16 -0000 Hi, I am trying to run Windows 2000 inside QEMU, and it works well (though a bit slow). In order to get my emulated machine on the Internet, I have to use "/dev/tun0". I read online that the default FreeBSD 5.x has "tun" turned on in the kernel, but I do not appear to have a "/dev/tun0" device. Does anybody know anything about this? I tried using the "-user-mode" networking, and it worked - I can ping 10.0.2.2, but I cannot talk to any computer except my FreeBSD host. So I think I need to figure out "tun". Most of the literature on the internet related to "tun" and "tun/tap" seems to be about linux, but I suspect FreeBSD is similar. I am really impressed with QEMU! thx