network-programmingwindows-xpip-addresslanwindows-networking

Maximum number of systems in a LAN


I am developing a web application. I want to deploy it in a LAN. I would like to know what will be the maximum number of systems possible in a LAN?


Solution

  • In a LAN like the one you say (192.168.1.56) is the maximum number of systems 253 if I'm not wrong. 255 is the highest number in an IP address and the last number and first number are reserved for broadcast address and network address.
    Or it would be that the subnet mask is other than 255.255.255.0 then it can be even less than 253.
    And about the handling of assignment of IP addresses that depends on how the network and systems are configured. Most of the networks are configured so that every PC gets his IP address from a DHCP server (router most of the times). If it goes through DHCP then one PC can have now IP address 192.168.1.56 and when it reboots it can have address 192.168.1.105. Also a PC can have a static IP address so that it does not change.