Appendix D IP Addresses and Subnetting
P-660H-Tx v2 User’s Guide
275
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.248 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
Содержание P-660H-T1 v2
Страница 1: ...www zyxel com P 660H Tx v2 ADSL 2 4 port Gateway User s Guide Version 3 40 2 2007 Edition 1...
Страница 2: ......
Страница 7: ...Safety Warnings P 660H Tx v2 User s Guide 7...
Страница 8: ...Safety Warnings P 660H Tx v2 User s Guide 8...
Страница 10: ...Contents Overview P 660H Tx v2 User s Guide 10...
Страница 24: ...List of Figures P 660H Tx v2 User s Guide 24...
Страница 28: ...List of Tables P 660H Tx v2 User s Guide 28 Table 125 NetBIOS Filter Default Settings 296...
Страница 29: ...29 PART I Introduction Introducing the ZyXEL Device 31 Introducing the Web Configurator 37...
Страница 30: ...30...
Страница 36: ...Chapter 1 Introducing the ZyXEL Device P 660H Tx v2 User s Guide 36...
Страница 49: ...49 PART II Wizards Wizard Setup for Internet Access 51 Bandwidth Management Wizard 59...
Страница 50: ...50...
Страница 58: ...Chapter 3 Wizard Setup for Internet Access P 660H Tx v2 User s Guide 58 Figure 27 Connection Test Failed 2...
Страница 64: ...Chapter 4 Bandwidth Management Wizard P 660H Tx v2 User s Guide 64...
Страница 65: ...65 PART III Network WAN Setup 67 LAN Setup 85 Network Address Translation NAT Screens 97...
Страница 66: ...66...
Страница 84: ...Chapter 5 WAN Setup P 660H Tx v2 User s Guide 84...
Страница 109: ...109 PART IV Security Firewalls 111 Firewall Configuration 123 Content Filtering 145...
Страница 110: ...110...
Страница 130: ...Chapter 9 Firewall Configuration P 660H Tx v2 User s Guide 130 Figure 65 Firewall Edit Rule...
Страница 144: ...Chapter 9 Firewall Configuration P 660H Tx v2 User s Guide 144...
Страница 150: ...150...
Страница 154: ...Chapter 11 Static Route P 660H Tx v2 User s Guide 154...
Страница 168: ...Chapter 13 Dynamic DNS Setup P 660H Tx v2 User s Guide 168...
Страница 180: ...Chapter 14 Remote Management Configuration P 660H Tx v2 User s Guide 180...
Страница 192: ...Chapter 15 Universal Plug and Play UPnP P 660H Tx v2 User s Guide 192...
Страница 193: ...193 PART VI Maintenance and Troubleshooting System 195 Tools 201 Diagnostic 207 Logs 209 Troubleshooting 227...
Страница 194: ...194...
Страница 200: ...Chapter 16 System P 660H Tx v2 User s Guide 200...
Страница 206: ...Chapter 17 Tools P 660H Tx v2 User s Guide 206...
Страница 226: ...Chapter 19 Logs P 660H Tx v2 User s Guide 226...
Страница 232: ...232...
Страница 239: ...Appendix A Product Specifications P 660H Tx v2 User s Guide 239...
Страница 240: ...Appendix A Product Specifications P 660H Tx v2 User s Guide 240...
Страница 256: ...Appendix B Internal SPTGEN P 660H Tx v2 User s Guide 256...
Страница 302: ...Appendix I Legal Information P 660H Tx v2 User s Guide 302...