Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2017 17:13:28 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Cc:        "Alexander V. Chernikov" <melifaro@freebsd.org>
Subject:   Re: How to enable ECMP flow based forwarding ?
Message-ID:  <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru>
In-Reply-To: <CA%2Bq%2BTcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com>
References:  <CA%2Bq%2BTcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--HsDrqcbRquf8C74wEMIbfRiT2IwHShtG4
Content-Type: multipart/mixed; boundary="GggHtXHKt1Rjur6usL4BvtqH5hTm16LEF";
 protected-headers="v1"
From: "Andrey V. Elsukov" <bu7cher@yandex.ru>
To: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>,
 "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Cc: "Alexander V. Chernikov" <melifaro@freebsd.org>
Message-ID: <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru>
Subject: Re: How to enable ECMP flow based forwarding ?
References: <CA+q+TcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com>
In-Reply-To: <CA+q+TcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com>

--GggHtXHKt1Rjur6usL4BvtqH5hTm16LEF
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 14.02.2017 03:23, Olivier Cochard-Labb=C3=A9 wrote:
> Hi,
>=20
> I'm testing FreeBSD ECMP behavior by adding "options RADIX_MPATH" to my=

> kernel configuration (11-stable).
> Now I can configure two identical routes toward 2 different next-hop: F=
irst
> step achieved :-)
> But it uses only the first entry and never uses the second one.
>=20
> I've tried to shutdown the first next-hop router (then no more arp-repl=
y
> from this next-hop): But the ECMP FreeBSD router sticks to its first ro=
ute
> entry and never try the second entry :-(
>=20
> Is there something else to enable (like RSS?) for having a real ECMP fl=
ow
> based router ?

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.

--=20
WBR, Andrey V. Elsukov


--GggHtXHKt1Rjur6usL4BvtqH5hTm16LEF--

--HsDrqcbRquf8C74wEMIbfRiT2IwHShtG4
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAlijEIgACgkQAcXqBBDI
oXqJ6AgAwGnkBI7u4vT1khccY8u1r6d2ST15rEcOmaUs9YN2rMzClDaSqHNqoF+Y
ZU1g1gmWRgsPsa77f0AZObzsm+LTXsx9XwU1HWxx0IOcmqO6KTiWGbRUhxVTCNw5
vIyElxvvAbzO+egKkEdid6ELtkbTztEHBx7CNs0gT21aOPTGLqAa8SoMX2N+z7Wg
ATr1sfQSrzpAmeNres/CZNTsK99VccedHtaPPySQHucXR2KZcNaKrTh+EyZ0OvPF
0JlYGkAb3zdhdUM7IOSwW37D64LG/dFl0m3R28/3wXf/U1Gn3SEcYzVRRTq5Qj0u
qvUXDlZ0Ztks1Cun+rXekDCcVY57xw==
=JCZb
-----END PGP SIGNATURE-----

--HsDrqcbRquf8C74wEMIbfRiT2IwHShtG4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6162c934-3f22-889e-f45f-6f988342f4b3>