2018-08-31 11:41:11 -07:00
|
|
|
# ipcalc
|
|
|
|
|
2018-09-01 16:29:13 -07:00
|
|
|
> Perform simple operations and calculations on IP addresses and networks.
|
2021-09-02 15:33:49 -03:00
|
|
|
> More information: <https://manned.org/ipcalc>.
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-04 09:39:31 -07:00
|
|
|
- Show information about an address or network with a given subnet mask:
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-03 15:20:14 -07:00
|
|
|
`ipcalc {{1.2.3.4}} {{255.255.255.0}}`
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-01 16:29:13 -07:00
|
|
|
- Show information about an address or network in CIDR notation:
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-03 15:20:14 -07:00
|
|
|
`ipcalc {{1.2.3.4}}/{{24}}`
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-01 16:29:13 -07:00
|
|
|
- Show the broadcast address of an address or network:
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-03 15:20:14 -07:00
|
|
|
`ipcalc -b {{1.2.3.4}}/{{30}}`
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-01 16:29:13 -07:00
|
|
|
- Show the network address of provided IP address and netmask:
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-03 15:20:14 -07:00
|
|
|
`ipcalc -n {{1.2.3.4}}/{{24}}`
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-01 16:29:13 -07:00
|
|
|
- Display geographic information about a given IP address:
|
2018-08-31 11:41:11 -07:00
|
|
|
|
2018-09-03 15:20:14 -07:00
|
|
|
`ipcalc -g {{1.2.3.4}}`
|