
ES-2724 User’s Guide
Appendix B IP Addresses and Subnetting
327
Subnet Masks
A subnet mask is used to determine which bits are part of the network number, and which bits
are part of the host ID (using a logical AND operation).
A subnet mask has 32 bits. If a bit in the subnet mask is a “1” then the corresponding bit in the
IP address is part of the network number. If a bit in the subnet mask is “0” then the
corresponding bit in the IP address is part of the host ID.
Subnet masks are expressed in dotted decimal notation just like IP addresses. The “natural”
masks for class A, B and C IP addresses are as follows.
Subnetting
With subnetting, the class arrangement of an IP address is ignored. For example, a class C
address no longer has to have 24 bits of network number and 8 bits of host ID. With
subnetting, some of the host ID bits are converted into network number bits.
By convention, subnet masks always consist of a continuous sequence of ones beginning from
the leftmost bit of the mask, followed by a continuous sequence of zeros, for a total number of
32 bits.
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 mask 255.255.255.128.
The following table shows all possible subnet masks for a class “C” address using both
notations.
Table 106
“Natural” Masks
CLASS
NATURAL MASK
A
255.0.0.0
B
255.255.0.0
C
255.255.255.0
Table 107
Alternative Subnet Mask Notation
SUBNET MASK
SUBNET MASK “1” BITS
LAST OCTET BIT VALUE
DECIMAL
255.255.255.0
/24
0000 0000
0
255.255.255.128
/25
1000 0000
128
255.255.255.192
/26
1100 0000
192
255.255.255.224
/27
1110 0000
224
Содержание ZyXEL Dimension ES-2724
Страница 1: ...ES 2724 Intelligent Layer 3 Switch User s Guide Version 3 70 9 2006...
Страница 2: ......
Страница 7: ...ES 2724 User s Guide Safety Warnings 5 This product is recyclable Dispose of it properly...
Страница 22: ...ES 2724 User s Guide 20 Table of Contents...
Страница 30: ...ES 2724 User s Guide 28 List of Tables...
Страница 36: ...ES 2724 User s Guide 34 Chapter 1 Getting to Know Your Switch...
Страница 40: ...ES 2724 User s Guide 38 Chapter 2 Hardware Installation and Connection...
Страница 48: ...ES 2724 User s Guide 46 Chapter 3 Hardware Overview...
Страница 58: ...ES 2724 User s Guide 56 Chapter 4 The Web Configurator...
Страница 64: ...ES 2724 User s Guide 62 Chapter 5 Initial Setup Example...
Страница 70: ...ES 2724 User s Guide 68 Chapter 6 System Status and Port Statistics...
Страница 82: ...ES 2724 User s Guide 80 Chapter 7 Basic Setting...
Страница 95: ...ES 2724 User s Guide Chapter 8 VLAN 93 Figure 39 Port Based VLAN Setup All Connected...
Страница 96: ...ES 2724 User s Guide 94 Chapter 8 VLAN Figure 40 Port Based VLAN Setup Port Isolation...
Страница 98: ...ES 2724 User s Guide 96 Chapter 8 VLAN...
Страница 107: ...ES 2724 User s Guide Chapter 11 Spanning Tree Protocol 105 Figure 45 RSTP Configuration...
Страница 114: ...ES 2724 User s Guide 112 Chapter 11 Spanning Tree Protocol...
Страница 126: ...ES 2724 User s Guide 124 Chapter 15 Link Aggregation...
Страница 132: ...ES 2724 User s Guide 130 Chapter 16 Port Authentication...
Страница 136: ...ES 2724 User s Guide 134 Chapter 17 Port Security...
Страница 142: ...ES 2724 User s Guide 140 Chapter 18 Classifier Figure 61 Classifier Example...
Страница 148: ...ES 2724 User s Guide 146 Chapter 19 Policy Rule Figure 64 Policy Example...
Страница 151: ...ES 2724 User s Guide Chapter 20 Queuing Method 149 Figure 65 Queuing Method...
Страница 158: ...ES 2724 User s Guide 156 Chapter 21 VLAN Stacking...
Страница 189: ...ES 2724 User s Guide Chapter 28 DHCP 187 Figure 93 DHCP Relay Configuration Example...
Страница 190: ...ES 2724 User s Guide 188 Chapter 28 DHCP...
Страница 210: ...ES 2724 User s Guide 208 Chapter 30 Access Control...
Страница 212: ...ES 2724 User s Guide 210 Chapter 31 Diagnostic...
Страница 216: ...ES 2724 User s Guide 214 Chapter 32 Syslog...
Страница 224: ...ES 2724 User s Guide 222 Chapter 33 Cluster Management...
Страница 232: ...ES 2724 User s Guide 230 Chapter 37 Routing Table...
Страница 268: ...ES 2724 User s Guide 266 Chapter 39 Introducing Commands...
Страница 276: ...ES 2724 User s Guide 274 Chapter 40 User and Enable Mode Commands...
Страница 290: ...ES 2724 User s Guide 288 Chapter 41 Configuration Mode Commands...
Страница 306: ...ES 2724 User s Guide 304 Chapter 43 IEEE 802 1Q Tagged VLAN Commands...
Страница 310: ...ES 2724 User s Guide 308 Chapter 45 Routing Domain Command Examples...
Страница 320: ...ES 2724 User s Guide 318 Chapter 46 Troubleshooting...
Страница 326: ...ES 2724 User s Guide 324 Appendix A Product Specifications...