cidr.xyz | Web-based CIDR / netmask / IP address visualizer | TCP library
kandi X-RAY | cidr.xyz Summary
kandi X-RAY | cidr.xyz Summary
Web-based CIDR / netmask / IP address visualizer
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cidr.xyz
cidr.xyz Key Features
cidr.xyz Examples and Code Snippets
Community Discussions
Trending Discussions on cidr.xyz
QUESTION
I am trying to learn how to calculate IP addresses from CIDR block.
For example, 10.88.135.144/28 or 10.88.135.10010000/28
From what I understand, that means first 28 bits are associated with network address while the rest 4 bits are host addresses. That would result in following IP range:
10.88.135.10010000 - 10.88.135.10011111
The first IP should be 10.88.135.144 and last IP address should be 10.88.135.159
But according to cidr.xyz. The first IP should be 10.88.135.145 and the last one should be 10.88.135.158.
I really can't figure out why. Can anyone explain the reason for me? Thanks!
...ANSWER
Answered 2018-Jun-22 at 19:43Generally, the first IP is the network identifier and cannot be assigned to any device.This is used by router or switch on the network.
The last one is the broadcasting IP and cannot be assigned to any device as this IP is used by router or switch on the network to broadcast information.
https://www.quora.com/In-IP-addresses-what-is-meant-by-network-ID-and-host-ID
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cidr.xyz
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page