in syslog I see this messages: Aug 28 12:14:04 autolab8 ovs-vsctl: 00001|vsctl|INFO|Called as ovs-vsctl add-port br100 eth3 Aug 28 12:14:04 autolab8 kernel: [ 2308.962045] device eth3 entered promiscuous mode Aug 28 12:14:04 autolab8 ovs-vsctl: 00001|vsctl|INFO|Called as ovs-vsctl -- set Bridge br100 mirrors=@m -- --id=@bond0 get Port bond0 -- --id=@eth3 get Port eth3 -- --id=@m create Mirror name=mymirror select-dst-port=@bond0 select-src-port=@bond0 output-port=@eth3
On a vm I execute a ping to a remote router-ip (outside the host). On the correspondig vnet0 I get a dump with tcpdump. Also on eth1 and eth2 that are members of bond0 # ovs-vsctl show d1c0be94-786d-452e-bcbf-a294edfdddea Bridge "br100" Port "eth3" Interface "eth3" Port "bond0" trunks: [3000, 3001, 3002, 3003] Interface "eth2" Interface "eth1" Port "vnet0" tag: 3001 Interface "vnet0" Port "br3001" tag: 3001 Interface "br3001" type: internal Port "br100" Interface "br100" type: internal ovs_version: "1.4.0+build0" # ovs-appctl bond/list bond type slaves bond0 stable eth1, eth2 do you see anything that is strange? -----Ursprüngliche Nachricht----- Von: Ben Pfaff [mailto:b...@nicira.com] Gesendet: Montag, 27. August 2012 02:06 An: Oswald, Thomas Cc: discuss@openvswitch.org Betreff: Re: [ovs-discuss] port mirror on bond0 On Fri, Aug 24, 2012 at 11:35:35AM +0200, Oswald, Thomas wrote: > I have an issue with a port mirror. I bundled the interfaces eth1, eth2 in > bond0. After that I want to see the network traffic on it. "tcpdump -i bond0" > doesn't work. I configured a port mirror in the following way: > > ovs-vsctl add-port br100 eth3 > > ovs-vsctl -- set Bridge br100 mirrors=@m > -- --id=@bond0 get Port bond0 > -- --id=@eth3 get Port eth3 > -- --id=@m create Mirror name=mymirror select-dst-port=@bond0 > select-src-port=@bond0 output-port=@eth3 > > > Now I'm a little bit confused because I assumed that all traffic ingress and > egress on bond0 is mirrored to eth3 and I just have to tcpdump on that > interface, but I see nothing. > > Any idea? Your configuration looks correct to me. Is there anything in the ovs-vswitchd log about a configuration problem? _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss