On Tue, 11 Sep 2018 20:10:39 +0200 Paul de Weerd <we...@weirdnet.nl> wrote:
> On Tue, Sep 11, 2018 at 12:32:26PM -0400, Steve Litt wrote: > | > $ 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. > > Well, if you're taking feature requests .. then please add me to the > list for 'want v6 support' too. It's 2018 after all :) Another person wrote to inform me of Python's ipaddress library, in the standard library collection, making it much easier for me to expand to IPV6. I should be able to do it as soon as I understand IPV6. > > Also, sthen, since it is 2018 .. you shouldn't be using eui64 > addressing anymore ;-) I'm confused. Was I using eui addressing in the IPV4 version? If I shouldn't use eui, what *should* I use instead? My understanding from 10 minutes of reading is that eui is a way of auto-setting IP addresses within the subnet, based on Mac addresses, which are presumed unique within the subnet. Thanks, Steve Steve Litt September 2018 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz