Subject: Re: [cube@cubidou.net: Re: Moving ethfoo in the main tree]
To: Hubert Feyrer <hubert@feyrer.de>
From: Quentin Garnier <cube@cubidou.net>
List: tech-kern
Date: 12/13/2004 12:11:38
--wULyF7TL5taEdwHz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 13, 2004 at 12:04:38PM +0100, Hubert Feyrer wrote:
> On Mon, 13 Dec 2004, Quentin Garnier wrote:
> >qemu (emulators/qemu) is a vmware clone which can fully emulated
> >network with a tap-like interface such as ethfoo.  qemu is a really
> >neat piece of software.
>=20
> Can you give more details here?
>=20
> In particular, what I'd be interested in is multiple qemu instances,=20
> and have them communicate between each other and with the host system (an=
d=20
> also from the host system to each qemu instance, of course).
> Will that be possible with etherfoo? Do you happen to have a setup=20
> example, maybe? :)

qemu can work with two network modes.  The internal one (user-mode
network stack) is rather kludgy, as it is limited to what a user can
do, and only to some extent.

The tun/tap mode uses a device such as ethfoo which emulates a complete
Ethernet segment between the host.  It makes it appear as a separate
computer which, for example, would be linked to the host with a cross-
over cable.

While I haven't tried it, I don't see anything that could prevent two
instances of qemu from doing network communication that way, the host
will server as a router in that situation.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"Commala-come-five! / Even when the shadows rise!
To see the world and walk the world / Makes ya glad to be alive."
Susannah's Song, The Dark Tower VI, Stephen King, 2004.

--wULyF7TL5taEdwHz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQb146tgoQloHrPnoAQLubAgAndvZZ7KFNCJudEqH2N6GMNnu7NOeNy51
IVwRK4eeiCbne//Aeti/ic6iLHuWbHtIPnZKlEdMHJzi7WkLOlCtcgyR5oplplVi
rKvJ44f92BQxPhmsQc1QPZ1dOixm30k8nNo1QQcBuZseYbqoMZx1p9326m/AOJQq
jYT/s4/XlcYEC/YvhF1oN4o0KKgG8eJA5vdIvTxjiCFJaVM17T4fndCbncCsEs5K
8cJ17WDocI8eCpjux+ZU7bFX2rNaIka8xjlvHKUDkuQaQCqVJQPFzL7eKyvaZBOe
myI7J4ox9/q2X8KIzht9mSZjWVT57tj8HRZCj7ncTjD6NfRC8tIkaw==
=qQhb
-----END PGP SIGNATURE-----

--wULyF7TL5taEdwHz--