Number of interfaces limitation
Shane Kerr
Shane_Kerr at isc.org
Wed Jul 19 11:04:35 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ivan V. Borodin wrote:
> Hello there,
>
> Does anybody know something about total number of interfaces which dhcpd
> can listen? What about 2048 interfaces, for example?
As far as I know, there is no built-in hard limitation on the number of
interfaces which the ISC DHCP server can support.
However, the server uses the select() call to check for packets. This
function has a limited number of file descriptors it supports. In Linux,
for example, it only allows 1024. The DHCP server requires 2 file
descriptors per interface, plus a few extras for logging, writing
leases, and the like. So the practical limit is probably around 500
interfaces.
I'm curious what environment you have that needs more than a few interfaces!
- --
Shane
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEvhHDMsfZxBO4kbQRAj27AKDnuJ1yWwOlAa0DE3W1d0TfPx8m4gCg7TwK
/4EZzuCpHK8IukBTaLQav5I=
=nTC6
-----END PGP SIGNATURE-----
More information about the dhcp-users
mailing list