ZyXEL P-870HN-51b User Guide - Page 329
Network Size, Table 105
View all ZyXEL P-870HN-51b manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 329 highlights
Appendix C IP Addresses and Subnetting By convention, subnet masks always consist of a continuous sequence of ones beginning from the leftmost bit of the mask, followed by a continuous sequence of zeros, for a total number of 32 bits. Subnet masks can be referred to by the size of the network number part (the bits with a "1" value). For example, an "8-bit mask" means that the first 8 bits of the mask are ones and the remaining 24 bits are zeroes. Subnet masks are expressed in dotted decimal notation just like IP addresses. The following examples show the binary and decimal notation for 8-bit, 16-bit, 24-bit and 29-bit subnet masks. Table 105 Subnet Masks BINARY 8-bit mask 16-bit mask 24-bit mask 29-bit mask 1ST OCTET 11111111 11111111 11111111 11111111 2ND OCTET 00000000 11111111 11111111 11111111 3RD OCTET 00000000 00000000 11111111 11111111 4TH OCTET 00000000 00000000 00000000 11111000 DECIMAL 255.0.0.0 255.255.0.0 255.255.255.0 255.255.255.24 8 Network Size The size of the network number determines the maximum number of possible hosts you can have on your network. The larger the number of network number bits, the smaller the number of remaining host ID bits. An IP address with host IDs of all zeros is the IP address of the network (192.168.1.0 with a 24-bit subnet mask, for example). An IP address with host IDs of all ones is the broadcast address for that network (192.168.1.255 with a 24-bit subnet mask, for example). As these two IP addresses cannot be used for individual hosts, calculate the maximum number of possible hosts in a network as follows: Table 106 Maximum Host Numbers SUBNET MASK HOST ID SIZE 8 bits 255.0.0.0 24 bits 16 bits 255.255.0.0 16 bits 24 bits 255.255.255.0 8 bits 29 bits 255.255.255.2 3 bits 48 224 - 2 216 - 2 28 - 2 23 - 2 MAXIMUM NUMBER OF HOSTS 16777214 65534 254 6 P-870HN-5xb User's Guide 329