qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: renzo@cs.unibo.it (Renzo Davoli)
To: a_mulyadi@softhome.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] VDE HOWTO revision
Date: Thu, 3 Jun 2004 11:16:14 +0200	[thread overview]
Message-ID: <20040603091614.GG31335@cs.unibo.it> (raw)
In-Reply-To: <200406031153.50588.a_mulyadi@softhome.net>

Wonderful work, guys. Thanks!
I'll add some comments.
- Now there is a slirp support for VDE.
you can start several machines on the same vde and connect the vde
network as a whole *at user level*, without using tuntap. 
see the slirp subdir in VDE.
- I have just released the code of another project named ale4net
see www.sourceforge.net/projects/ale4net. (Please note that this is alpha
version)
Application Level Environment for Networking is able to "divert" network
system calls inside the vde (it uses LD_PRELOAD to catch the calls to
the libc).
If you set the LD_PRELOAD environment variable to my ale4net client
shared lib the standard applications of your linux box use
the ale4net network instead of the real network.
The result is that you can run QEMU or whatever in VDE, and use ale4net
to start ssh or mozilla (or what you like) on the host computer to access the 
QEMU machine without using tuntap. (ehm, about every application,
maybe there are already some bugs left ;-)
You can also try IPV6 clients or servers even if your host computer does
not support it. 
Ale4net does not need root privileges for installation or usage.
ciao
	renzo

On Thu, Jun 03, 2004 at 11:53:50AM +0700, Mulyadi Santosa wrote:
> -----------------------------------------------------------------------------
<...>
> Copyright
> 
> Copyright (c) 2004 Jim Brown.
> 
> 	There is no "make install". Instead, you just manually copy vdeq to
> /usr/bin. It might also be helpful to copy (or hard link [[preferred softlink) 
/usr/local/bin is a better place. I have added a make install for vdeq.
test vde-1.5.3 from sourceforge. (just uploaded)
it copies vdeq and creates a symlink for vdeqemu
> 
> [[ For example if you have:
> vdeq qemu -hda /mnt/myimage -m 64 -boot a
> 
> you can shorten this into
> 
> vdeqemu qemu -hda /mnt/myimage -m 64 -boot a
There is a typo here!
vdeqemu -hda /mnt/myimage -m 64 -boot a
> ]]
> 
> -----------------------------------------------------------------------------
> 
> User-mode Networking
> 
> How to enable user-mode networking
> 
> 	The following commands will need to be run as root:
> 
> # vde_switch -tap tap0 -daemon
I would keep tap tap0. I know that tuntap can use both names but given
it is a tap, it is bettere to name it as tap0.
Just for the sake of coherence ;-)
> [[
> or 
> # vde_switch -tap tun0 -daemon
> ]]
> 
> [[If you need to run a sniffer, just in case you want to analyze the traffic
> run:
> # vde_switch -hub -tap tap0 -daemon
> ]]
> # ifconfig tap0 <ip>
> 	[[it is a good idea to put the TUN/TAP device on same subnet/class
> 	with IP on guest system. So it will be easier to setup routing etc]]
> # chmod 777 /tmp/vde.ctl
> [[ Jim, on my PC, i let the ctl file to 755 permission and it runs fine]]
the remaining of the document is just fine....

  reply	other threads:[~2004-06-03  9:20 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-03  4:53 [Qemu-devel] VDE HOWTO revision Mulyadi Santosa
2004-06-03  9:16 ` Renzo Davoli [this message]
2004-06-03  9:20   ` [Qemu-devel] For what is slirp ? Jens Arm
2004-06-03  9:57     ` Renzo Davoli
2004-06-03 11:09       ` Rudi Lippert
2004-06-03 11:18         ` Jens Arm
2004-06-03 11:33           ` Renzo Davoli
2004-06-03 11:47             ` Jens Arm
2004-06-03 14:07               ` James Ascroft-Leigh
2004-06-04 15:35                 ` Fabrice Bellard
2004-06-04 18:12                   ` Kyle Hayes
2004-06-04 18:18                     ` Jens Arm
2004-06-03 11:50             ` Jens Arm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040603091614.GG31335@cs.unibo.it \
    --to=renzo@cs.unibo.it \
    --cc=a_mulyadi@softhome.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).