Computer Science, asked by rockgirijesh5009, 1 year ago

Find first adress of and last addess of 191.20.17.82/37

Answers

Answered by Anant67
0
So suppose I have a block of IPv4 addresses and one of the hosts address is 182.44.82.16/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.16 is 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 182.44.82.16 and the last address 182.44.82.23.

Similar questions