title: How to calculate IP ranges
body: <p>Hi would someone be able to assist with the following question? The question is from a past paper in preparation for an exam.</p>
  <blockquote>
  <p>Consider a router that interconnects three subnets: Subnet 1, Subnet 2, Subnet 3. Suppose all of the interfaces in each of these subnets are required to have the prefix 223.1.17/24. Also suppose that subnet 1 is required to support up to 125 different hosts, and subnets 2 and 3 are each required to support up to 60 different hosts.</p>
  <p>Provide three network addresses (of the form a.b.c.d/x) that define the beginning of the IP address range for each subnet, and explain your reasoning.</p>
  </blockquote>
  <p>I think the answer is the following, but I'm not sure.</p>
  <blockquote>
  <p>Subnet 1: 223.1.17.1/25</p>
  <p>Subnet 2: 223.1.17.128/26</p>
  <p>Subnet 3: 223.1.17.193/26</p>
  </blockquote>
  <p>Regards.</p>