From c8d6dc54e2ee44daa00b11c6300f4f0d6ef32186 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Thu, 8 May 2025 21:31:00 +0200 Subject: Initial migration to AstroJS --- src/pages/index.astro | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 src/pages/index.astro (limited to 'src/pages') diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..39e0043 --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,69 @@ +--- +import Cidr from "../components/Cidr.tsx"; + +import "../styles/global.css"; + +const metadata = { + title: "Interactive visual CIDR and IP range calculator", + description: + "Interactive tool for IP and CIDR calculations. Visualize subnet analysis and IP ranges. Educational resource for network planning and IT learning.", +}; +--- + + + + + + + + {metadata.title} + + +
+
+

+ IP / CIDR Calculator +

+ + + +
+

+ CIDR (Classless Inter-Domain Routing) notation is a + compact method for specifying IP address ranges and + network masks. It is widely used in network + configuration and management. +

+

+ An IP address consists of 4 octets, each containing 8 + bits that represent values from 0 to 255. In CIDR + notation, a forward slash (/) followed by a number + indicates the length of the network prefix in bits. +

+

+ This prefix length determines the network mask and the + number of available host addresses within the specified + IP range. This calculator helps you visualize and + understand these CIDR blocks, making network planning + and configuration easier. +

+
+
+ +
+ + -- cgit v1.3.1