max devices in tun
Eugene Grosbein
eugen at grosbein.net
Thu Apr 19 07:03:46 UTC 2018
19.04.2018 7:29, Akilan Elango wrote:
> Hey guys,
> I was fiddling around with the /dev/tun to write a TUN interface
> for my app. I wanted to check what is the max amount of interfaces
> that can be made. Turned out it was 32768 [0 - 32768). But when I
> created (ifconfig tun32768 create), a weird device appeared as shown
> in this figure : https://imgur.com/a/0ypbwgg.
>
> Is this expected? and I'm unable to delete the device too from ifconfig.
You should tell what FreeBSD version do you use.
It does not do so for my 11.1/i386:
# ifconfig tun32768 create
ifconfig: SIOCIFCREATE2: No space left on device
More information about the freebsd-net
mailing list