Maximum number of NICs for Linux.

Roberto Ragusa mail at robertoragusa.it
Sat Sep 25 09:18:53 UTC 2010


Gilboa Davara wrote:

> Looking at the code (especially, register_net_dev) it seems that there
> are two possible limits:
> 1. Ethernet device name must not exceed 16 bytes.
> 2. Total number of network devices must not exceed 32768. 
> (const int max_netdevices = 8*PAGE_SIZE in __dev_alloc_name)

Forgetting for a moment about virtual devices (including tun, ppp, ...),
you now got me busy trying to imagine hardware with 32000 ethernet jacks.

:-)

-- 
   Roberto Ragusa    mail at robertoragusa.it


More information about the users mailing list