I have a few VMs running on vmbr9011 which is the OVS bridge, and I would like to mirror ALL traffic that happens in vmbr9011 to vmbr9020: tap158i6, and vmbr9020 also a OVS bridge, they are all in the same Proxmox server just on different OVS bridge, I tried these commands and didn't seems to forward any traffic to the tap158i6 interface as I tried to run tcpdump,
So what went wrong?
Bash:
BRIDGE_UUID=$(ovs-vsctl get Bridge vmbr9011 _uuid)
DEST_PORT_UUID=$(ovs-vsctl get Port tap158i6 _uuid)
ovs-vsctl -- --id=@p get Port $DEST_PORT_UUID \
-- --id=@m create Mirror name=mirror0 select-all=true output-port=@p \
-- add Bridge $BRIDGE_UUID mirrors @m
d4c1c6ff-80e2-4fb6-a864-43ed2a637ded
root@vm-1:~# ip link set tap158i6 promisc on
root@vm-1:~# ovs-vsctl list Mirror
_uuid : d4c1c6ff-80e2-4fb6-a864-43ed2a637ded
external_ids : {}
name : mirror0
output_port : 3927226f-0db2-4e50-8eed-1d98268c9bdd
output_vlan : []
select_all : true
select_dst_port : []
select_src_port : []
select_vlan : []
snaplen : []
statistics : {}
So what went wrong?
Last edited: