2025-04-22 00:28:29 -04:00
|
|
|
# ipcalc
|
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
> Calculate IP information (subnet, broadcast, host range) from an IP address and netmask.
|
2025-04-22 00:28:29 -04:00
|
|
|
> More information: <https://manned.org/ipcalc>.
|
|
|
|
|
|
|
|
- Display network info for an IP address:
|
|
|
|
|
|
|
|
`ipcalc {{192.168.0.1}}`
|
|
|
|
|
|
|
|
- Display network info using CIDR notation:
|
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
`ipcalc {{192.168.0.1}}/{{24}}`
|
2025-04-22 00:28:29 -04:00
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
- Display network info using a dotted decimal netmask:
|
2025-04-22 00:28:29 -04:00
|
|
|
|
|
|
|
`ipcalc {{192.168.0.1}} {{255.255.255.0}}`
|
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
- Suppress bitwise output:
|
2025-04-22 00:28:29 -04:00
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
`ipcalc {{[-b|--nobinary]}} {{192.168.0.1}}`
|
|
|
|
|
|
|
|
- Split a network into specified sized blocks:
|
|
|
|
|
|
|
|
`ipcalc {{[-s|--split]}} {{size1 size2 size3 ...}} {{192.168.0.1}}`
|
2025-04-22 00:28:29 -04:00
|
|
|
|
2025-06-24 21:13:23 +03:00
|
|
|
- Display version:
|
2025-04-22 00:28:29 -04:00
|
|
|
|
2025-04-23 08:16:27 +03:00
|
|
|
`ipcalc {{[-v|--version]}}`
|