netmask arithmetic?

Roel Schroeven rschroev_nospam_ml at fastmail.fm
Sat Feb 26 04:50:41 EST 2005


Dan Stromberg wrote:
> Before I go and reinvent the wheel, does anyone already have python code
> that can do netmask arithmetic - for example, determining if a list of
> hostnames are on subnets described by a list of networks+netmasks like:
> 
> 128.200.34.0/24
> 128.195.16.128/25
> 
> ...and so on?

http://pynms.sourceforge.net/ipv4.html

-- 
"Codito ergo sum"
Roel Schroeven



More information about the Python-list mailing list