There are 5 address formats in computer networks, which are: 1. The network identifier of a class A address is represented by the first group of 8-bit binary numbers; 2. The network identifier of a class B address is represented by the first two groups of 8-bit numbers. Represented by binary numbers; 3. The network identification of Class C addresses is represented by the first three groups of 8-bit binary numbers; 4. Class D is used for multicast; 5. Class E is reserved.
There are 5 address formats in computer networks, namely:
In order to facilitate addressing and hierarchical When constructing a network, IP addresses are divided into five categories: A, B, C, D, and E.
Only three categories, A, B, and C, are used in commercial applications.
1. Class A address: The network identifier of a Class A address is represented by the first group of 8-bit binary numbers.
The host identifier in the network occupies 3 groups of 8-bit numbers. Binary number,
The characteristic of Class A address is that the value of the first binary digit of the network identifier must be "0".
It is not difficult to calculate that Class A addresses allow 126 network segments, and each network allows approximately 16.7 million hosts. They are usually allocated to networks with a large number of hosts (such as backbone networks) ).
2. Class B address: The network identifier of the Class B address is represented by the first two sets of 8-bit binary numbers.The host identifier in the network occupies two sets of 8-bit numbers. Binary number,
The characteristic of Class B address is that the value of the first two binary numbers of the network identifier must be "10".
Class B addresses allow 16384 network segments, and each network allows 65533 hosts. It is suitable for networks with many nodes
(such as regional networks).
3. Class C address: The network identifier of the Class C address is represented by the first three groups of 8-bit binary numbers.The host identifier in the network occupies one group of 8-bit binary numbers. Number,
The characteristic of Class C address is that the value of the first three binary digits of the network identifier must be "110".
A network with a Class C address allows 254 hosts, which is suitable for networks with relatively few nodes (such as campus networks).
4, Class D224.0.0.0 to 239.255.255.255
is used for multicast broadcast
5 , Class E240.0.0.0 to 255.255.255.254 are reserved
among which 255.255.255.255 is used for broadcast
Related learning recommendations:
The above is the detailed content of There are several address formats in computer networks. For more information, please follow other related articles on the PHP Chinese website!