1, IP address means different:
Class A IP address refers to the four segments of an IP address, the first segment is the network number, and the other three segments are the numbers of the local computer. If the IP address is expressed in binary, the Class A IP address consists of a network address of 1 byte and a host address of 3 bytes, and the highest bit of the network address must be "0". The length of network identification in class A IP address is 8 bits, and the length of host identification is 24 bits.
Class B IP address means that among the four segments of an IP address, the first two segments are network numbers. If the IP address is expressed in binary, the Class B IP address consists of a 2-byte network address and a 2-byte host address, and the highest bit of the network address must be "10". The length of network identification in class B IP address is 16 bits, and the length of host identification is 16 bits.
Class C IP address refers to the four sections of an IP address, the first three sections are the network number, and the remaining section is the number of the local computer. If the IP address is expressed in binary, the Class C IP address consists of a 3-byte network address and a 1 byte host address, and the highest bit of the network address must be "1 10". The length of network identification in class C IP address is 24 bits, and the length of host identification is 8 bits.
2.IP address ranges are different:
Class A IP addresses range from 1.0.0. 1 to 127.255.254 (binary representation: 00000000000000000001) 38+0/kloc.
Class b IP addresses range from128.0.0.1-191.255.255.254 (binary representation:10000000000000000000000000000000000000000000000000000000000000000000000000000 +0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 / kloc-0/ 1 1 1 1 1 1 1 10)。 The last one is the broadcast address.
Class c IP addresses range from192.0.0.1-223.255.255.254 (binary representation:11000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 The last one is the broadcast address.
3. The subnet mask is different:
The subnet mask of Class A IP address is 255.0.0.0.
The subnet mask of class B IP address is 255.255.0.0.
The subnet mask of class C IP address is 255.255.255.0.
4. Different scope of application:
Class A is suitable for large-scale networks with few network addresses, including 126 networks, and the maximum number of hosts supported by each network is cubic-2 of 256 =1677,7265,438+04;
Class B is a medium-sized network with a moderate number of network addresses, including 65,438+06,384 networks, and the maximum number of hosts supported by each network is 256 squared-2 = 65,534;
Class C is suitable for small-scale networks with more than 2.09 million network addresses. It is suitable for small-scale LAN, and the maximum number of hosts supported by each network is 256 1 -2=254.