Maximum tun devices

Bikrant Neupane bikrant_ml at wlink.com.np
Thu Sep 1 06:20:54 GMT 2005


Well, I found the answer  :)

sh /dev/MAKEDEV tun256 tun500

Bikrant

On Thursday 01 September 2005 11:44, Bikrant Neupane wrote:
> Hi,
>
> 	I am using FreeBSD 4.9 as PPPoE Concentrator. This system has to server
> 500+ pppoe clients. Initially there were only four tun devices in the
> system. I added more tun devices. However I could not add more than 255
> tunnel devices.
>
> mknod /dev/tun256 c 52 256
> mknod: major or minor number too large
>
> Do I need to add support for more than 255 tun devices in kernel or do I
> need to use some other major number for tunnels higher than 255 ?
> Please suggest.
>
> Thanking you,
> Bikrant
>
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list