Public bug reported:
$ dpkg -l ipcalc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==---===
ii ipcalc 0.42-2 all parameter calculator for IPv4
addresses
ipcalc itself shows version 0.5
# ipcalc -v
0.5
# asked for networks with 50 hosts each it spits out /27 in steps of /26
$ ipcalc 192.168.13.13 -s 50 50 50
Address: 192.168.13.131100.10101000.1101. 1101
Netmask: 255.255.255.0 = 24 ...
Wildcard: 0.0.0.255...
=>
Network: 192.168.13.0/24 1100.10101000.1101.
HostMin: 192.168.13.1 1100.10101000.1101. 0001
HostMax: 192.168.13.254 1100.10101000.1101. 1110
Broadcast: 192.168.13.255 1100.10101000.1101.
Hosts/Net: 254 Class C, Private Internet
1. Requested size: 50 hosts
Netmask: 255.255.255.224 = 27 ...111 0
Network: 192.168.13.0/27 1100.10101000.1101.000 0
HostMin: 192.168.13.1 1100.10101000.1101.000 1
HostMax: 192.168.13.301100.10101000.1101.000 0
Broadcast: 192.168.13.311100.10101000.1101.000 1
Hosts/Net: 30Class C, Private Internet
2. Requested size: 50 hosts
Netmask: 255.255.255.224 = 27 ...111 0
Network: 192.168.13.64/27 1100.10101000.1101.010 0
HostMin: 192.168.13.651100.10101000.1101.010 1
HostMax: 192.168.13.941100.10101000.1101.010 0
Broadcast: 192.168.13.951100.10101000.1101.010 1
Hosts/Net: 30Class C, Private Internet
3. Requested size: 50 hosts
Netmask: 255.255.255.224 = 27 ...111 0
Network: 192.168.13.128/271100.10101000.1101.100 0
HostMin: 192.168.13.129 1100.10101000.1101.100 1
HostMax: 192.168.13.158 1100.10101000.1101.100 0
Broadcast: 192.168.13.159 1100.10101000.1101.100 1
Hosts/Net: 30Class C, Private Internet
Needed size: 192 addresses.
Used network: 192.168.13.0/24
Unused:
192.168.13.192/26
Older version was correct:
$ dpkg -l ipcalc
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==---===
ii ipcalc 0.41-5 all parameter calculator for IPv4
addresses
$ ipcalc 192.168.13.13 -s 50 50 50
Address: 192.168.13.131100.10101000.1101. 1101
Netmask: 255.255.255.0 = 24 ...
Wildcard: 0.0.0.255...
=>
Network: 192.168.13.0/24 1100.10101000.1101.
HostMin: 192.168.13.1 1100.10101000.1101. 0001
HostMax: 192.168.13.254 1100.10101000.1101. 1110
Broadcast: 192.168.13.255 1100.10101000.1101.
Hosts/Net: 254 Class C, Private Internet
1. Requested size: 50 hosts
Netmask: 255.255.255.192 = 26 ...11 00
Network: 192.168.13.0/26 1100.10101000.1101.00 00
HostMin: 192.168.13.1 1100.10101000.1101.00 01
HostMax: 192.168.13.621100.10101000.1101.00 10
Broadcast: 192.168.13.631100.10101000.1101.00 11
Hosts/Net: 62Class C, Private Internet
2. Requested size: 50 hosts
Netmask: 255.255.255.192 = 26 ...11 00
Network: 192.168.13.64/26 1100.10101000.1101.01 00
HostMin: 192.168.13.651100.10101000.1101.01 01
HostMax: 192.168.13.126 1100.10101000.1101.01 10
Broadcast: 192.168.13.127 1100.10101000.1101.01 11
Hosts/Net: 62Class C, Private Internet
3. Requested size: 50 hosts
Netmask: 255.255.255.192 = 26 ...11 00
Network: 192.168.13.128/261100.10101000.1101.10 00
HostMin: 192.168.13.129 1100.10101000.1101.10 01
HostMax: 192.168.13.190 1100.10101000.1101.10 10
Broadcast: 192.168.13.191 1100.10101000.1101.10 11
Hosts/Net: 62Class C, Private Internet
Needed size: 192 addresses.
Used network: 192.168.13.0/24
Unused:
192.168.13.192/26
Just found: issue seems to be fixed