Thanks for the help. that "ip" in the match fixed all the problems .
this is the flow that i applied
ovs-ofctl -O OpenFlow13  add-flow br0
in_port=254,ip,actions=output:1,mod_nw_src:'192.1.1.1',controller:6633

on a side note, you mentioned about  "controller:6633". were you pointing
out the incorrect port number? or anything else you would like to
highlight. ?

cheers
KP

On Fri, Feb 6, 2015 at 5:05 PM, Ben Pfaff <b...@nicira.com> wrote:

> On Fri, Feb 06, 2015 at 04:37:42PM -0500, Krishna Pratap wrote:
> > ovs-ofctl -O OpenFlow13 add-flow br0
> > in_port=9,actions=output:1,mod_nw_src:'192.1.1.1',controller:663
> >
> >
> > here is the message I get when i try to do it
> >
> > ovs-ofctl: none of the usable flow formats (OpenFlow10,NXM) is among the
> > allowed flow formats (OXM-OpenFlow13)
>
> In OpenFlow 1.0, mod_nw_src is allowed even on non-IP packets.  In
> OpenFlow 1.1 and later, mod_nw_src is only allowed on IP packets, so
> to make this work with OF1.3, add "ip" to the match:
>
> ovs-ofctl -O OpenFlow13 add-flow br0
> in_port=9,ip,actions=output:1,mod_nw_src:'192.1.1.1',controller:663
>
> (However, "controller:663" doesn't make much sense.  Please make sure
> that you understand what it means.)
>



-- 
Best Regards,
Krishna Pratap Singh
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to