Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2025 17:26:36 +0200
From:      Rozhuk Ivan <rozhuk.im@gmail.com>
To:        Michael Butler <imb@protected-networks.net>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: fib selection and persistence using ipfw
Message-ID:  <20251209172636.6dd7ae73@rimwks.local>
In-Reply-To: <75037780-3748-4cf3-8a44-a0e9c0b76e06@protected-networks.net>
References:  <20350073-abc5-4116-9fd7-8e8f708a26d4@protected-networks.net> <20251208031147.393b2391@rimwks.local> <75037780-3748-4cf3-8a44-a0e9c0b76e06@protected-networks.net>

index | next in thread | previous in thread | raw e-mail

On Mon, 8 Dec 2025 08:38:22 -0500
Michael Butler <imb@protected-networks.net> wrote:

> > Do not forget set fib to network interface like it done in examlpe.
> > In my case if same IP+mask set on more than one net if - only last
> > one will process packets to sockets.  
> 
> Interface FIBs only work when the connection stays on the same
> machine.


https://man.freebsd.org/cgi/man.cgi?ifconfig
       fib fib_number
	       Specify	interface  FIB.	  A  FIB fib_number is assigned	to all
	       frames or packets received on that interface.  The FIB  is  not
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!!!
	       inherited, e.g.,	vlans or other sub-interfaces will use the de-
	       fault  FIB (0) irrespective of the parent interface's FIB.  The
	       kernel needs to be tuned	to support more	than the  default  FIB
	       using  the  ROUTETABLES	kernel	configuration  option,	or the
	       net.fibs	tunable.


home | help

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