Hi Stephen,
Extremely sorry for typo.
I have made changes and are as follows :-
I have two virtual machines VM1 and VM2 on KVM (ubuntu 14.04 LTS 3.13.0-24-generic). Then I have added eth0 of my VM to 'default' network (NAT network).
Use case :-
I want to monitor all traffic on virbr0('default' network).
Steps followed :-
1. Add VM1 eth0 to virbr0
2. Add VM2 eth1 to virbr0
3. brctl setageing virbr0 0 ..(To put bridge in promiscuous)
Now I am running tcpdump on eth1 of VM2 and trying to ping google.com(outside world)
In VM2 (tcpdump -i eth1), I can see only ingress(incoming) traffic of VM1. I am not able see outgoing traffic of VM1.
If I create another bridge(bridge connected to eth0 directly , not NAT) and trying same scenario with 2 VM then VM2 can see both ingress and outgress traffic.
So want to know what is the issue?
Is linux bridge/libvirt doing something different with this virtbr0 bridge(NAT bridge)?
Regards,
Sagar
On Tue, Nov 25, 2014 at 10:13 PM, Stephen Hemminger <stephen@xxxxxxxxxxxxxxxxxx> wrote:
On Mon, 24 Nov 2014 18:59:49 +0530
Sagar Shedge <sagar.shedge92@xxxxxxxxx> wrote:
> Steps followed :-
> 1. Add VM1 eth0 to virbr0
> 2. Add VM2 eth1 to virbr0
> 3. brctl setageing ovsbr0 0 ..(To put bridge in promiscuous)
ovsbr0 is Open Vswitch not linux bridge
Sagar Dilip Shedge,
Pune.
Pune.
With Regards.