Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Does anyone know how to enable promiscuous mode on a libvirt vif?
I have a bridge with 3 vifs connected to it. I need one of these vifs to be able to sniff all the traffic flowing through the bridge.
The interface has the following iptable rules:
ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-out vif32.2 --physdev-is-bridged ACCEPT all -- anywhere anywhere PHYSDEV match --physdev-in vif32.2 --physdev-is-bridged
How could I change this so the vif can get all packets regardless of the MAC address?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Not exactly what I was looking for but this worked for me:

brctl setageing bridgename 0
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.