How to enable ECMP flow based forwarding ?

Ermal Luçi eri at freebsd.org
Wed Feb 15 17:17:44 UTC 2017


On Tue, Feb 14, 2017 at 10:15 PM, Andrey V. Elsukov <bu7cher at yandex.ru>
wrote:

> 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.
>
> Yeah but for 11 branch still is.


> --
> WBR, Andrey V. Elsukov
>
>


-- 
Ermal


More information about the freebsd-net mailing list