[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ipcalc is peculiar



As I understand it, the four segments of a human'comprehendable IP address are 
decimal number. Not binary, not hexadecimal or octal, decimal.
[spam debian spam]$ ipcalc --network 172.19.0.1/8
NETWORK=172.0.0.0
[spam debian spam]$ ipcalc --network 172.019.0.1/8
ipcalc: bad ip address: 172.019.0.1
[spam debian spam]$ ipcalc --network 172.17.0.1/8
NETWORK=172.0.0.0
[spam debian spam]$ ipcalc --network 172.017.0.1/8
NETWORK=172.0.0.0
[spam debian spam]$


I believe, but haven't tested recently, that ifconfig also has this 
affliction.




-- 
My bits for Taroon: http://debian.merseine.nu/taroon/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]