Appendix B IP Addresses and Subnetting
P-873HNU(P)-51B User’s Guide
297
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 114
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 115
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.24
8
3 bits
2
3
– 2
6
Table 116
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
255.255.255.192
/26
1100 0000
192
Содержание P-873HNU-51B
Страница 4: ...Contents Overview P 873HNU P 51B User s Guide 4...
Страница 13: ...Table of Contents P 873HNU P 51B User s Guide 13 Appendix F Legal Information 329 Index 333...
Страница 14: ...Table of Contents P 873HNU P 51B User s Guide 14...
Страница 15: ...15 PART I User s Guide...
Страница 16: ...16...
Страница 32: ...Chapter 2 The Web Configurator P 873HNU P 51B User s Guide 32...
Страница 57: ...57 PART II Technical Reference...
Страница 58: ...58...
Страница 64: ...Chapter 5 Network Map and Status Screens P 873HNU P 51B User s Guide 64...
Страница 108: ...Chapter 7 Wireless P 873HNU P 51B User s Guide 108...
Страница 132: ...Chapter 9 Static Routing P 873HNU P 51B User s Guide 132...
Страница 152: ...Chapter 10 Quality of Service QoS P 873HNU P 51B User s Guide 152...
Страница 168: ...Chapter 11 Network Address Translation NAT P 873HNU P 51B User s Guide 168...
Страница 182: ...Chapter 13 IGMP P 873HNU P 51B User s Guide 182...
Страница 188: ...Chapter 14 Interface Group P 873HNU P 51B User s Guide 188...
Страница 202: ...Chapter 17 Parental Control P 873HNU P 51B User s Guide 202...
Страница 224: ...Chapter 22 Logs P 873HNU P 51B User s Guide 224...
Страница 234: ...Chapter 25 xDSL Statistics P 873HNU P 51B User s Guide 234...
Страница 238: ...Chapter 26 Users Configuration P 873HNU P 51B User s Guide 238...
Страница 244: ...Chapter 27 Remote Management P 873HNU P 51B User s Guide 244...
Страница 250: ...Chapter 29 Logs Setting P 873HNU P 51B User s Guide 250...
Страница 256: ...Chapter 31 Configuration P 873HNU P 51B User s Guide 256...
Страница 262: ...Chapter 32 Diagnostic P 873HNU P 51B User s Guide 262...
Страница 274: ...Chapter 34 Product Specifications P 873HNU P 51B User s Guide 274...
Страница 310: ...Appendix C Pop up Windows JavaScript and Java Permissions P 873HNU P 51B User s Guide 310...
Страница 324: ...Appendix D Wireless LANs P 873HNU P 51B User s Guide 324...