Appendix B IP Addresses and Subnetting
AMG1202-T10A User’s Guide
249
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.
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.
Table 99
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 100
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
Содержание AMG1202-T10A
Страница 2: ......
Страница 6: ...Document Conventions AMG1202 T10A User s Guide 6 Server Firewall Telephone Router Switch ...
Страница 8: ...Safety Warnings AMG1202 T10A User s Guide 8 ...
Страница 10: ...Contents Overview AMG1202 T10A User s Guide 10 ...
Страница 18: ...Table of Contents AMG1202 T10A User s Guide 18 ...
Страница 19: ...19 PART I User s Guide ...
Страница 20: ...20 ...
Страница 26: ...Chapter 1 Introduction AMG1202 T10A User s Guide 26 ...
Страница 32: ...Chapter 2 The Web Configurator AMG1202 T10A User s Guide 32 ...
Страница 36: ...Chapter 3 Status Screens AMG1202 T10A User s Guide 36 ...
Страница 53: ...53 PART II Technical Reference ...
Страница 54: ...54 ...
Страница 84: ...Chapter 6 WAN Setup AMG1202 T10A User s Guide 84 ...
Страница 96: ...Chapter 7 LAN Setup AMG1202 T10A User s Guide 96 ...
Страница 126: ...Chapter 8 Wireless LAN AMG1202 T10A User s Guide 126 ...
Страница 142: ...Chapter 10 Firewall AMG1202 T10A User s Guide 142 ...
Страница 148: ...Chapter 11 Filters AMG1202 T10A User s Guide 148 ...
Страница 152: ...Chapter 12 Static Route AMG1202 T10A User s Guide 152 ...
Страница 158: ...Chapter 13 802 1Q 1P AMG1202 T10A User s Guide 158 ...
Страница 166: ...Chapter 14 Quality of Service QoS AMG1202 T10A User s Guide 166 ...
Страница 202: ...Chapter 19 Logs AMG1202 T10A User s Guide 202 ...
Страница 223: ...Chapter 23 Product Specifications AMG1202 T10A User s Guide 223 ...
Страница 224: ...Chapter 23 Product Specifications AMG1202 T10A User s Guide 224 ...
Страница 264: ...Appendix C Pop up Windows JavaScripts and Java Permissions AMG1202 T10A User s Guide 264 ...
Страница 278: ...Appendix D Wireless LANs AMG1202 T10A User s Guide 278 ...
Страница 286: ...Appendix F Legal Information AMG1202 T10A User s Guide 286 ...
Страница 294: ...Index AMG1202 T10A User s Guide 294 ...
Страница 295: ...Index AMG1202 T10A User s Guide 295 ...
Страница 296: ...Index AMG1202 T10A User s Guide 296 ...