lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 8 Dec 2015 20:26:12 +1300
From:	Sam Russell <sam.h.russell@...il.com>
To:	roopa <roopa@...ulusnetworks.com>
Cc:	netdev@...r.kernel.org
Subject: Re: MPLS decap with iproute2

Thanks all for your help, I got it working with Robert and Roopa's
sysctl settings, the following works:

ip route -f mpls add 100 dev lo

On 8 December 2015 at 15:37, roopa <roopa@...ulusnetworks.com> wrote:
> On 12/7/15, 11:42 AM, Sam Russell wrote:
>> Hi,
>>
>> I've had success with the iproute2 manpage example for encapsulating
>> outgoing traffic in MPLS, but I've not found a way to add decap routes
>> inbound.
>>
>> I've tried "ip route -f mpls add 100 dev lo" and other variations, but I
>> get netlink errors back.
>>
>> Has this been built yet? Is there sample config that I can try out? I'm
>> running a home-built 4.3 kernel + iproute2 built from head (on ubuntu
>> 15.10) and am comfortable with perf and splashing around in the codebase if
>> need be.
>>
> Example below should work
>  ip -f mpls route add 100 as 200 via inet 10.1.1.2 dev eth0
>
> You have to enable mpls on the interface first:
> echo 1 > /proc/sys/net/mpls/conf/eth0/input
>
> multipath iproute2 patches are not in yet. Will submit them soon.
>
> let me know if you still get errors.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists