[ovs-discuss] MPLS push - OVS 2.4

Joe Stringer joestringer at nicira.com
Tue Sep 8 17:20:45 UTC 2015


Are you using the openvswitch DKMS module that comes with OVS-2.4 or
the openvswitch module that comes with Linux-3.11?

On 7 September 2015 at 15:36, Seyed Hossein Mortazavi
<mortazavi at ualberta.ca> wrote:
> Hi,
>
> I'm running OVS 2.4 on Ubuntu 14.04 with Kernel 3.11.
>
> I'm trying to add MPLS headers (and then pop them) to IP packets. My
> topology looks like:
> h1---s1---s2---s3---h2
>
> I've statically already configured the switches such that they would have
> rules for ARP installed.
>
> However adding the rule:
>
> add-flow s1
> "in_port=1,dl_type=0x0800,dl_src=26:95:84:d0:54:56,dl_dst=26:95:84:d0:54:56,actions=push_mpls:0x8847,set_mpls_label:10,output:2"
>
> Doesn't seem to work (both for Openflow 1.3 and Openflow 1.0). Packets do
> not get to s2.
>
> Does anyone know how I can do so?
>
> based on the FAQ,
>
> "Open vSwitch version 2.4 can match, push, or pop up to 3 MPLS labels and
> look past the MPLS label into the encapsulated packet. It will have kernel
> support for MPLS, yielding improved performance."
>
>
> --
> Hossein
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>



More information about the discuss mailing list