network mirror

naklow88

New Member
May 20, 2022
4
0
1
I want to mirror all network data of a vm on the same physical server to another vm. How can I do it?
 

bobmc

Well-Known Member
May 17, 2018
533
85
48
65
So do you mean you want to mirror all the network traffic to/from one vm to another vm?

What is your use case?
 

naklow88

New Member
May 20, 2022
4
0
1
So do you mean you want to mirror all the network traffic to/from one vm to another vm?

What is your use case?
exactly. A switchboard is installed in a vm. We want to forward all inbound and outbound traffic to it to another vm.
 

naklow88

New Member
May 20, 2022
4
0
1
Over the physical port described here? Isn't there a simpler method to just mirror virtual ethernet?

for example;

VM1 eth0 miror to VM2 eth0
 

spirit

Famous Member
Apr 2, 2010
5,628
608
133
www.odiso.com
maybe, an easy way could be use to daemonlogger software

Code:
apt-get install daemonlogger
daemonlogger -i tap<vmid>i<ifacenumber> -o tap<vmid>i<ifacenumber>
[CODE]

ex:

daemonlogger -i tap100i0 -o tap101i0
 
  • Like
Reactions: serveryang

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!