Question
In linux, in networking, what is the subnet/network mask if you want to have 512 IP addresses in your network, ranging from e.g. 137.158.26.0 through 137.158.27.255? (when giving answer give the logic of why the answer is so)

255.255.254.0

^^note that for 255.255.254.0, the first two number sets. i.e 255.255, each 255=11111111, the third number set 254=11111110, while 0=00000000

^^^ so final binary is 11111111.11111111.11111110.00000000, so there are 9 open 0s on right, and 2^9 = 512, so there are a range of 512 IPs available

Question
In linux, in networking, what is the subnet/network mask if you want to have 512 IP addresses in your network, ranging from e.g. 137.158.26.0 through 137.158.27.255? (when giving answer give the logic of why the answer is so)
?

Question
In linux, in networking, what is the subnet/network mask if you want to have 512 IP addresses in your network, ranging from e.g. 137.158.26.0 through 137.158.27.255? (when giving answer give the logic of why the answer is so)

255.255.254.0

^^note that for 255.255.254.0, the first two number sets. i.e 255.255, each 255=11111111, the third number set 254=11111110, while 0=00000000

^^^ so final binary is 11111111.11111111.11111110.00000000, so there are 9 open 0s on right, and 2^9 = 512, so there are a range of 512 IPs available

If you want to change selection, open document below and click on "Move attachment"

25. Introduction to IP
ain the example of a university with a Class B address. It might have an IP address range of 137.158.0.0 through 137.158.255.255 . Assume it was decided that the astronomy department should get <span>512 of its own IP addresses, 137.158.26.0 through 137.158.27.255 . We say that astronomy has a network address of 137.158.26.0 . The machines there all have a network mask of 255.255.254.0 . A particular machine in astronomy may have an IP address of

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions