qemu-discuss
[Top][All Lists]
Advanced

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

RE: Way to mirror a NIC from a guest to present it to another guest


From: Marcelo de Sena Lacerda
Subject: RE: Way to mirror a NIC from a guest to present it to another guest
Date: Thu, 17 Oct 2024 12:48:56 +0000

I see now, I'll look into it. Thanks!

De: qemu-discuss-bounces+marcelo.lacerda=tjse.jus.br@nongnu.org <qemu-discuss-bounces+marcelo.lacerda=tjse.jus.br@nongnu.org> em nome de Jakob Bohm via <qemu-discuss@nongnu.org>
Enviado: quinta-feira, 17 de outubro de 2024 09:21
Para: qemu-discuss@nongnu.org <qemu-discuss@nongnu.org>
Assunto: Re: Way to mirror a NIC from a guest to present it to another guest
 
To clarify,

In the real world, this would be two physical machines with different
NICs plugged into different ports on a managed switch, with said switch
set to mirror traffic onto the second machine (see the WireShark
website for hints on how to do so for various brands of real switches) .

So what is needed is to do the same with a virtual switch, such as the
Linux kernel "bridge" device or some version of the "VDE" user mode
virtual switch device.

On 2024-10-16 16:53, Narcis Garcia wrote:
> You need to imagine this in the physical world:
> One computer with an attached NIC (and this one with a plugged cable)
> Another computer with... What NIC mounted? Where does go its cable?
>
>
> El 16/10/24 a les 16:13, Marcelo de Sena Lacerda ha escrit:
>> Is there a way to do something like that? I wanna use qemu to test
>> code that analyze network traffic that is happening in one guest 
>> from another guest.
>>
>> I've made a little diagram to try to help explain what I'm trying to
>> accomplish:https://paste.debian.net/1332470/
>> <https://paste.debian.net/1332470/>

Enjoy

Jakob
--
Jakob Bohm, CIO, Partner, WiseMo A/S.  https://www.wisemo.com
Transformervej 29, 2860 Søborg, Denmark.  Direct +45 31 13 16 10
This public discussion message is non-binding and may contain errors.
WiseMo - Remote Service Management for PCs, Phones and Embedded



reply via email to

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