qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /dev/tun Was: Re: [Qemu-devel] Win98: how to exchange data with Linu


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
User-agent: KMail/1.6.2

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:
address@hidden vde-1.5.3]# ./vde_switch -tap tap0 -daemon
address@hidden vde-1.5.3]# ifconfig tap0 192.168.0.254
address@hidden vde-1.5.3]# chmod 777 /tmp/vde.ctl
address@hidden vde-1.5.3]# echo "1" > /proc/sys/net/ipv4/ip_forward
address@hidden 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

address@hidden 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
address@hidden 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]