interface FIB

Julian Elischer julian at elischer.org
Sat Nov 28 05:12:39 UTC 2009


Igor Sysoev wrote:
> Currently only packets generated during encapsulation can use
> interface's FIB stored during interface creation:
> 
> setfib 1 ifconfig gif0 ...
> setfib 1 ifconfig tun0 ...

not sure if tun actually does this (in fac tit shouldn't)

but for gre and gif (and stf) these are tunnelling other things into 
IP and thus it makes sense to be able to connect a routing table with 
the generated envelopes.

> 
> is it possible to implement this feature for any interface:
> 
> setfib 1 ifconfig vlan0 ...
> 
> or
> 
> ifconfig vlan0 setfib 1 ...

these two things would mean differnt things.
and one of them wouldn't mean anything.

setfig 1 ifconfig vlan0 woudl mean "what" exactly?
VLAN tagging is an L2/L1 operation and FIBS have no effect on this.

as for ifconfig vlan0 setfib 1, or  ifconfig em0 setfib 1

this will (shortly) mean that incoming packets through this interface 
will be default be connected with fib 1 so the any return packets 
(resets, icmp etc.) will use FIB1 to go back to the sender.

That patch is in the works.

> 
> 



More information about the freebsd-net mailing list