
362
C
HAPTER
16: IP R
OUTING
Subnetwork Portion
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
As shown in this example, the 32 bits of an IP address and subnet mask
are usually written using an integer shorthand. This notation translates
four consecutive 8-bit groups (octets) into four integers that range from 0
through 255. The subnet mask in the example is written as
255.255.255.0.
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
Содержание 4007
Страница 1: ...http www 3com com Switch 4007 Implementation Guide Release 3 0 5 Part No 10013673 Published May 2000 ...
Страница 36: ...36 ABOUT THIS GUIDE ...
Страница 37: ...I UNDERSTANDING YOUR SWITCH 4007 SYSTEM Chapter 1 Configuration Overview ...
Страница 38: ......
Страница 50: ...50 CHAPTER 1 CONFIGURATION OVERVIEW ...
Страница 52: ......
Страница 70: ...70 CHAPTER 3 INSTALLING MANAGEMENT MODULES ...
Страница 110: ...110 CHAPTER 4 CONFIGURING AND USING EME OPTIONS ...
Страница 130: ...130 CHAPTER 5 MANAGING THE CHASSIS POWER AND TEMPERATURE ...
Страница 222: ...222 CHAPTER 11 IP MULTICAST FILTERING WITH IGMP ...
Страница 240: ...240 CHAPTER 13 RESILIENT LINKS ...
Страница 304: ...304 CHAPTER 14 VIRTUAL LANS VLANS ...
Страница 350: ...350 CHAPTER 15 PACKET FILTERING ...
Страница 506: ...506 CHAPTER 19 OPEN SHORTEST PATH FIRST OSPF ROUTING ...
Страница 534: ...534 CHAPTER 20 IPX ROUTING ...
Страница 612: ...612 CHAPTER 22 QOS AND RSVP ...
Страница 656: ...656 CHAPTER 23 DEVICE MONITORING ...
Страница 657: ...IV REFERENCE Appendix A Technical Support Index ...
Страница 658: ......
Страница 664: ......