[frr] 2 MPLS Questions
David Ahern
dsa at cumulusnetworks.com
Mon Apr 3 23:26:07 EDT 2017
On 4/3/17 8:00 PM, Renato Westphal wrote:
> Regarding the pop+route lookups that Olivier is interested in, I
> discovered something interesting. I commented out the following two
> lines and rebuilt the kernel:
> https://github.com/torvalds/linux/blob/v4.11-rc4/net/mpls/af_mpls.c#L1778-L1779
>
> Then I looked at the MPLS routing table:
> # ip -M ro
> 0 via link 00:00:00:00:00:00 dev lo proto kernel
> 2 via link 00:00:00:00:00:00 dev lo proto kernel
>
> Pretty interesting huh?
>
> Then I discovered that adding LSPs like this is enough to perform pop
> + route lookup:
> # ip -M route add 16 dev lo
>
> I would like to hear from our kernel developers if we can consider
> this as a solution to Olivier's 2nd problem or if it's just a
> workaround.
I'll take a look next week; at neconf/netdev this week.
More information about the dev
mailing list