In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "how to divide the ip address network segment". In the daily operation, I believe many people have doubts about how to divide the ip address network segment. The editor consulted all kinds of data and sorted out a simple and easy-to-use operation method. I hope it will be helpful to answer the doubt of "how to divide the ip address network segment". Next, please follow the editor to study!
IP addresses are divided into Class A, Class B, Class C, Class D, and Class E. each field is a byte, 8 bits, and the maximum value is 255. The IP address consists of two parts, namely, the network address and the host address; the network address indicates which network it belongs to, and the host address indicates which host it belongs to.
The operating environment of this tutorial: windows7 system, Dell G3 computer.
IP address classification (A, B, C, D, E)
The IP address consists of four segments, each field is one byte, 8 bits, and the maximum value is 255
The IP address consists of two parts, the network address and the host address. The network address indicates which network it belongs to, and the host address indicates which host it belongs to. The two are master-slave relationship.
The four types of IP addresses identify a host in the network. The address length of IPv4 is 32 bits, a total of 4 bytes, but in practice we use dotted decimal notation.
According to the network number and host number, IP addresses are divided into three categories A, B, C and special addresses D and E. All zeros and all ones are reserved.
Class A: (1.0.0.0-126.0.0.0) (default subnet mask: 255.0.0.0 or 0xFF000000)
The first byte is the network number, and the last three bytes are the host number. The IP address of this class is preceded by "0", so the network number of the address is between 1 and 126.
It is generally used in large networks.
Class B: (128.1.0.0-191.255.0.0) (default subnet mask: 255.255.0.0 or 0xFFFF0000)
The first two bytes are the network number and the last two bytes are the host number. The IP address of this class is preceded by "10", so the network number of the address is between 128 and 191.
It is generally used in medium-sized networks.
Class C: (192.0.1.0-223.255.255.0) (subnet mask: 255.255.255.0 or 0xFFFFFF00)
The first three bytes are the network number and the last byte is the host number. The first IP address of this class is "110", so the network number of the address is between 192 and 223.
It is generally used in small networks.
Class D: is a multicast address. The first IP address of this class is "1110", so the network number of the address is between 224 and 239. It is generally used for multicast users [1].
Class E: is a reserved address. The IP address of this class is preceded by "1111", so the network number of the address is between 240 and 255.
Return address: 127.0.0.1. It is also a local address, equivalent to localhost or native IP.
It is generally used for testing. For example: ping 127.0.0.1 to test whether the native TCP/IP is normal.
Today's IP networks use 32-bit addresses, represented in dotted decimal, such as 172.16.0.0. The address format is: IP address = network address + host address or IP address = host address + subnet address + host address.
IP address Typ
When the Internet was originally designed, in order to facilitate addressing and hierarchical construction of the network, each IP address included two identification codes (ID), namely the network ID and the host ID. All hosts on the same physical network use the same network ID, and a host on the network (including workstations, servers, routers, etc.) has a host ID corresponding to it. According to the difference of network ID, IP address can be divided into five types: class An address, class B address, class C address, class D address and class E address. 1. Class An IP address A Class An IP address consists of a 1-byte network address and a 3-byte host address. The highest bit of the network address must be "0", ranging from 1.0.0.0 to 126.0.0.0. There are 126 Class A networks available, each of which can accommodate more than 100 million hosts. 2. Class B IP address A Class B IP address consists of a 2-byte network address and a 2-byte host address. The highest bit of the network address must be "10", ranging from 128.0.0.0 to 191.255.255.255. There are 16382 Class B networks available, each of which can accommodate more than 60, 000 hosts. 3. Class C IP address A 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 "110". The range is from 192.0.0.0 to 223.255.255.255. There are more than 2.09 million class C networks, each of which can accommodate 254hosts. 4. Class D addresses are used for multicast (Multicast). The first byte of a class D IP address begins with "lll0", which is a reserved address. It does not point to a specific network, and this type of address is currently used in Multicast. A multicast address is used to address a group of computers at a time. It identifies a group of computers that share the same protocol. 224.0.0.0 to 239.255.255.255 are used for multicast. 5. Class E IP addresses start with "llll0" and are reserved for future use. 240.0.0.0 to 255.255.255.254
When the Internet was originally designed, in order to facilitate addressing and hierarchical construction of the network, each IP address included two identification codes (ID), namely the network ID and the host ID.
All hosts on the same physical network use the same network ID, and a host on the network (including workstations, servers, routers, etc.) has a host ID corresponding to it.
According to the difference of network ID, IP address can be divided into five types: class An address, class B address, class C address, class D address and class E address.
1. Class An IP address A Class An IP address consists of a 1-byte network address and a 3-byte host address. The highest bit of the network address must be "0", ranging from 1.0.0.0 to 126.0.0.0. There are 126 Class A networks available, each of which can accommodate more than 100 million hosts.
2. Class B IP address A Class B IP address consists of a 2-byte network address and a 2-byte host address. The highest bit of the network address must be "10", ranging from 128.0.0.0 to 191.255.255.255. There are 16382 Class B networks available, each of which can accommodate more than 60, 000 hosts.
3. Class C IP address A 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 "110". The range is from 192.0.0.0 to 223.255.255.255. There are more than 2.09 million class C networks, each of which can accommodate 254hosts.
4. Class D addresses are used for multicast (Multicast). The first byte of a class D IP address begins with "lll0", which is a reserved address. It does not point to a specific network, and this type of address is currently used in Multicast. A multicast address is used to address a group of computers at a time. It identifies a group of computers that share the same protocol. 224.0.0.0 to 239.255.255.255 are used for multicast.
5. Class E IP addresses start with "llll0" and are reserved for future use. 240.0.0.0 to 255.255.255.254255.255.255.255 for broadcast addresses
The all-zero ("0.0.0.0") address corresponds to the current host. The full "1" IP address ("255.255.255.255") is the broadcast address of the current subnet. In each of the three main types of IP addresses, three areas are reserved as private addresses, and the address range is as follows: class An address: 10.0.0.0" 10.255.255.255 Class B address: 172.16.0.0" 172.31.255.255 Class C address: 192.168.0.0" 192.168.255.255 Class An address the first set of digits is 116126. Where 0 represents any address, 127 is the loopback test address, note that the numbers 0 and 127 are not used as class An addresses, the number 127 is reserved for the internal loopback function, and the number 0 indicates that the address is a local host and cannot be transmitted. The first set of digits for class B addresses is 128 to 191. The first set of digits for class C addresses is 192-223. 1. Class An addresses are represented by a range of 0.0.0.0 addresses 126.255.255.255, with a default network mask of 255.0.0.0. Class An addresses are assigned to particularly large networks. A class A network uses the first set of digits to represent the address of the network itself, and the last three sets of digits as the addresses of hosts connected to the network. Assigned to large networks with a large number of hosts (direct individual users) and a small number of local area networks. For example, the network of IBM. 2. Class B addresses the representation range of Class B addresses is 128.0.0.0mm 191.255.255.255, and the default network mask is 255.255.0.0X Class B addresses are assigned to general medium-sized networks. Class B networks use the first and second sets of numbers to represent the address of the network, and the last two sets of numbers represent the addresses of hosts on the network. 3. The representation range of class C address is 192.0.0.0 address 223.255.255.255, and the default network mask is 255.255.255.0X class C address is assigned to small networks, such as general local area network and campus network. It has the least number of hosts that can be connected, and is managed by dividing the users into several network segments. Class C networks use the first three sets of numbers to represent the address of the network, and the last set of digits as the address of the host on the network.
The all-zero ("0.0.0.0") address corresponds to the current host. The full "1" IP address ("255.255.255.255") is the broadcast address of the current subnet.
Of the three main types of IP addresses, three areas are reserved as private addresses, and the address range is as follows:
Class An address: 10.0.0.0510.255.255.255
Category B address: 172.16.0.0" 172.31.255.255
Class C address: 192.168.0.0" 192.168.255.255
The first set of digits for class An addresses is 1: 126. Where 0 represents any address, 127 is the loopback test address, note that the numbers 0 and 127 are not used as class An addresses, the number 127 is reserved for the internal loopback function, and the number 0 indicates that the address is a local host and cannot be transmitted.
The first set of digits for class B addresses is 128 to 191.
The first set of digits for class C addresses is 192-223.
1. The representation range of Class An address is 0.0.0.0 address 126.255.255.255, and the default network mask is 255.0.0.0. The Class An address is assigned to very large networks. A class A network uses the first set of digits to represent the address of the network itself, and the last three sets of digits as the addresses of hosts connected to the network. Assigned to large networks with a large number of hosts (direct individual users) and a small number of local area networks. For example, the network of IBM.
2. Class B addresses the representation range of Class B addresses is 128.0.0.0mm 191.255.255.255, and the default network mask is 255.255.0.0X Class B addresses are assigned to general medium-sized networks. Class B networks use the first and second sets of numbers to represent the address of the network, and the last two sets of numbers represent the addresses of hosts on the network.
3. The representation range of class C address is 192.0.0.0 address 223.255.255.255, and the default network mask is 255.255.255.0X class C address is assigned to small networks, such as general local area network and campus network. It has the least number of hosts that can be connected, and is managed by dividing the users into several network segments. Class C networks use the first three sets of numbers to represent the address of the network, and the last set of digits as the address of the host on the network.
In fact, there are class D addresses and class E addresses. However, these two types of addresses are used for special purposes and are only briefly introduced here: class D addresses are called broadcast addresses and are used by special protocols to send information to selected nodes. Class E addresses are reserved for future use.
At this point, the study on "how to divide the network segment of ip address" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.