Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bkvk9-00067a-Ha for qemu-devel@nongnu.org; Wed, 14 Jul 2004 22:13:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bkvk7-00067K-VA for qemu-devel@nongnu.org; Wed, 14 Jul 2004 22:13:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bkvk7-00067A-QI for qemu-devel@nongnu.org; Wed, 14 Jul 2004 22:13:03 -0400 Received: from [66.163.170.83] (helo=smtp813.mail.sc5.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1BkvhE-0001Kx-C8 for qemu-devel@nongnu.org; Wed, 14 Jul 2004 22:10:05 -0400 From: Joe Menola Subject: Re: /dev/tun Was: Re: [Qemu-devel] Win98: how to exchange data with Linux Date: Wed, 14 Jul 2004 21:10:01 -0500 References: <200407122356.02502.eschmit@tin.it> <20040713025140.GA24455@jbrown.mylinuxbox.org> <200407122215.17082.menola@sbcglobal.net> In-Reply-To: <200407122215.17082.menola@sbcglobal.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407142110.02061.menola@sbcglobal.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Mon July 12 2004 10:15 pm, Joe Menola wrote: > On Mon July 12 2004 9:51 pm, Jim C. Brown wrote: > > I recommend using VDE (vde.sourceforge.net) as it has its own HOWTO on > > how to set it up and its easier to maintain. > > > > If you decide to install VDE and need help, I will be willing to answer > > any question you might have. > I'm baaaaaaaaaack. :) I started playing with vbe, I think I've made some progress but can't seem to get things working. It's possible that I'm in over my head.... I'll let you be the judge. Here's where I'm at: As root: [root@joe vde-1.5.3]# ./vde_switch -tap tap0 -daemon [root@joe vde-1.5.3]# ifconfig tap0 192.168.0.254 [root@joe vde-1.5.3]# chmod 777 /tmp/vde.ctl [root@joe vde-1.5.3]# echo "1" > /proc/sys/net/ipv4/ip_forward [root@joe vde-1.5.3]# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE I assume that at this point vde is set and ready.... or have I already fallen off the edge? As user I start qemu with [joe@joe qemu]$ vdeq qemu -hda /mymnt/qemu/qdrive.img -boot c -m 256 -enable-audio -pci -cirrusvga Monitor output QEMU 0.5.5 monitor - type 'help' for more information (qemu) qemu exited: vdeq quits [joe@joe qemu]$ I'm somewhat confused about network settings for Win98, my "real" network consists of my linux host (eth0) connected to a dsl router (192.168.0.1). I tried dchp (my router supports it but it's not installed on my linux host), tried static ip's 192.168.0.254 (address assinged to tap0?) and 192.168.0.135 (unused address on my lan) . As gateway's I have both my routers address and eth0's address on my Linux host. Same for dns. No internet, and cannot ping anything. Is there hope? lol -jm