In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail the example analysis of IP address and subnet mask in Linux network management. The editor finds it very practical, so I share it with you for reference. I hope you can get something after reading this article.
IP should be something that everyone is very familiar with. But there must be something you don't know. Yes, I am the Linux Kang who popularizes science that you don't know. In the network layer of our OSI seven-layer model, we type the packet header of IP and record our IP address, so how many bits are there in IP? What is the scope?
0.0.0.0-255.255.255.255-- > this is the range of IP addresses
Effective IP!
You can see that the range of the first network segment of IP in category An is between 1 and 126. if two or more hosts have the same network segment, the first network segment is the same as the host in the same network segment, and if the first network segment IP is different, it means IP across the network segment.
Class B is that the first two numbers represent the same network segment, and the last two numbers represent different hosts in the network segment.
Class C is that the first three numbers represent the same network segment, and the latter number represents different hosts in the network segment.
Note:
Private IP is an IP address that everyone can access and is used for private network use.
Let's explain what a subnet mask is and why put this concept with an IP address. Because the subnet mask and IP appear together, keep in mind.
The standard subnet mask for Class An is 255.0.0.0
The standard subnet mask for class B is 255.255.0.0
The standard subnet mask for Class C is 255.255.255.0
Joining IP is 10.8.11.112
Network address (first address): 10.0.0.0
Broadcast address (last address): 10.255.255.255
Which network segment IP belongs to and the number of hosts in the network segment are determined by the subnet mask, that is to say, if the IP is class B, but the subnet mask is assigned to a class C standard subnet mask, then the conversion method of the network segment is calculated according to class C.
This is the end of the article on "example Analysis of IP address and Subnet Mask in Linux Network Management". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
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.