[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] Why OpenFlow Actions 'mod_nw_dst' & 'mod_dl_dst' can't work?
From:       wayne21205 () gmail ! com (Hong Wayne)
Date:       2012-12-28 18:03:53
Message-ID: CALLDSxSVEfEL5u2QDF78u95XSzQT8Krc4GBCkjZaU8JsNsYHng () mail ! gmail ! com
[Download RAW message or body]

Dear ShabiAli:

Thanks for your reply, it really works to the case.

The order of output needs to be placed last.

Thanks again.



2012/12/28 Al-ShabiAli bi <ali.al-shabibi at stanford.edu>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20121229/79f1902a/attachment.htm>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic