Appendix D IP Addresses and Subnetting
P-2304R-P1 Series User’s Guide
251
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.
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:
Notation
Since the mask is always a continuous number of ones beginning from the left, followed by a
continuous number of zeros for the remainder of the 32 bit mask, you can simply specify the
number of ones instead of writing the value of each octet. This is usually specified by writing
a “/” followed by the number of bits in the mask after the address.
For example, 192.1.1.0 /25 is equivalent to saying 192.1.1.0 with subnet mask
255.255.255.128.
The following table shows some possible subnet masks using both notations.
Table 115
Subnet Masks
BINARY
DECIMAL
1ST
OCTET
2ND
OCTET
3RD
OCTET
4TH OCTET
8-bit mask
11111111
00000000
00000000
00000000
255.0.0.0
16-bit mask
11111111
11111111
00000000
00000000
255.255.0.0
24-bit mask
11111111
11111111
11111111
00000000
255.255.255.0
29-bit mask
11111111
11111111
11111111
11111000
255.255.255.248
Table 116
Maximum Host Numbers
SUBNET MASK
HOST ID SIZE
MAXIMUM NUMBER OF HOSTS
8 bits
255.0.0.0
24 bits
2
24
– 2
16777214
16 bits
255.255.0.0
16 bits
2
16
– 2
65534
24 bits
255.255.255.0
8 bits
2
8
– 2
254
29 bits
255.255.255.248 3 bits
2
3
– 2
6
Table 117
Alternative Subnet Mask Notation
SUBNET MASK
ALTERNATIVE
NOTATION
LAST OCTET
(BINARY)
LAST OCTET
(DECIMAL)
255.255.255.0
/24
0000 0000
0
255.255.255.128
/25
1000 0000
128
Summary of Contents for P-2304R
Page 2: ......
Page 8: ...Contents Overview P 2304R P1 Series User s Guide 8...
Page 26: ...26...
Page 32: ...Chapter 1 Introducing the ZyXEL Device P 2304R P1 Series User s Guide 32...
Page 40: ...Chapter 2 Introducing the Web Configurator P 2304R P1 Series User s Guide 40...
Page 73: ...73 PART II Network WAN 75 LAN 85 NAT 97...
Page 74: ...74...
Page 105: ...105 PART III VoIP SIP 107 Phone 121 Phone Book 129...
Page 106: ...106...
Page 116: ...Chapter 9 SIP P 2304R P1 Series User s Guide 116 Figure 60 VoIP SIP SIP Settings Advanced...
Page 128: ...Chapter 10 Phone P 2304R P1 Series User s Guide 128...
Page 134: ...Chapter 11 Phone Book P 2304R P1 Series User s Guide 134...
Page 136: ...136...
Page 144: ...Chapter 12 Firewall P 2304R P1 Series User s Guide 144...
Page 148: ...Chapter 13 Content Filter P 2304R P1 Series User s Guide 148...
Page 152: ...Chapter 14 Static Route P 2304R P1 Series User s Guide 152...
Page 174: ...174...
Page 186: ...Chapter 17 UPnP P 2304R P1 Series User s Guide 186...
Page 194: ...Chapter 18 System P 2304R P1 Series User s Guide 194...
Page 208: ...Chapter 19 Logs P 2304R P1 Series User s Guide 208...
Page 220: ...Chapter 21 Troubleshooting P 2304R P1 Series User s Guide 220...
Page 222: ...222...
Page 228: ...Appendix A Product Specifications P 2304R P1 Series User s Guide 228...
Page 258: ...Appendix E SIP Passthrough P 2304R P1 Series User s Guide 258...
Page 290: ...Appendix I Legal Information P 2304R P1 Series User s Guide 290...