in reply to Re^3: Adding an Entire Class B IP Range to an Array
in thread Adding an Entire Class B IP Range to an Array

if the op wants to treat an entire class B as one subnet (a mask of 255.255.0.0), the range goes from 192.168.0.0 (net-address) to 192.168.255.255 (broadcast). All other addresses like '192.168.1.255' and '192.168.2.0' are fine.

update: just read the op again and you're right, the question was only asking for 1 - 254, which looks like he really wants to subnet a class B into class C nets (throwing away two of them).
  • Comment on Re^4: Adding an Entire Class B IP Range to an Array