From 4912781d40d249b39e2d6b499593e60bbc240f1f Mon Sep 17 00:00:00 2001 From: Alex Gekas Date: Tue, 22 Apr 2025 00:28:29 -0400 Subject: [PATCH] ipcalc: add page (#16132) --- pages/common/ipcalc.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/ipcalc.md diff --git a/pages/common/ipcalc.md b/pages/common/ipcalc.md new file mode 100644 index 0000000000..f796d0193f --- /dev/null +++ b/pages/common/ipcalc.md @@ -0,0 +1,24 @@ +# ipcalc + +> A tool to calculate IP information (subnet, broadcast, host range) from an IP address and netmask. +> More information: . + +- Display network info for an IP address: + +`ipcalc {{192.168.0.1}}` + +- Display network info using CIDR notation: + +`ipcalc {{192.168.0.1/24}}` + +- Display network info using a separate netmask: + +`ipcalc {{192.168.0.1}} {{255.255.255.0}}` + +- Show only CIDR notation output: + +`ipcalc {{[-c|--class]}} {{192.168.0.1/24}}` + +- Show version information: + +`ipcalc --version`