title: Find IPv4 range from given subnet address and mask?
body: <p>I have subnet address and mask, and I am looking for possible IP range in that subnet. Please let me know a solution in Python, PHP, or Java.</p>
  
  <p>For example, I have the following details:</p>
  
  <p>Subnet address: <code>10.113.12.40</code></p>
  
  <p>mask: <code>255.255.255.248</code></p>
  
  <p>Then what will be the IP Range?</p>