Appendix D IP Addresses and Subnetting
P-791R v2 User’s Guide
311
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 101
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 102
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 103
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-791R
Страница 2: ......
Страница 7: ...Safety Warnings P 791R v2 User s Guide 7 This product is recyclable Dispose of it properly...
Страница 8: ...Safety Warnings P 791R v2 User s Guide 8...
Страница 20: ...Table of Contents P 791R v2 User s Guide 20...
Страница 32: ...32...
Страница 46: ...Chapter 2 Introducing the Web Configurator P 791R v2 User s Guide 46...
Страница 53: ...Chapter 3 Wizard Setup for Internet Access P 791R v2 User s Guide 53...
Страница 54: ...Chapter 3 Wizard Setup for Internet Access P 791R v2 User s Guide 54...
Страница 58: ...Chapter 4 Point to point Configuration P 791R v2 User s Guide 58...
Страница 59: ...59 PART II Network Setup WAN Setup 61 LAN Setup 83 Network Address Translation NAT Screens 93...
Страница 60: ...60...
Страница 82: ...Chapter 5 WAN Setup P 791R v2 User s Guide 82...
Страница 104: ...Chapter 7 Network Address Translation NAT Screens P 791R v2 User s Guide 104...
Страница 105: ...105 PART III Security Filter 107...
Страница 106: ...106...
Страница 110: ...110...
Страница 114: ...Chapter 9 Static Route P 791R v2 User s Guide 114...
Страница 118: ...Chapter 10 Dynamic DNS Setup P 791R v2 User s Guide 118...
Страница 128: ...Chapter 11 Remote Management Configuration P 791R v2 User s Guide 128...
Страница 140: ...Chapter 12 Universal Plug and Play UPnP P 791R v2 User s Guide 140...
Страница 141: ...141 PART V Maintenance System 143 Logs 149 Tools 153 Diagnostic 159...
Страница 142: ...142...
Страница 148: ...Chapter 13 System P 791R v2 User s Guide 148...
Страница 158: ...Chapter 15 Tools P 791R v2 User s Guide 158...
Страница 162: ...162...
Страница 168: ...Chapter 17 Introducing the SMT P 791R v2 User s Guide 168...
Страница 172: ...Chapter 18 General Setup P 791R v2 User s Guide 172...
Страница 178: ...Chapter 19 WAN Setup P 791R v2 User s Guide 178...
Страница 194: ...Chapter 22 Remote Node Setup P 791R v2 User s Guide 194...
Страница 198: ...Chapter 23 Static Route Setup P 791R v2 User s Guide 198...
Страница 226: ...Chapter 25 Filter Configuration P 791R v2 User s Guide 226...
Страница 228: ...Chapter 26 SNMP Configuration P 791R v2 User s Guide 228...
Страница 230: ...Chapter 27 System Password P 791R v2 User s Guide 230...
Страница 240: ...Chapter 28 System Information Diagnosis P 791R v2 User s Guide 240...
Страница 268: ...Chapter 31 IP Routing Policy Setup P 791R v2 User s Guide 268...
Страница 272: ...Chapter 32 Schedule Setup P 791R v2 User s Guide 272...
Страница 278: ...Chapter 33 Troubleshooting P 791R v2 User s Guide 278...
Страница 280: ...280...
Страница 285: ...Appendix A Product Specifications P 791R v2 User s Guide 285 Figure 194 Masonry Plug and M4 Tap Screw...
Страница 286: ...Appendix A Product Specifications P 791R v2 User s Guide 286...
Страница 320: ...Appendix E IP Address Assignment Conflicts P 791R v2 User s Guide 320...
Страница 324: ...Appendix F Common Services P 791R v2 User s Guide 324...
Страница 330: ...Appendix G Command Interpreter P 791R v2 User s Guide 330...
Страница 342: ...Appendix H Log Descriptions P 791R v2 User s Guide 342...
Страница 348: ...Appendix J Legal Information P 791R v2 User s Guide 348...
Страница 354: ...Appendix S Customer Support P 791R v2 User s Guide 38...