Appendix B IP Addresses and Subnetting
VMG1312-B10A User’s Guide
323
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 112
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 113
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
Содержание VWG1312-B10A
Страница 2: ......
Страница 8: ...Contents Overview VMG1312 B10A User s Guide 8 Troubleshooting 291 ...
Страница 18: ...Table of Contents VMG1312 B10A User s Guide 18 ...
Страница 19: ...19 PART I User s Guide ...
Страница 20: ...20 ...
Страница 34: ...Chapter 2 The Web Configurator VMG1312 B10A User s Guide 34 ...
Страница 39: ...Chapter 4 Tutorials VMG1312 B10A User s Guide 39 7 Click Apply to save your settings ...
Страница 79: ...79 PART II Technical Reference ...
Страница 80: ...80 ...
Страница 168: ...Chapter 9 Routing VMG1312 B10A User s Guide 168 ...
Страница 186: ...Chapter 10 Quality of Service QoS VMG1312 B10A User s Guide 186 ...
Страница 212: ...Chapter 13 Interface Group VMG1312 B10A User s Guide 212 ...
Страница 228: ...Chapter 15 Firewall VMG1312 B10A User s Guide 228 ...
Страница 234: ...Chapter 17 Parental Control VMG1312 B10A User s Guide 234 ...
Страница 244: ...Chapter 19 Certificates VMG1312 B10A User s Guide 244 ...
Страница 248: ...Chapter 20 Log VMG1312 B10A User s Guide 248 ...
Страница 252: ...Chapter 21 Traffic Status VMG1312 B10A User s Guide 252 ...
Страница 258: ...Chapter 24 IGMP Status VMG1312 B10A User s Guide 258 ...
Страница 262: ...Chapter 25 xDSL Statistics VMG1312 B10A User s Guide 262 ...
Страница 264: ...Chapter 26 User Account VMG1312 B10A User s Guide 264 ...
Страница 270: ...Chapter 29 TR 064 VMG1312 B10A User s Guide 270 ...
Страница 274: ...Chapter 30 Time Settings VMG1312 B10A User s Guide 274 ...
Страница 280: ...Chapter 32 Logs Setting VMG1312 B10A User s Guide 280 ...
Страница 298: ...Chapter 36 Troubleshooting VMG1312 B10A User s Guide 298 ...
Страница 338: ...Appendix C Pop up Windows JavaScripts and Java Permissions VMG1312 B10A User s Guide 338 ...
Страница 352: ...Appendix D Wireless LANs VMG1312 B10A User s Guide 352 ...
Страница 368: ...Appendix G Legal Information VMG1312 B10A User s Guide 368 ...
Страница 376: ...VMG1312 B10A User s Guide 376 Index ...
Страница 377: ...Index VMG1312 B10A User s Guide 377 ...
Страница 378: ...VMG1312 B10A User s Guide 378 Index ...