As long as you remember a simple number, you can easily determine the host bit, network bit, broadcast address and available IP address range of the network segment even when faced with a very complex IP network segment subnet mask division. This number is 256. Basic knowledge reviewIP addresses are divided into two types: IPv4 and IPv6, of which IPv4 is currently the most common type. An IPv4 address consists of a 32-bit binary number, usually expressed as four groups of decimal numbers. The division of an IP address depends on the subnet mask, which is used to determine the boundary between the network number and the host number.
Case DemonstrationLet's do a few tests together, such as this IP address: First, we need to find the part of the mask that is neither 255 nor 0. For example, here we use 248 as an example. Next, we subtract this number from 256 (256-248), and the result is 8. This means that we can start from 0 and increase by 8 to determine the range of IP addresses. We can use this method to calculate the valid IP address values before and after it. In this way, we can easily know the range of the IP address! In the above example, 37 is exactly between 32-40. Therefore, we can easily get:
Let’s do another question! By subtracting 192 from 256 we get 64. Since 55 is exactly in the range of 0 to 64, we can understand it like this:
|
<<: Network Analysis in Rust: Capturing and Analyzing Network Traffic with Pcap and Pnet
We are now in the third year of “The Year of 5G.”...
As we all know, in the 5G era, we are greeted by ...
The fifth generation of mobile networks (5G) is e...
[Bangkok, Thailand, October 28, 2022] From Octobe...
80VPS has released a permanent 50% discount code ...
Oluyun is a foreign hosting service provider regi...
On January 17, Huawei founder and CEO Ren Zhengfe...
Just a few days ago, the plenary session of the i...
As my country's 5G network construction scale...
HostKvm was founded in 2013. It currently provide...
The two major obstacles to the popularization of ...
As a communications engineer, I have been asked t...
[[268794]] With the promotion and application of ...
Recently, both domestic and foreign operators hav...
In order to welcome the upcoming Double 12 and ov...