138
A
PPENDIX
C: IP A
DDRESSING
Subnets and Subnet
Masks
You can divide your IP network into sub-networks also known as subnets.
Support for subnets is important because the number of bits assigned to
the device part of an IP address limits the number of devices that may be
addressed on any given network. For example, a Class C address is
restricted to 254 devices.
The IP address can also contain a
subnetwork part
at the beginning of the
host part of the IP address. Thus, you can divide a single Class A, B, or C
network internally, allowing the network to appear as a single network to
other external networks. The subnetwork part of the IP address is visible
only to hosts and gateways on the subnetwork.
When an IP address contains a subnetwork part, a
subnet mask
identifies
the bits that constitute the subnetwork address and the bits that
constitute the host address. A subnet mask is a 32-bit number in the IP
address format. The
1
bits in the subnet mask indicate the network and
subnetwork part of the address. The
0
bits in the subnet mask indicate
the host part of the IP address, as shown in
Figure 35
.
Figure 35
Subnet Masking
Figure 36
shows an example of an IP address that includes network,
subnetwork, and host parts. Suppose the IP address is
158.101.230.52
with a subnet mask of
255.255.255.0
. Since this is a Class B address, this
address is divided as follows:
■
158.101
is the network part
■
230
is the subnetwork part
■
52
is the host part
IP address
Network
Subnet and Host
Subnet mask
networ
Host
subn
Subnet
Network
Apply the subnet mask
Result = subnet/host boundary
Take the IP address
1
0
1 1 1 1 1 1 1 1 1 1
0
0
0
0
0
0
0
1 1 1 1 1 1 1 1 1 1 1 1 1
Содержание 3C17203 - SuperStack 3 Switch 4400
Страница 8: ...GLOSSARY INDEX ...
Страница 14: ...14 ...
Страница 26: ...26 CHAPTER 1 SWITCH FEATURES OVERVIEW ...
Страница 44: ...44 CHAPTER 3 USING MULTICAST FILTERING ...
Страница 55: ...How STP Works 55 Figure 13 STP configurations ...
Страница 58: ...58 CHAPTER 4 USING RESILIENCE FEATURES ...
Страница 84: ...84 CHAPTER 7 STATUS MONITORING AND STATISTICS ...
Страница 92: ...92 CHAPTER 8 SETTING UP VIRTUAL LANS ...
Страница 98: ...98 CHAPTER 9 USING WEBCACHE SUPPORT ...
Страница 120: ...120 CHAPTER 12 POWER MANAGEMENT AND CONTROL ...
Страница 122: ...122 ...
Страница 126: ...126 APPENDIX A CONFIGURATION RULES ...
Страница 134: ...134 APPENDIX B NETWORK CONFIGURATION EXAMPLES ...
Страница 150: ...150 GLOSSARY ...