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
In August, the three telecom operators successive...
The Financial Times website recently reported tha...
It has been a long time since I shared informatio...
[[391129]] On March 31, the "2021 Digital Tr...
What changes will Wi-Fi 6 and 5G bring to the con...
With the popularization and development of the In...
HostXen is a cloud server hosting platform that p...
After the rapid development in 2020, 2021 is a cr...
[[426636]] At the 5G Message High-level Forum of ...
Do you remember your first kiss? This is a common...
Hey, fellow developers! Today we are going to tal...
[ Barcelona , Spain , February 25, 2024 ] Today...
Today, as demand for colocation and wholesale dat...
This month, Moack.co.kr launched a specially conf...
iWebFusion (iWFHosting) recently released a 10% d...