Appendix D IP Addresses and Subnetting
P-660HW-Dx v2 User’s Guide
303
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 126
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 127
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 128
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
Содержание P-660HW-D1 V2
Страница 2: ......
Страница 7: ...Safety Warnings P 660HW Dx v2 User s Guide 7...
Страница 8: ...Safety Warnings P 660HW Dx v2 User s Guide 8...
Страница 10: ...Contents Overview P 660HW Dx v2 User s Guide 10...
Страница 19: ...Table of Contents P 660HW Dx v2 User s Guide 19 Index 351...
Страница 20: ...Table of Contents P 660HW Dx v2 User s Guide 20...
Страница 26: ...List of Figures P 660HW Dx v2 User s Guide 26...
Страница 31: ...31 PART I Introduction Introducing the ZyXEL Device 33 Introducing the Web Configurator 39...
Страница 32: ...32...
Страница 51: ...51 PART II Wizards Wizard Setup for Internet Access 53 Bandwidth Management Wizard 67...
Страница 52: ...52...
Страница 66: ...Chapter 3 Wizard Setup for Internet Access P 660HW Dx v2 User s Guide 66...
Страница 72: ...Chapter 4 Bandwidth Management Wizard P 660HW Dx v2 User s Guide 72...
Страница 73: ...73 PART III Network WAN Setup 75 LAN Setup 93 Wireless LAN 105 Network Address Translation NAT Screens 129...
Страница 74: ...74...
Страница 92: ...Chapter 5 WAN Setup P 660HW Dx v2 User s Guide 92...
Страница 128: ...Chapter 7 Wireless LAN P 660HW Dx v2 User s Guide 128...
Страница 141: ...141 PART IV Security Firewalls 143 Firewall Configuration 155 Content Filtering 177 Certificates 145...
Страница 142: ...142...
Страница 162: ...Chapter 10 Firewall Configuration P 660HW Dx v2 User s Guide 162 Figure 92 Firewall Edit Rule...
Страница 176: ...Chapter 10 Firewall Configuration P 660HW Dx v2 User s Guide 176...
Страница 180: ...Chapter 11 Content Filtering P 660HW Dx v2 User s Guide 180...
Страница 182: ...182...
Страница 186: ...Chapter 12 Static Route P 660HW Dx v2 User s Guide 186...
Страница 202: ...Chapter 14 Dynamic DNS Setup P 660HW Dx v2 User s Guide 202...
Страница 224: ...Chapter 16 Universal Plug and Play UPnP P 660HW Dx v2 User s Guide 224...
Страница 225: ...225 PART VI Maintenance and Troubleshooting System 227 Logs 233 Tools 251 Diagnostic 257 Troubleshooting 259...
Страница 226: ...226...
Страница 232: ...Chapter 17 System P 660HW Dx v2 User s Guide 232...
Страница 250: ...Chapter 18 Logs P 660HW Dx v2 User s Guide 250...
Страница 256: ...Chapter 19 Tools P 660HW Dx v2 User s Guide 256...
Страница 264: ...264...
Страница 332: ...Appendix F Internal SPTGEN P 660HW Dx v2 User s Guide 332...
Страница 346: ...Appendix J Legal Information P 660HW Dx v2 User s Guide 346...
Страница 358: ...Index P 660HW Dx v2 User s Guide 358...