摘要 |
The invention relates to a method for variable sub-network management in a TCP/IP-system. The inventive method simplifies sub-network management and enables rapid determination of available sub-network addresses in addition to the net size of the sub-networks which can be addressed using said sub-network addresses. Initially, successive free network areas are compiled to form a free range. A maximum number of freeable sub-networks with the largest possible net size is then determined. Beginning with the lowest network address arising from the real or accepted freeing of a determined sub-network within the remaining free range, a repeated examination is carried out to see if the modulo obtained on the basis of said network addresses and a network size which is supposed to double corresponds to zero. If the modulo is different from 0, the net size of the next freeable sub-network is determined as half the value of the accepted net size when the modulo is formed, whereupon the free range is subsequently reduced to the last determined net size of a freeable sub-network. |