Hi,

I made it work by running the switches in userspace:

sudo ovs-vsctl set bridge s1 datapath_type=netdev protocols=OpenFlow13


I'll try re-installing everything to see if I can make it work in kernel
mode.

On Tue, Sep 8, 2015 at 3:51 PM, Seyed Hossein Mortazavi <
mortaz...@ualberta.ca> wrote:

> I followed the instructions here:
>
> https://github.com/mininet/mininet/wiki/Installing-new-version-of-Open-vSwitch
>
> and installed OVS 2.4 from its source (not using Ubuntu)
>
>
> If anyone has ever successfully done this before, then I'll try doing it
> on another machine/VM.
>
> On Tue, Sep 8, 2015 at 1:20 PM, Joe Stringer <joestrin...@nicira.com>
> wrote:
>
>> 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
>> <mortaz...@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@openvswitch.org
>> > http://openvswitch.org/mailman/listinfo/discuss
>> >
>>
>
>
>


-- 
Seyed Hossein Mortazavi

Computer Science MS Student,
University of Alberta
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to