Skip to content

Commit

Permalink
Add simple README
Browse files Browse the repository at this point in the history
  • Loading branch information
lonepeon committed Jun 22, 2022
1 parent bb3309f commit 3c782b4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
```

0 comments on commit 3c782b4

Please sign in to comment.