You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is the IPv4 ToCIDR method dividing an IP segment into multiple groups, such as 124.55.21.1--124.55.21.255.
But 124.55.21.0-124.55.21.255 only grouped one.
In theory, 124.55.21.1-124.55.21.255 can be divided into two parts, right
124.55.21.1--124.55.21.127
124.55.21.128--124.55.21.255
The text was updated successfully, but these errors were encountered:
I try my best to explain the calculation about the CIDR calculation. The IP address contains 4 octets, and each of them are 8 bits that give values between 0 and 255. The number that comes after the slash is the number of bits consisting of the routing prefix. This can be calculated as netmask, and also determine how many available addresses are in the block.
If the routing prefix value is less than 31, first and last IPs are base and broadcast addresses and are unusable.
For the group you suggested (124.55.21.1 - 124.55.21.227), where the CIDR base IP is on 124.55.21.0, the closest group you can get is 124.55.21.1/25. Its first useable IP is 124.55.21.1 and last usable IP is 124.55.21.126 (Not 124.55.21.127).
You can cross-check the result with ARIN, and Wikipedia.
Why is the IPv4 ToCIDR method dividing an IP segment into multiple groups, such as 124.55.21.1--124.55.21.255.
But 124.55.21.0-124.55.21.255 only grouped one.
In theory, 124.55.21.1-124.55.21.255 can be divided into two parts, right
124.55.21.1--124.55.21.127
124.55.21.128--124.55.21.255
The text was updated successfully, but these errors were encountered: