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.

I've created a virtual machine (Centos 6.0) using QEMU/KVM, which is also running on a Centos 6.0. The virtual machine is configured to have two NICs. The first NIC is using a bridged network (eth0 of the host) and the second NIC is also using a bridged network (eth1). The interface eth1 of the host is receiving mirrored traffic from a cisco switch. When I do a tcpdump -i eth1 from the host I can see the traffic. I would expect to see the same traffic in my virtual machine (because of the bridge) but it is not the case.

Is there a special config that I'm not aware of?

share|improve this question

1 Answer 1

I finally found a solution to my problem. Setting the ageingtime of the bridge to 0 will make your bridge acting like a hub and you'll see the mirrored traffic from inside your VM (or any virtual machines connected to that bridge)

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.