Mirror VM-Traffic to VM on same node

Jun 11, 2018
9
0
6
33
Dear Ladies and Gentlemen,

we have 1 Proxmox Hosts running to run or development and testing environment. In one of the VMs we are running security tools, that can sniff the network traffic.
Currently it gets the network traffic via Mirror-Ports and we are testing on physical hardware devices and switches.

We want to mirror the traffic of all VMs to the said VM. How can I archive this goal? Creating Mirrorports on physical switches is easy. But I have no idea how I can archive this in Proxmox.

Current Network-Setup:
auto lo
iface lo inet loopback

iface enp3s0f0 inet manual
iface enp3s0f1 inet manual
iface enp4s0f0 inet manual
iface enp4s0f1 inet manual

auto bond0
iface bond0 inet manual
slaves enp3s0f0 enp3s0f1
bond_miimon 100
bond_mode 802.3ad

auto vmbr0
iface vmbr0 inet static
address xxx.xxx.xxx.xxx
netmask yyy.yyy.yyy.0
gateway zzz.zzz.zzz.zzz
bridge_ports bond0
bridge_stp off
bridge_fd 0

All VMs are on vmbr0
 
Hi,

if you need mirror ports you can do this with OpenVSwitch.
You have to install it manually and also configure mirror ports by yourself.
 
  • Like
Reactions: mrg

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 yours easily in our online shop.

Buy now!