Re: max devices in tun

2018-04-19 Thread Akilan Elango
I'm using FreeBSD 11.1 current in a qemu instance. Today I tried it it said no space left on device. So I can say that it happened for some other number. (not 32768) Actually I tried other numbers too. and today it also created a character special device in /dev/tun for some huge number which wasn'

Re: max devices in tun

2018-04-19 Thread Eugene Grosbein
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

max devices in tun

2018-04-18 Thread Akilan Elango
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 : h