Maximum number of "tun" pseudo-devices

Brett Glass brett at lariat.net
Mon May 14 01:09:32 UTC 2012


Everyone:

I'm running a busy FreeBSD-based that may handle large numbers of 
simultaneous connections. I'm currently using software that creates 
a "tun" device for each connection. However, after it hits tun127 
(128 pseudo-devices), it doesn't seem to want to create any more. 
What sets the limit on the number of "tun" devices that can exist 
in the system, and how can the limit be adjusted? Is there a 
similar limit on, say, "ng" devices?

--Brett Glass



More information about the freebsd-questions mailing list