Appendix B IP Addresses and Subnetting
ES-1552 User’s Guide
155
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 76
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 77
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 78
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
Содержание ES-1552 - V1.12
Страница 1: ...www zyxel com ES 1552 52 port Web managed Ethernet Switch User s Guide Version 1 12 5 2007 Edition 2 ...
Страница 2: ......
Страница 7: ...Safety Warnings ES 1552 User s Guide 7 ...
Страница 8: ...Safety Warnings ES 1552 User s Guide 8 ...
Страница 10: ...Contents Overview ES 1552 User s Guide 10 ...
Страница 20: ...List of Figures ES 1552 User s Guide 20 ...
Страница 24: ...List of Tables ES 1552 User s Guide 24 ...
Страница 26: ...26 ...
Страница 30: ...Chapter 1 Getting to Know Your Switch ES 1552 User s Guide 30 ...
Страница 34: ...Chapter 2 Hardware Installation and Connection ES 1552 User s Guide 34 ...
Страница 40: ...Chapter 3 Hardware Overview ES 1552 User s Guide 40 ...
Страница 42: ...42 ...
Страница 54: ...Chapter 5 System ES 1552 User s Guide 54 ...
Страница 58: ...Chapter 6 Port Settings ES 1552 User s Guide 58 ...
Страница 70: ...Chapter 10 Mirroring ES 1552 User s Guide 70 ...
Страница 86: ...Chapter 13 Layer 2 L2 Management ES 1552 User s Guide 86 ...
Страница 88: ...Chapter 14 Cable Diagnostics ES 1552 User s Guide 88 ...
Страница 92: ...Chapter 15 Auto Denial of Service DoS ES 1552 User s Guide 92 ...
Страница 96: ...96 ...
Страница 101: ...Chapter 17 Event Logging ES 1552 User s Guide 101 Figure 55 Searching RAM Flash Logs ...
Страница 104: ...Chapter 17 Event Logging ES 1552 User s Guide 104 ...
Страница 118: ...Chapter 18 SNMP ES 1552 User s Guide 118 ...
Страница 134: ...Chapter 19 RMON Lite ES 1552 User s Guide 134 ...
Страница 146: ...Chapter 21 Troubleshooting ES 1552 User s Guide 146 ...
Страница 148: ...148 ...
Страница 152: ...Appendix A Product Specifications ES 1552 User s Guide 152 ...
Страница 164: ...Appendix C Legal Information ES 1552 User s Guide 164 ...