title: Subnetting network Class B possible masks for maximum 120 hosts
body: <p>I have an Ipv4 180.3.0.0 (class B, network bits reserved - 16bits).
  What are my possible subnet masks if i want my network to have at least 22 subnets and 120 maximum hosts?</p>
  <p>I can understand that i need to give 5 bits for 22 subnets and 7 bits for 126 usable hosts but i can't undestand how when the question ask a minimum 22 subnets and a maximum 120 hosts each subnet.</p>
  <p>What i tried so far is i tried to give certain bits to the subnet part and the others to hosts part, creating a range of possibilities but i don't see how that solves my problem.</p>
  <p>Anyone can help me understand the logic behind this?</p>