Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Dec 2024 15:05:14 +0300
From:      Vadim Goncharov <vadimnuclight@gmail.com>
To:        "Andrey V. Elsukov" <bu7cher@yandex.ru>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, Mark Johnston <markj@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: per-FIB socket binding
Message-ID:  <20241223150514.5649f22a@nuclight.lan>
In-Reply-To: <c396786f-3663-4283-92c3-165b17e77246@yandex.ru>
References:  <Z2G_q5s35AremgYc@nuc> <4p5o59s4-5p70-0775-1479-990o1s5po7r2@yvfgf.mnoonqbm.arg> <c396786f-3663-4283-92c3-165b17e77246@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Dec 2024 13:29:01 +0300
"Andrey V. Elsukov" <bu7cher@yandex.ru> wrote:

> On 21.12.2024 19:34, Bjoern A. Zeeb wrote:
> > How much use are FIBs still these days?=C2=A0 Half of the original use =
cases
> > I can think of could easily and better be overcome by using vnet jails
> > with a physical or virtual interface (e.g, vcc) being delegated to the
> > vnet.
> >=20
> > I wonder if anyone on FreeBSD is using FIBs to actually have multi-FIB=
=20
> > forwardig but that very little touches your use case apart from the mgmt
> > which again can be factored out better (or inversely, factoring out the
> > forwarding).
> >=20
> > I would honestly know who and how FIBs are still in use today or if they
> > should be put on a list to be removed for 16 (I assume I might be
> > surprised).
> >=20
> > That all said with your opt-in approach if the code itself doesn't bring
> > too many new complications I'd be happy with it (assuming FIBs still
> > have a use case). =20
>=20
> Some might say that VNET is useless and should be removed instead. We=20
> have bhyve and old-style jails. Without VNET the kernel code will be=20
> robust and simple again, and easy for debugging.
>=20
> But 1st April is not yet, and someone will say nothing.

It's not 1st April, I always had same bad feeling about VNET since 6.x.
Unfortunately, with Linux network namespaces competing, it's now too late to
axe VNET.

> FIBs are useful as is, but also can be used with "ipfw setfib" that make=
=20
> it irreplaceable.

And there is no SQLite (as alternative to FIBs) in kernel yet...

--=20
WBR, @nuclight



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20241223150514.5649f22a>