> I have the first 50 IPs reserved in a subnet we are using.
> Is it possible for each or each_host to start at the 50th address?
Hello John,
here is what I would do
> 5 addr = IPAddress.parse "192.168.112.50/20"
addr.to_a[49..-1].each do |i|
# do your stuff
end
if you want the 50th address, or
addr.to_a[50..-2].each do |i|
# do your stuff
end
if you want the 50th host.