diff --git a/README.md b/README.md new file mode 100644 index 0000000..c9d1c4c --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# ipcalc + +Small tool based on https://linux.die.net/man/1/ipcalc which describes the given IPv4. + +``` +$ ipcalc 10.12.23.43/20 +Address: 10.12.23.43 00001010.00001100.00010111.00101011 +Netmask: 255.255.240.0 = 20 11111111.11111111.11110000.00000000 +Wildcard: 0.0.15.255 00000000.00000000.00001111.11111111 +=> +Network: 10.12.16.0/20 00001010.00001100.00010000.00000000 +HostMin: 10.12.16.1 00001010.00001100.00010000.00000001 +HostMax: 10.12.31.254 00001010.00001100.00011111.11111110 +Broadcast: 10.12.31.255 00001010.00001100.00011111.11111111 +Hosts/Net: 4094 class A, Private Internet +```