Re: [ovs-discuss] UDP packets not dropping

2015-03-11 Thread Navneet Singh
Hi Justin, I changed the command as per your recommendation to > ovs-ofctl add-flow br0 > dl_type=0x0800,nw_proto=17,priority=15,udp_src=5001,actions=drop > The flows are not matching when I'm sending traffic through iperf udp. On Thu, Mar 12, 2015 at 12:14 PM, Justin Pettit wrote: > > > On

Re: [ovs-discuss] Fwd: How to modify the in_port field inside a flow in OF13 ?

2015-03-11 Thread Nilesh G
ok. On Wed, Mar 11, 2015 at 3:11 PM, Ben Pfaff wrote: > On Wed, Mar 11, 2015 at 03:07:36PM -0400, Nilesh G wrote: > > By a flow parameter, I meant something like mod_dl_src or mod_dl_dst. I > > couldn't find a similar action parameter that I could use. > > OK. mod_dl_src and mod_dl_dst are "act

Re: [ovs-discuss] Fwd: How to modify the in_port field inside a flow in OF13 ?

2015-03-11 Thread Ben Pfaff
On Wed, Mar 11, 2015 at 03:07:36PM -0400, Nilesh G wrote: > By a flow parameter, I meant something like mod_dl_src or mod_dl_dst. I > couldn't find a similar action parameter that I could use. OK. mod_dl_src and mod_dl_dst are "actions", not "flow parameters" or "action parameters". _

Re: [ovs-discuss] Fwd: How to modify the in_port field inside a flow in OF13 ?

2015-03-11 Thread Nilesh G
Hi Ben, That fixed my problem. Thanks ! Sorry for the repost. I should have read the FAQs first. By a flow parameter, I meant something like mod_dl_src or mod_dl_dst. I couldn't find a similar action parameter that I could use. I tried using the resubmit() action but I was going around in circles

Re: [ovs-discuss] Install Flow Rule directly into the kernel module

2015-03-11 Thread Ben Pfaff
On Wed, Mar 11, 2015 at 09:30:22AM +0100, Sascha Bleidner wrote: > Thanks, I will also look into the newer version. > So there is no option to force the switch to install flow mods coming from a > controller to be installed in the kernel, since my test program runs on the > controller. No, the

Re: [ovs-discuss] Fwd: How to modify the in_port field inside a flow in OF13 ?

2015-03-11 Thread Ben Pfaff
On Wed, Mar 11, 2015 at 02:23:59PM -0400, Nilesh G wrote: > Does anyone know of a way to modify the input port field (in_port) for a > packet via a flow parameter in OF 1.3 ? What's a flow parameter? The FAQ has a possibly relevant Q&A: ### Q: I added a flow to send packets out the ingress port,

Re: [ovs-discuss] Linear topology in openveswitch

2015-03-11 Thread AMER
Unfortunately, it doesn't work I got this error, when I add/modify this command "resubmit\(,2\)" ovs-ofctl add-flows command takes at most 2 argument Also, I got the fllowing error when I put the quotation marks "" ovs-ofctl must specify an action Best regards, Eng Amer Alghadhban COE

Re: [ovs-discuss] Linear topology in openveswitch

2015-03-11 Thread Sudipto Biswas
On Wednesday 11 March 2015 05:46 PM, Vijaya Mohan Guvva wrote: On 03/11/2015 05:38 PM, AMER wrote: ovs-ofctl add-flows br0 table=1, priority=99, dl_type=0x800, nw_src=192.168.5.2, actions=mod_nw_src=10.10.10.10, resubmit(,2) resubmit\(,2\) should work. Or you can also include the whole thin

Re: [ovs-discuss] Linear topology in openveswitch

2015-03-11 Thread Vijaya Mohan Guvva
On 03/11/2015 05:38 PM, AMER wrote: ovs-ofctl add-flows br0 table=1, priority=99, dl_type=0x800, nw_src=192.168.5.2, actions=mod_nw_src=10.10.10.10, resubmit(,2) resubmit\(,2\) should work. -- Thanks, Vijay ___ discuss mailing list discuss@openvswitc

Re: [ovs-discuss] match/push/pop more than 3 MPLS labels

2015-03-11 Thread Stefano Salsano
Il 27/02/2015 00:52, Pravin Shelar ha scritto: On Thu, Feb 26, 2015 at 5:17 AM, Stefano Salsano wrote: there is a limit of 3 MPLS labels that are supported by Open vSwitch we need to raise it at 5 labels, to implement a segment routing scenario You can start with changing FLOW_MAX_MPLS_LABELS

Re: [ovs-discuss] Linear topology in openveswitch

2015-03-11 Thread AMER
Hello, I did the following configurations in my VBox, however, I can't ping the host machine "192.168.5.2" ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0 ovs-vsctl add-port br0 eth1 Ifconfig eth0 0 Ifconfig br0 192.168.5.1 netmask 255.255.255.0 Best reg

Re: [ovs-discuss] Install Flow Rule directly into the kernel module

2015-03-11 Thread Sascha Bleidner
Thanks, I will also look into the newer version. So there is no option to force the switch to install flow mods coming from a controller to be installed in the kernel, since my test program runs on the controller. Otherwise I would need to write a bash script instead. -- Kind Regards, Sasch

Re: [ovs-discuss] VxLAN kernel module.

2015-03-11 Thread Sudipto Biswas
On Wednesday 11 March 2015 12:36 PM, Sudipto Biswas wrote: On Wednesday 11 March 2015 12:12 PM, Fan Du wrote: 于 2015年03月11日 14:42, Sudipto Biswas 写道: On Wednesday 11 March 2015 11:35 AM, Fan Du wrote: 于 2015年03月11日 01:38, Sudipto Biswas 写道: Hi, I have a very small query. I am using OVS 2.

Re: [ovs-discuss] VxLAN kernel module.

2015-03-11 Thread Sudipto Biswas
On Wednesday 11 March 2015 12:12 PM, Fan Du wrote: 于 2015年03月11日 14:42, Sudipto Biswas 写道: On Wednesday 11 March 2015 11:35 AM, Fan Du wrote: 于 2015年03月11日 01:38, Sudipto Biswas 写道: Hi, I have a very small query. I am using OVS 2.3.1 and i have built the kernel module etc following the ins