[ovs-discuss] Why OpenFlow Actions 'mod_nw_dst' & 'mod_dl_dst' can't work?

Ali Al-Shabibi ali.al-shabibi at stanford.edu
Fri Dec 28 11:34:15 UTC 2012


Hi Wayne,

In OpenFlow 1.0, actions are processed in the order they are specified. Therefore, in your case you output the packet before modifying it, therefore you do not see any changes. 

Move the output action to the end of the list, and everything should be fine. 

Hope this helps.e

--
Ali Al-Shabibi

On Dec 28, 2012, at 10:42, Hong Wayne <wayne21205 at gmail.com> wrote:

> Dear all:
> 
> I have a problem about the flow action entry for Open vSwitch.
> 
> I  modified the flow entry of action field, it can be dump by ovs-ofctl dump-flows.
> 
> Looked like below: 
> actions=output:9,mod_nw_dst:192.168.13.25,mod_dl_dst:54:04:00:65:b4:5f
> 
> But when i use Wireshark to check this work, the packet header still keep the original format and not be modified.
> 
> The Open vSwitch version I used describes below:
> 
> Hardware: Open vSwitch
> Software: 1.4.0+build0
> 
> Can someone resolve my questions? Thanks.
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss



More information about the discuss mailing list