It would be useful to have something that would take
an IP address range and return the minimum coverage
CIDR for that block (for use in feeding to iptables).

For those addicted to command line (gipsc needs gnome), try netmask :

#netmask -c 192.168.10.224:192.168.10.255
 192.168.10.224/27
#netmask -c 192.168.10.23:192.168.10.55
 192.168.10.23/32
 192.168.10.24/29
 192.168.10.32/28
 192.168.10.48/29
#netmask -r  192.168.10.48/29
 192.168.10.48- 192.168.10.55

--
Guillaume Avez
Administrateur Systemes et Reseaux
tel. +33 169 07 34 55
mailto:[EMAIL PROTECTED]

Reply via email to