|
Viewed
Inside MCSE
|
Address ClassesThe Internet community originally defined five address classes to accommodate networks of varying sizes. Microsoft TCP/IP supports class A, B, and C addresses assigned to hosts. The class of address defines which bits are used for the network ID and which bits are used for the host ID. It also defines the possible number of networks and the number of hosts per network. Class AClass A addresses are assigned to networks with a very large number of hosts. Thehigh-order bit in a class A address is always set to zero. The next seven bits (completing the first octet) complete the network ID. The remaining 24 bits (the last three octets) represent the host ID. This allows for 126 networks and 16,777,214 hosts per network. Figure 4 illustrates the structure of class A addresses.
Figure 4 Class A IP addresses The class A address 127.x.y.z is reserved for loopback testing and interprocess communication on the local computer. Class B
Figure 5 Class B IP addresses Class B addresses are assigned to medium-sized to large-sized networks. The two high-order bits in a class B address are always set to binary 1 0. The next 14 bits (completing the first two octets) complete the network ID. The remaining 16 bits (last two octets) represent the host ID. This allows for 16,384 networks and 65,534 hosts per network. Figure 5 illustrates the structure of class B addresses. Class CClass C addresses are used for small networks. The three high-order bits in a classC address are always set to binary 1 1 0. The next 21 bits (completing the firstthree octets) complete the network ID. The remaining 8 bits (last octet) represent the host ID. This allows for 2,097,152 networks and 254 hosts per network. Figure 6 illustrates the structure of class C addresses.
Network ID Host ID 12345678 12345678 12345678 12345678 Figure 6 Class C IP addresses Class DClass D addresses are reserved for IP multicast addresses. The four high-order bits in a class D address are always set to binary 1 1 1 0. The remaining bits are for the address that interested hosts will recognize. Microsoft supports class D addresses for applications to multicast data to multicast-capable hosts on an internetwork. Class EClass E addresses are experimental addresses reserved for future use. The high-order bits in a class E address are set to 1 1 1 1.
Table 11 is a summary of address classes A, B, and C that can be used for host IP addresses. Network ID GuidelinesThe network ID identifies the TCP/IP hosts that are located on the same physical network. All hosts on the same physical network must be assigned the same network ID to communicate with each other. Follow these guidelines when assigning a network ID:
Table 12 lists the valid ranges of network IDs based on the IP address classes. To denote IP network IDs, the host bits are all set to 0. Note that even though expressed in dotted decimal notation, the network ID is not an IP address.
Table 12 Class ranges of network IDs Host ID GuidelinesThe host ID identifies a TCP/IP host within a network. The combination of IP network ID and IP host ID is an IP address. Follow these guidelines when assigning a host ID:
Table 13 lists the valid ranges of host IDs based on the IP address classes.
Table 13 Class ranges of host IDs
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The MCP Logo is displayed on this web site in accordance with Microsoft Certified Professional Program and Logo Agreement. © Paramvir Likhari 1997 - 1999 |