A program to calculate CIDR network and broadcast addresses for a given IP and mask. It runs in unix/linux and is simple to compile and install. I’ve found it very useful over the years and it’s become rather difficult to find so I’m posting it here and will probably maintain it in the event it needs any maintenance.
Download: cidr.tgz
Simply extract it, type make and then make install and it should be all set to go.
If there are any questions about it I’ll try my best to answer them. No, I didn’t write this tool - all credits are in headers where I originally found them.