Maximum number of "tun" pseudo-devices

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Tue May 15 13:24:40 UTC 2012


i would rather look at software that uses "tun" interfaces instead of 
FreeBSD which seems to support more than 128 tuns out of the box:


this:


# x=1;while [ $x -lt 2000 ];do ifconfig tun$x create;x=$[x+1];done

worked fine. ifconfig shows 2000 tun interfaces

# x=1;while [ $x -lt 2000 ];do ifconfig tun$x destroy;x=$[x+1];done

worked fine too.


what software do you use for tun interfaces?



More information about the freebsd-questions mailing list