perl and network addresses
Paul Lussier
p.lussier at comcast.net
Tue Mar 28 14:40:01 EST 2006
Jason Stephenson <jason at sigio.com> writes:
> It seems to me that the answer is that your IP addresses are limited
> to the range of 10.0.32.0 to 10.0.63.255 with 10.0.0.0 being the
> network address and 10.255.255.255 being the broadcast address, no?
Err, you've got the IP addresses wrong. It's 10.32.0.0/16, but
segmented on a /19 boundary. I need to be able to calculate the "next"
network, which for 10.32.0.0/19, would be 10.64.0.0/19, then take the
host portion and "add" it to this new network such that any given host
has the same host portion on all networks it may exist on.
--
Seeya,
Paul
More information about the gnhlug-discuss
mailing list