FreeBSD 14 and route in non-zero FIB

From: Alexey Vyskubov <alexey_at_pentode.fi>
Date: Tue, 21 Nov 2023 09:03:12 UTC
Hello,

after upgrade to FreeBSD 14 I have the following problem (it worked in
13.2). I wonder what am I doing wrong?

# route add -fib 0 default 192.168.0.1
add net default: gateway 192.168.0.1 fib 0
# route add -fib 1 default 192.168.0.1
add net default: gateway 192.168.0.1 fib 1: Invalid argument

So route cannot be added with FIB 1. The FIB 1 does exist ("net.fibs=2"
in /boot/loader.conf) or the error message would be different:

# route add -fib 2 default 192.168.0.1
route: invalid fib number: 2

-- 
Alexey
I cannot receive HTML mail at this account.
Hi, I am a signature virus. Add me to your signature to help me spread.