Maximum gif(4) interfaces

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Oct 19 13:11:30 UTC 2011


Ihsan Junaidi Ibrahim <ihsan.junaidi at gmail.com> writes:

> I need to build a system that need to terminate a number of 6-in-4 and 4-in-4 tunnels.
>
> Can someone point me to a direction, with gif auto-cloning and on GENERIC, what is the maximum number of gif interfaces/tunnels that can be supported?
>
> I'm on 8.2.

The implementation is in src/sys/net/if_gif.c.

There is no absolute limit to the number of cloned interfaces.  They are
stored in a linked list (as are interfaces as a whole), so having large
numbers of them could be a performance issue in some cases.  I would
guess that such cases would mostly involve having high rates of tunnel
creation and destruction, but you would have to test to be sure.


More information about the freebsd-questions mailing list