Příkaz ipcalc počítá jen s IPv4. Zkuste najít nějaký jiný nástroj, který bude umět (i) IPv6, Google poradil třeba subnetcalc.
Proto jsem prave daval ukazku ubuntu 16.04 a 18.04. V 18.04 uz ipcalc umi IPv6:
NAME
ipcalc - perform simple manipulation of IP addresses
SYNOPSIS
ipcalc [OPTION]... <IP address>[/prefix] [netmask]
DESCRIPTION
ipcalc provides a simple way to calculate IP information for a host. The various options specify what information ipcalc should display on standard out. Multiple options may be
specified. An IP address to operate on must always be specified. Most operations also require a netmask or a CIDR prefix as well.
OPTIONS
-c, --check
Validate the IP address under the specified family. If no address family is specified, IPv4 is assumed.
-4, --ipv4
Specify IPv4 address family (default).
-6, --ipv6
Specify IPv6 address family.
subnetcalc chce vstup ve tvaru IP prefix :-(
subnetcalc 2a00:1450:8007::69 64
Uz jsem tech programu zkusil hodne a zatim zadny nefunguje.