This is a couple of programs to perform some calculations on IP address ranges ('netblocks', hence the 'nb' at the start of each name). nbcalc calculates the sum of its argument netblocks and outputs the result in CIDR form, and nbinter tells you if any of its arguments intersect the others. They require Python 2.2+. To install, copy ranges.py and netblock.py to somewhere, edit the appropriate line of nbcalc and nbinter to point at where you put the two .py files, and install the edited versions somewhere in your $PATH. nbcalc and nbinter both have manpages, nbcalc.1 and nbinter.1. - cks, Jul 28 2004