Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2018 05:59:02 +0530
From:      Akilan Elango <akilan1997@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   max devices in tun
Message-ID:  <CABTkBy_7QpX8F%2B5bai-BXtLbZGEXcgfh69-8Ni%2Bk_apBq4t-SQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABTkBy_7QpX8F%2B5bai-BXtLbZGEXcgfh69-8Ni%2Bk_apBq4t-SQ>