I know similar things have been covered before, but after extensive searching, I can't find a solution that's working for me.
On a new KVM server, I have an interface that is port-mirrored to various ports on our switch. When I tcpdump that interface, I can see that traffic. Let's call the interface eth1.
I have a bridge set up, br1, bound to that interface. When I tcpdump that interface, I can again see the port mirrored traffic.
However, when I start the Security Onion virtual machine in KVM, it creates a vnet1 interface. That vnet1 interface does *not* carry the port mirrored data, either when tcpdump'd from within the virtual machine or on the KVM server itself. All I can see are some STP requests.
The VM is configured as such:
<interface type='bridge'>
<source bridge='br1'/>
<model type='virtio'/>
</interface>
The bridge is configured as:
auto br1
iface br1 inet manual
bridge-ports eth1
bridge_stp off
bridge_maxwait 0
post-up ip link set br1 address XX:XX:XX:XX:XX:XX
The interface on the KVM server is configured as:
auto eth1
iface eth1 inet manual
pre-up ifconfig $IFACE up
post-down ifconfig $IFACE down
The same issues occur whether or not the interfaces are set as promiscuous.
Any advice? Thanks so much.
-Dave