I am not sure if this is the right place to make this question but I thought this is one of the most appropriate SE's site to make a question on networking. Please move it to other more appropriate sites. Thanks.
So suppose I have a block of IPv4 addresses and one of the hosts address is 220.127.116.11/26. Is it possible for me to find the first and last address of this block of address?
I am thinking like:
182.44.82.(0001 0000) where the
(0001 0000) is the binary for 16.
Since the mask is
/26, I thought I could do this:
IP: 182.44.82.(0001 0000) Mask: 182.44.82.(1111 1000)
And then this means I left with only the last 3 bits for the IP addresses, which makes the first address going to be 18.104.22.168 and the last address 22.214.171.124. But this doesn't look quite right. How can I calculate the first and last addresses of this block of addresses?