Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Tom Gajewski
Ben, you had asked about my flow table. I've tried this with a completely clear table and not -- same behavior. There has to be some logic I'm missing here. Back story is that I'm trying to compensate for the inability to populate local mac-table with this flow as I want to run ports in 'no-flood'

[ovs-discuss] Capturing timestamp in a switch

2016-10-17 Thread Ajeeth Kannan (RIT Student)
Hi Team, I would like to get the timestamp for the packets that are being captured by an OVS. Is there any possible command to do it or should I need to modify the OVS code to do this ? Should I query the DB or flow-tables to get the timestamps of the captured packets ? Thank you, Ajeeth Kannan

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Tom Gajewski
There has to be something inherently wrong with that flow since once I enter it, the machine behind port 13 cannot get out anywhere -- and no traffic can reach it, even once there is an actual entry in the mac-table. So I'm effectively breaking all traffic to port 13 and MAC so:me:ma:cc. Can someon

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Ben Pfaff
I would generally expect that to work. Maybe you should show us more of your flow table. On Mon, Oct 17, 2016 at 10:14:16AM -0700, Tom Gajewski wrote: > My bad, that was obviously suppose to include the MAC in question. So > one more time, in an attempt to set a static MAC table entry: > > Table

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Tom Gajewski
My bad, that was obviously suppose to include the MAC in question. So one more time, in an attempt to set a static MAC table entry: Table entry: 13 744 so:me:ma:cc Flow: ovs-ofctl add-flow mybridge dl_dst=so:me:ma:cc,actions=output:13 I guess what I'm asking is, what should a static flow th

Re: [ovs-discuss] Is there an ovs-ofctl ACTION to evaluate the packet again?

2016-10-17 Thread Ben Pfaff
On Mon, Oct 17, 2016 at 06:09:29PM +0200, Richard Mayers wrote: > Is there a that when a packet MATCHES a rule as an ACTION it checks > the remaining rules but this one that matched. I just want to have a > rule that modifies certain packets but then the remaining rules still > apply. There's no w

Re: [ovs-discuss] Static CAM table

2016-10-17 Thread Ben Pfaff
On Mon, Oct 17, 2016 at 02:45:06AM -0700, Tom Gajewski wrote: > Hi all, > > It is my understanding that one cannot modify the cam (well I guess in > openvswitch land the mac table ;] ) directly. As I'm trying to set up > static entries. Do I need to use flows to accomplish this, is there no > othe

[ovs-discuss] Is there an ovs-ofctl ACTION to evaluate the packet again?

2016-10-17 Thread Richard Mayers
Hi all, Is there a that when a packet MATCHES a rule as an ACTION it checks the remaining rules but this one that matched. I just want to have a rule that modifies certain packets but then the remaining rules still apply. Kind regards, Richard ___ disc

Re: [ovs-discuss] Alternative to Iptables for packet filtering in OVS interfaces

2016-10-17 Thread Richard Mayers
Hi, I found how to do it. With ovs-ofctl you can also mark the packets so for example to mark all the icmp i do: ovs-ofctl add-flow -O Openflow13 ovs_0_0 "priority=1000,dl_type=0x0800,nw_proto=1, actions=set_field:10->pkt_mark,normal" Is it okay if I use normal? I just want to mark packets and

Re: [ovs-discuss] Alternative to Iptables for packet filtering in OVS interfaces

2016-10-17 Thread Geza Gemes
On 10/17/2016 11:54 AM, Richard Mayers wrote: Hi all, I just realised that all the iptables rules I have been applying to my open Vswitch interfaces never match. I am using iptables to mark some packets, and then I use TC (traffic control) filters to put packets into different priority queues d

[ovs-discuss] Alternative to Iptables for packet filtering in OVS interfaces

2016-10-17 Thread Richard Mayers
Hi all, I just realised that all the iptables rules I have been applying to my open Vswitch interfaces never match. I am using iptables to mark some packets, and then I use TC (traffic control) filters to put packets into different priority queues depending on the Iptables match. That works for e

[ovs-discuss] Static CAM table

2016-10-17 Thread Tom Gajewski
Hi all, It is my understanding that one cannot modify the cam (well I guess in openvswitch land the mac table ;] ) directly. As I'm trying to set up static entries. Do I need to use flows to accomplish this, is there no other way to just modify this table?? As for flows, I did try to add some cop