[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] tun/tap networking: patch for existing tun
From: |
Henrik Nordstrom |
Subject: |
Re: [Qemu-devel] tun/tap networking: patch for existing tun |
Date: |
Mon, 3 Oct 2005 15:13:52 +0200 (CEST) |
On Mon, 3 Oct 2005, Jean-Christian de Rivaz wrote:
The idea of the "-vde" option is to have in parameter the VDE socket (default
to "/tmp/vde.ctl") an act like vde_plug so it don't need any other code to
work. Just start a "vde_switch" and as many "qemu -vde" you wants to create a
complete virtual nework (1 switch and n hosts).
Or in line with the earlier proposal of a -net option:
-net vde,socket=/path/to/vde.ctl,group=xxx
where socket defaults to /tmp/vde.ctl and group defaults to 0 if not
specified.
I think that a syntax like "-net type[:macaddr][,arg[,arg[...]]]" is more
usefull, since the MAC addresse of the TAP devices is not alway specified as
it can be set randomly by the Linux kernel (with possible collision see code
in include/linux/etherdevice.h).
The MAC of the TUN/TAP device on the host side is a completely different
thing and is the MAC the HOST should use on that virtual ethernet. What
the option to QEMU specifies is the MAC QEMU should use.
In case of this new interface, will network script still needed. If yes, how
should we handle them in the new option syntax ?
-net ...,script=/path/to/script
Regards
Henrik
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, (continued)
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Anthony Liguori, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/02
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun,
Henrik Nordstrom <=
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jean-Christian de Rivaz, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Henrik Nordstrom, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Jim C. Brown, 2005/10/03
- Re: [Qemu-devel] tun/tap networking: patch for existing tun, Fabrice Bellard, 2005/10/03