From: renzo@cs.unibo.it (Renzo Davoli)
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] replies
Date: Sun, 27 Jun 2004 07:21:32 +0200 [thread overview]
Message-ID: <20040627052132.GA14931@cs.unibo.it> (raw)
In-Reply-To: <20040627050111.GA24787@jbrown.mylinuxbox.org>
> I don't know why qemu uses "tunX". You'd think it would be better off using the
> "tapX" device instead. "tunX" is like "tapX" only it is point-to-point (no
> ethernet frames). tun is meant for ip tunnelling and passes ip frames while
> tap is for ethernet tunnelling.
>
> If I understand right tunX will only support ip (and tcp/ip and udp/ip and etc)
> while tap also supports ipx, ipv6, etc. Not 100% sure on this point. renzo could
> probably answer better on this than I could.
Tap would be the more appropriate as entire packets with data-link header
are exchanged.
>
> >
> > 2. Can I do traffic shaping / policing against TUN/TAP device attached to Qemu
> > guest system? And if I can do it, should I attach the shaper against tun/tap
> > or vde switch?
> >
VDE does not handle traffic shaping/filtering. It is an emulated
Ethernet with switches and cables. Consistently with the real world
counterpart it is not its role to do that.
You can do filtering/shaping on the linux box that works as a router.
Tap0 for it is a standard interface thus all the iptables options can be
applied.
>
I am leaving for a conference. Dunno how frequently I'll be able to read
my mail and answer....
If you have spare time and need something to read for the sleep instead
of counting jumping sheeps, I have published a techreport on VDE (no
commands, philosophy only, what you can do with it)
http://www.cs.unibo.it/techreports/2004/2004-12.pdf
ciao
renzo
next prev parent reply other threads:[~2004-06-27 5:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-26 18:45 [Qemu-devel] VDE HOWTO version 0.1 Jim C. Brown
[not found] ` <200406271007.11404.a_mulyadi@telkom.net>
2004-06-27 5:01 ` [Qemu-devel] replies Jim C. Brown
2004-06-27 5:21 ` Renzo Davoli [this message]
2004-06-27 7:04 ` Renzo Davoli
2004-06-27 17:33 ` Jim C. Brown
2004-06-27 7:12 ` [Qemu-devel] replies Mulyadi Santosa
2004-06-27 18:26 ` Jim C. Brown
2004-06-28 1:30 ` Damien Mascord
2004-06-28 2:23 ` Jim C. Brown
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=20040627052132.GA14931@cs.unibo.it \
--to=renzo@cs.unibo.it \
--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).