[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: |
Jakob Bohm |
Subject: |
Re: Way to mirror a NIC from a guest to present it to another guest |
Date: |
Thu, 17 Oct 2024 14:21:30 +0200 |
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