'Why 255 in ip address can't be host address?
Can I have IP address like this - 145.234.255.255 /12 ?
Host id is 10101111111111111111 (720895) and we see, that all bits are not one, in order to it will be called a broadcast address…
Solution 1:[1]
Sorry, re-reading your question more in-depth your IP 145.234.255.255 /12
it's valid.
That's because with that submask (255.240.0.0
) the last IP / broadcast IP it's 145.239.255.255
and the first IP is 145.224.0.0
. As your IP (145.234.255.255
) it's inside that range it's a valid IP.
I still recommend you this question
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Héctor |