Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2024 21:29:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278295] add net 128.0.0.0: gateway 10.8.1.1 fib 1: Invalid argument
Message-ID:  <bug-278295-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278295

            Bug ID: 278295
           Summary: add net 128.0.0.0: gateway 10.8.1.1 fib 1: Invalid
                    argument
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: cnbatch@gmail.com

I was trying to make a OpenVPN connection with command

'setfib 1 openvpn connect_to_server.ovpn'

and got these errors:
add net 0.0.0.0: gateway 10.8.3.1 fib 1: Invalid argument
add net 128.0.0.0: gateway 10.8.3.1 fib 1: Invalid argument

If I add these routes in console, still got the same error messages.


But the connect command was success on FIB 0:

'openvpn myconnection.ovpn'

or

'setfib 0 openvpn myconnection.ovpn'

can connect to target server successfully.

I've already set 'net.fib=3D2' in /boot/loader.conf

Command 'set fib 1 netstat -rn' can return routing table successfully.


And I found this thread on freebsd forums:
https://forums.freebsd.org/threads/freebsd-14-and-route-in-non-zero-fib.910=
99/

The OP said it worked in 13.2.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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