
More importantly perhaps, the subnet calculator will find all the components for a given range of addresses -- extremely useful for aggregation, no? -- ala Merit's aggis tool. It also understands /-notation...
Does anyone know about a Unix subnet calculator? It would be really really helpful.
Yeah, the above-mentioned aggis. ;-) habanero:/users/kfiles {10} aggis -q 192.168.4 - 192.168.40 The range of nets from 192.168.4.0 to 192.168.40.0/24 can be represented by: 192.168.4.0/22 ( 4 nets: 192.168.4.0 - 192.168.7.0 ) 192.168.8.0/21 ( 8 nets: 192.168.8.0 - 192.168.15.0 ) 192.168.16.0/20 ( 16 nets: 192.168.16.0 - 192.168.31.0 ) 192.168.32.0/21 ( 8 nets: 192.168.32.0 - 192.168.39.0 ) 192.168.40.0/24 ( 1 net: 192.168.40.0 ) see ftp://merit.edu/pub/nsfnet/cidr/aggis.tar.Z ---- Kirby Files Network Engineer BBN PlaNET Corp kfiles@bbnplanet.com