Free subnetting trainer

Calculate the smallest subnet. All data is validated within the browser; student code is not executed.

Base network

192.168.40.0/24

Required hosts
58
Hint: find the smallest number of host bits that satisfies 2ʰ − 2 ≥ 58. The remaining bits form the prefix.