Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Hui Xiang
23,6 +3042,9 @@ compose_output_action__(struct xlate_ctx *ctx, > ofp_port_t ofp_port, > } > } > > +if (independent_mirrors) { > +ctx->mirrors = old_mirrors; > +} > ctx->xin->flow = old_flow; >

Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Ben Pfaff
_flow; ctx->xbridge = xport->xbridge; ofpbuf_uninit(&ctx->action_set); -- 2.1.3 On Thu, Nov 03, 2016 at 10:42:09PM +0800, Hui Xiang wrote: > Thanks Ben. > > I am using ovs_version: "2.5.0" , searched below same question/deployment > but

Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Hui Xiang
Thanks Ben. I am using ovs_version: "2.5.0" , searched below same question/deployment but have not found the answer. [ovs-discuss] port mirroring on openvswitch http://openvswitch.org/pipermail/discuss/2013-October/011413.html [ovs-discuss] problem in mirroring interfaces' traff

Re: [ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Ben Pfaff
On Thu, Nov 03, 2016 at 05:24:38PM +0800, Hui Xiang wrote: > Does port mirroring works on veth device which is connected on another > linux bridge? It should. veth devices aren't special to Open vSwitch. You didn't mention what version of OVS you're using. There have been bug fixes in mirrori

[ovs-discuss] port mirroring on veth peer device

2016-11-03 Thread Hui Xiang
Hi guys, Does port mirroring works on veth device which is connected on another linux bridge? I have setup below mirror: # sudo ovs-vsctl -- set Bridge br-int mirrors=@m -- --id=@qvod870e7d0-21 get Port qvod870e7d0-21 -- --id=@qvoa57385cb-1b get Port qvoa57385cb-1b -- --id=@m create Mirro

[ovs-discuss] Port Mirroring SPAN with Open v Switch

2016-09-12 Thread ThomasHammann
Hello,   it is me again, sorry. This time I found an issue with OVS Port Mirroring with OVS Version 2.5.0 (running together with OpenStack Mitaka and Ubuntu 14.04 LTS Releases).   In order to be able to trace internal OVS Traffic I configured Port Mirroring on OVS with following concept:   >

Re: [ovs-discuss] Port Mirroring on XenCenter 7

2016-08-08 Thread Jerome Eichler
VLAN traffic to my vif1.1? Thank you, Jerome -Ursprüngliche Nachricht- Von: Justin Pettit [mailto:jpet...@ovn.org] Gesendet: Dienstag, 9. August 2016 07:05 An: Jerome Eichler Cc: discuss@openvswitch.org Betreff: Re: [ovs-discuss] Port Mirroring on XenCenter 7 > On Aug 8, 2016,

Re: [ovs-discuss] Port Mirroring on XenCenter 7

2016-08-08 Thread Justin Pettit
> On Aug 8, 2016, at 4:45 AM, Jerome Eichler wrote: > > Dear all, > > although there are few blogs on the web regarding this matter my problem > cannot be resolved following them. > > My setup: > XenServer 7.0 with 2 NICs onboard. NIC1 (eth1) is connected to my Juniper > switch (EX-4200-48

[ovs-discuss] Port Mirroring on XenCenter 7

2016-08-08 Thread Jerome Eichler
Dear all, although there are few blogs on the web regarding this matter my problem cannot be resolved following them. My setup: XenServer 7.0 with 2 NICs onboard. NIC1 (eth1) is connected to my Juniper switch (EX-4200-48T). At this Juniper-Port all traffic in my network is being mirrored t

Re: [ovs-discuss] Port mirroring patch only sees egress traffic

2015-03-02 Thread Priyanka Naik
Hi James, I am too facing the same issue of egress traffic getting captured. I am using openstack juno. Actually only egress is getting captured on mirrored port on br-int and only ingress traffic is captured on mirrored port on br-tun. Can you please help me solve the issue? link to my pro

Re: [ovs-discuss] Port mirroring patch only sees egress traffic

2015-02-27 Thread Wuyunfei
Hi Tom, I'm doing some tests on OVS port mirroring and find the same issue you met with. I wonder if you have already solved this issue, if so, would you please tell me how to fix it. By the way, you've metioned in your last mail that using Open Flow rule to duplicate the traffic, does it work

[ovs-discuss] Port mirroring in OVS

2015-01-20 Thread Fan Du
Here is steps I'm trying to play with port mirror on OVS: 1. INPORT=tap0 2. #OUTPORT=ens806f0 3. OUTPORT=tap1 4. ovs-vsctl -- --id=@m get mirror mymirror -- remove bridge ovs-usw0 mirrors @m 5. ovs-vsctl -- --id=@m create mirror name=mymirror -- add bridge ovs-usw0 mirrors @m 6. ovs-vsctl -- --

Re: [ovs-discuss] Port mirroring patch only sees egress traffic

2014-12-31 Thread Ben Pfaff
On Fri, Dec 12, 2014 at 03:49:54PM -0800, Tom Carroll wrote: > I'm observing some interesting behavior when mirroring a patch virtual > device. I have two bridges, br-tun and xapi1 (integration bridge), connected > via a patch. When I create a mirror on xapi1 to monitor patch-tun (the > patch's por

[ovs-discuss] Port mirroring patch only sees egress traffic

2014-12-12 Thread Tom Carroll
Good day list - I'm observing some interesting behavior when mirroring a patch virtual device. I have two bridges, br-tun and xapi1 (integration bridge), connected via a patch. When I create a mirror on xapi1 to monitor patch-tun (the patch's port on xapi1) I observe only egress traffic. With

Re: [ovs-discuss] Port mirroring for ingress or egress traffic

2013-10-08 Thread carlopmart
On 08/10/13 17:43, Ben Pfaff wrote: > On Tue, Oct 08, 2013 at 05:39:27PM +, carlopmart wrote: >> I am doing some tests with openvswitch in a CentOS 6.4 host all goes >> pretty well until now. >> >> I have configured a port mirroring in a ovs using the following command: >> >> ovs-vsctl -- set

Re: [ovs-discuss] Port mirroring for ingress or egress traffic

2013-10-08 Thread Ben Pfaff
On Tue, Oct 08, 2013 at 05:39:27PM +, carlopmart wrote: > I am doing some tests with openvswitch in a CentOS 6.4 host all goes > pretty well until now. > > I have configured a port mirroring in a ovs using the following command: > > ovs-vsctl -- set Bridge br0 mirrors=@m,@n -- --id=@eth0 ge

[ovs-discuss] Port mirroring for ingress or egress traffic

2013-10-08 Thread carlopmart
Hi all, I am doing some tests with openvswitch in a CentOS 6.4 host all goes pretty well until now. I have configured a port mirroring in a ovs using the following command: ovs-vsctl -- set Bridge br0 mirrors=@m,@n -- --id=@eth0 get Port eth0 -- --id=@vnet1 get Port vnet1 -- --id=@vnet2 get Po

Re: [ovs-discuss] port mirroring on openvswitch

2013-10-02 Thread Ben Pfaff
On Wed, Oct 02, 2013 at 11:40:47PM +0530, Shyam Goud wrote: > On 02/10/13 01:22, Ben Pfaff wrote: > >Please don't drop the list. > > > >On Tue, Oct 01, 2013 at 09:44:28PM +0530, Shyam Goud wrote: > >>'qvo5271d2db-df' port is attached to my Service VM's eth0. > >> > >>- I am able to see traffic on m

Re: [ovs-discuss] port mirroring on openvswitch

2013-10-02 Thread Shyam Goud
On 02/10/13 01:22, Ben Pfaff wrote: Please don't drop the list. On Tue, Oct 01, 2013 at 09:44:28PM +0530, Shyam Goud wrote: 'qvo5271d2db-df' port is attached to my Service VM's eth0. - I am able to see traffic on mirrored ovs-port 'qvo5271d2db-df' - But I failed to see the same traffic on my

Re: [ovs-discuss] port mirroring on openvswitch

2013-10-01 Thread Ben Pfaff
Please don't drop the list. On Tue, Oct 01, 2013 at 09:44:28PM +0530, Shyam Goud wrote: > 'qvo5271d2db-df' port is attached to my Service VM's eth0. > > - I am able to see traffic on mirrored ovs-port 'qvo5271d2db-df' > > - But I failed to see the same traffic on my Service VM's eth0. It > - sho

Re: [ovs-discuss] port mirroring on openvswitch

2013-10-01 Thread Ben Pfaff
On Tue, Oct 01, 2013 at 04:50:47PM +0530, Shyam Goud wrote: > I am trying to do port mirroring b/w two Virtual Machine using Openvswitch. > > I configured port mirroring, and able to see the packets coming on > corresponding ovs-port. But I am unable to check the same on the > VM's corresponding i

[ovs-discuss] port mirroring on openvswitch

2013-10-01 Thread Shyam Goud
Hello, I am trying to do port mirroring b/w two Virtual Machine using Openvswitch. I configured port mirroring, and able to see the packets coming on corresponding ovs-port. But I am unable to check the same on the VM's corresponding interface. Please help me, what needs to be configured ?

Re: [ovs-discuss] [Port-Mirroring]

2012-12-04 Thread Ben Pfaff
In addition to Brent's suggestions, there's also the FAQ: Q: How do I configure a port as a SPAN port, that is, enable mirroring of all traffic to that port? A: The following commands configure br0 with eth0 and tap0 as trunk ports. All traffic coming in or going out on eth0 or tap0 is als

Re: [ovs-discuss] [Port-Mirroring]

2012-12-04 Thread Brent Salisbury
Hi Hasan, Not sure exactly what you are looking for from your message. If you want all the traffic on the OVS host you can do something along the lines of whats below. # ovs-vsctl list port _uuid : 9b32a383-164b-4aab-8f2d-f9f401d347d4 <---Plug in this UUID below. bond_downdelay : 0 bond_

Re: [ovs-discuss] port mirroring

2012-10-27 Thread Ben Pfaff
On Sat, Oct 27, 2012 at 03:37:27PM +0330, rahim entezari wrote: > I have 3 VMs with the folowing interfaces: > VM1-->vnet0 > VM2-->vnet1 > VM3-->vnet2 > > and the ovs bridge which VMs use is "ovsbr0" > > i just want to mirror all packets sent and received by VM2(vnet1) be > mirrored to VM3(vnet2)

[ovs-discuss] port mirroring

2012-10-27 Thread rahim entezari
I have 3 VMs with the folowing interfaces: VM1-->vnet0 VM2-->vnet1 VM3-->vnet2 and the ovs bridge which VMs use is "ovsbr0" i just want to mirror all packets sent and received by VM2(vnet1) be mirrored to VM3(vnet2).i did this in terminal :(according to http://openvswitch.org/cgi-bin/ovsman.cgi?p

Re: [ovs-discuss] Port mirroring

2012-08-30 Thread Fréderich Nord
On Sat, 25 Aug 2012 16:06:57 + (UTC) Fréderich Nord wrote: > On Fri, 24 Aug 2012 12:33:51 + (UTC) > Fréderich Nord wrote: > > > However, now I want add another function namely "post iptables port > > mirroring." So traffic comes in from the provider to either veth0 or > > veth1. Then I

Re: [ovs-discuss] Port mirroring

2012-08-25 Thread Gurucharan Shetty
On Sat, Aug 25, 2012 at 5:58 AM, Fréderich Nord wrote: > On Fri, 24 Aug 2012 12:33:51 + (UTC) > Fréderich Nord wrote: > > > However, now I want add another function namely "post iptables port > > mirroring." So traffic comes in from the provider to either veth0 or > > veth1. Then I want to f

Re: [ovs-discuss] Port mirroring

2012-08-25 Thread Fréderich Nord
On Fri, 24 Aug 2012 12:33:51 + (UTC) Fréderich Nord wrote: > However, now I want add another function namely "post iptables port > mirroring." So traffic comes in from the provider to either veth0 or > veth1. Then I want to filter it using iptables and only then I want > the data which has no

[ovs-discuss] Port mirroring

2012-08-24 Thread Fréderich Nord
Hi all, Imagine the following scenario on a Xen machine: * eth0 connected to vSwitch0 * vSwitch0 has two internal ports veth0, veth1 * it has 'fake' bridges vnet10, vnet20 (with tag 10 and 20) * proxyarp is enabled on those fake bridges; * veth0 is used only for forwarding, * veth1 is used only f