How to enable ECMP flow based forwarding ?
Andrey V. Elsukov
bu7cher at yandex.ru
Wed Feb 15 06:17:46 UTC 2017
On 14.02.2017 22:52, Ermal Luçi wrote:
> I think you need to implement some code first. The fastfwd has not
> supported MPATH and tryforward also doesn't support it. For IPv4 you can
> try to add some IPsec security policy to disable ip_tryforward. In this
> case ip_forward() will be used, and it uses rtalloc_mpath_fib(), so,
> probably, it will work.
>
> This seems to be a bug to file and which can quickly be fixed by
> presenting same
> behaviour that slow path does when RADIX_MPATH is active.
>
> It does not impact performance or any of the problems ip_tryforward() is
> trying to
> solve.
>
> Try the attached patch it should fix your issues.
ip_tryforward() was changed to FIB4 KPI and your path is not applicable
anymore.
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20170215/5db2c79b/attachment.sig>
More information about the freebsd-net
mailing list