On Tue, 11 Sep 2018 15:28:09 +0000 (UTC) Stuart Henderson <s...@spacehopper.org> wrote:
> On 2018-09-11, Steve Litt <sl...@troubleshooters.com> wrote: > > I've created a downloadable CIDR (Classless Inter-Domain Routing) > > network calculator, whose sole dependency is Python3. It runs in any > > terminal or terminal emulator on any Linux or presumably BSD > > machine. > > > > http://troubleshooters.com/linux/cidr_calc.htm > > Doesn't seem to work with the current version of IP .. > > $ python3 cidr_calc.py.txt > 2a02:8011:7003:1:fab1:56ff:feac:3276/64 > > IP address (2a02:8011:7003:1:fab1:56ff:feac:3276) not numeric. > USAGE: subnet_calc ipaddr/maskbits > EXAMPLE: subnet_calc 192.168.100.128/28 Yes, it's IPV4 only. If lots of people want it, I might make it work for IPV6 too. Thanks, SteveT Steve Litt September 2018 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz