Howto:For how many phones can an ip3000 be dhcp server be used: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 4: Line 4:
==Applies To==
==Applies To==
This information applies to
This information applies to
* IP3000
* All innovaphone devices with DHCP server
* IP800




'''FAQ:'''
'''FAQ:'''
For how many phones can an ip3000 be dhcp server be used
For how many phones can an ip3000 be DHCP server be used


'''Answer:'''
'''Answer:'''
The restriction for the amount of dhcp leases is the limitation of memory segments for VARs.
The restriction for the amount of DHCP leases is the limitation of memory segments for VARS.


Normally a single segment has 64 kB (128 kB at the IP800). An entry has 84 Byte -> 65536/64 = 1024. Due to the fact that there aren’t only dhcp leases in the VAR segment, an amount of nearly 800 leases will be realistic.
All leases will be stored in the system VARS.  The amount of leases is thus limited by the space available in the VARS segment.  To determine, look at
 
<code>http://x.x.x.x/!mod cmd FLASHMAN0 info</code>
 
This will show the flash memory usage statistics.  Look for a line like
 
<code>VARS - used 21k avail 71k owned 128k (max 128k)</code>
 
This shows the limit for the VARS, 128k in this example (the size is fixed for a specific type of device).
A DHCP lease entry has 84 Bytes so the theoretical limit is (128 * 1024 / 84) => 1560. However, there are many other applications using the VARS segment. A reasonably safe assumption is that 32k can be used for leases, so 400 leases are OK. If in doubt, consult the ''avail'' figure shown in the <code>mod cmd</code> output above.





Latest revision as of 11:27, 28 May 2009

Summary

Maximum users for an innovaphone DHCP Server

Applies To

This information applies to

  • All innovaphone devices with DHCP server


FAQ: For how many phones can an ip3000 be DHCP server be used

Answer: The restriction for the amount of DHCP leases is the limitation of memory segments for VARS.

All leases will be stored in the system VARS. The amount of leases is thus limited by the space available in the VARS segment. To determine, look at

http://x.x.x.x/!mod cmd FLASHMAN0 info

This will show the flash memory usage statistics. Look for a line like

VARS - used 21k avail 71k owned 128k (max 128k)

This shows the limit for the VARS, 128k in this example (the size is fixed for a specific type of device). A DHCP lease entry has 84 Bytes so the theoretical limit is (128 * 1024 / 84) => 1560. However, there are many other applications using the VARS segment. A reasonably safe assumption is that 32k can be used for leases, so 400 leases are OK. If in doubt, consult the avail figure shown in the mod cmd output above.