Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2022 18:04:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 255264] Unable to add default route for fib
Message-ID:  <bug-255264-7501-VACtoc0zsZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255264-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255264-7501@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #8 from Mitja Horvat <pinkfluid@gmail.com> ---
(In reply to Marek Zarychta from comment #7)
Thank you very much for the prompt response. Indeed, setting the fib of the=
 re0
interface 1 makes the route work. However this causes all the traffic routed
through re0 to use fib 1 as default, which is not really what I want.

The use case I'm trying to solve is to have a mix of processes/jail running=
 on
fib 1 using setfib, everything else should go through the interface normally
using fib 0.

Even if it's a feature, I find it very strange that a valid static route wo=
uld
fail if there's no carrier. I even tried unplugging the ethernet cable and =
the
script above basically loops until I connect the cable and carrier is detec=
ted.

I think I'll play with pf to get what I need (or just reset re0's fib to 0 =
in
rc.local), but I still find this to be a very peculiar behavior.

--=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-255264-7501-VACtoc0zsZ>