Thanks Minoru for helping me. I'd appreciate it.
It seems that the ethernet type field for VLAN and MPLS are different:
VLAN: Ethertype 0x8100 and 0x88a8 should be used.
MPLS: Ethertype 0x8847 and 0x8848 should be used.
Did you also try to create packets matching the flow entry you installed
and check
if they match? if so, did you push the MPLS label first and then VLAN tag
or vice
versa? The problem is my packets do not mach with the entry.
Thanks again for your help!
On Wed, Feb 25, 2015 at 1:36 AM, Minoru TAKAHASHI <
takahashi.mino...@gmail.com> wrote:
> Hi,
>
> On 2015年02月24日 03:36, Mehrdad Moradi wrote:
> > Thanks Minoru for the response. Given this feature is not available, do
> you know if it is possible
> > to match both VLAN and MPLS tags in one flow entry? For example, the
> following:
> >
> > If (vlan_id ==10 and mpls_label==20): drop packet
>
> I think that it is possible.
> Settings for the following flow and transfer by this flow was successful
> in my environment.
>
> OFPST_FLOW reply (OF1.3) (xid=0x2):
> cookie=0x0, duration=1.830s, table=0, n_packets=1, n_bytes=97,
> mpls,dl_vlan=10,mpls_label=20 actions=output:2
>
> thanks
>
> >
> > or we will need to first let's say match on MPLS label and pop its label
> in the first flow table
> > and then match on the vlan_id in the second table and drop the packet
> there
> >
> > Thanks!!
> >
> > On Sun, Feb 22, 2015 at 11:35 PM, Minoru TAKAHASHI <
> takahashi.mino...@gmail.com <mailto:takahashi.mino...@gmail.com>> wrote:
> >
> > Hi,
> >
> > On 2015年02月22日 02:18, Mehrdad Moradi wrote:
> > > Hi All,
> > >
> > > I have a question regarding MPLS matching in Ryu. I would like to
> have
> > > a wild card in MPLS label matching. For example, I would like to
> say:
> > >
> > > If (MPLS Label = 1011*)--> Push MPLS Label (11000). Is this
> operation
> > > possible in Ryu or we cannot basically have it in OpenFlow?
> > > This is because I am getting some OF errors.
> >
> > > we cannot basically have it in OpenFlow?
> > Yes.
> > In OpenFlow 1.3.4 spec (7.2.3.7 Flow Match Fields), the match field
> of MPLS_LABEL is not maskable.
> >
> > Just for your information, error details is possible analysis in
> "error_type" and "error_code".
> > Please refer to "7.4.4 Error Message" of OpenFlow 1.3.4 spec.
> >
> > >
> > >
> > > Best Regards,
> > > --Moradi
> > >
> > >
> > >
> ------------------------------------------------------------------------------
> > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> > > from Actuate! Instantly Supercharge Your Business Reports and
> Dashboards
> > > with Interactivity, Sharing, Native Excel Exports, App Integration
> & more
> > > Get technology previously reserved for billion-dollar
> corporations, FREE
> > >
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> > >
> > >
> > >
> > > _______________________________________________
> > > Ryu-devel mailing list
> > > Ryu-devel@lists.sourceforge.net <mailto:
> Ryu-devel@lists.sourceforge.net>
> > > https://lists.sourceforge.net/lists/listinfo/ryu-devel
> > >
> >
> >
> >
> >
> > --
> > -----
> > Mehrdad Moradi
> > Research Assistant
> > University of Michigan- Ann Arbor
> >
> >
>
--
-----
Mehrdad Moradi
Research Assistant
University of Michigan- Ann Arbor
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel