Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Subnet Calculator

    1

    Calculate IPv4/IPv6 subnets, perform VLSM planning, and audit IP spreadsheets for overlaps using RFC-compliant logic.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Subnet Calculator

    Subnet Calculator

    Example session with this skill installed

    Calculate a VLSM plan for 172.16.0.0/22 with these requirements: Engineering (200 hosts), Sales (100 hosts), Wi-Fi (500 hosts), and DMZ (10 hosts).

    • Read your context and instructions
    • Compiled the subnet calculator

    I have calculated the Variable Length Subnet Masking (VLSM) plan for the 172.16.0.0/22 block. The allocations are ordered by size to maximize address space efficiency and prevent overlaps.

    VLSM Subnet Plan for 172.16.0.0/22

    SegmentRequiredAllocatedCIDRNetwork AddressUsable RangeBroadcastWasted
    Wi-Fi500510/23172.16.0.0172.16.0.1 - 172.16.1.254172.16.1.25510
    Engineering200254/24172.16.2.0172.16.2.1 - 172.16.2.254172.16.2.25554
    Sales100126/25172.16.3.0172.16.3.1 - 172.16.3.126172.16.3.12726
    DMZ1014/28172.16.3.128172.16.3.129 - 172.16.3.142172.16.3.1434

    Summary Statistics:

    • Total Hosts Requested: 820
    • Total Hosts Allocated: 904
    • Remaining Free Space: 172.16.3.144/28, 172.16.3.160/27, 172.16.3.192/26

    Next steps

    1. Update your core router interface descriptions with these network addresses.
    2. Configure your DHCP scopes using the usable range defined for each segment.
    3. Save this plan to a CSV file to use for future overlap auditing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Manual subnetting leads to overlapping ranges and wasted address space. This skill provides precise IP calculation and planning to eliminate routing errors before they hit your infrastructure.

    What it does

    • Address calculation provides the network, broadcast, usable IP range, and host count for any IPv4 or IPv6 CIDR block.
    • Equal splitting divides a larger block into a specific number of equal-sized subnets.
    • VLSM planning calculates Variable Length Subnet Masking based on specific host requirements, ordering from largest to smallest to minimize waste.
    • Route summarization aggregates a list of individual routes into the smallest possible set of supernets.
    • Overlap auditing scans existing IP plans in CSV format to detect collisions, misaligned network addresses, and RFC boundary violations.

    How it works

    1. Analyze an existing CIDR block or IP address to verify its properties and host capacity.
    2. Execute a split or VLSM command by providing a base block and host requirements.
    3. Validate an entire inventory by uploading a CSV of names and CIDRs for a full conflict audit.
    4. Summarize multiple specific routes into optimized supernet masks for routing tables.

    Frameworks & tools

    Built on Python 3 using the standard ipaddress library for RFC-compliant logic. It processes data via CLI commands and CSV file inputs.

    Why this beats prompting it yourself

    LLMs frequently hallucinate binary math and IP boundaries, especially with large VLSM sets or IPv6. This skill uses the Python ipaddress module to ensure every network address and host range is mathematically perfect and RFC-compliant.

    Use cases

    • Allocate address space for new VPCs or physical sites using VLSM.
    • Audit a messy CSV spreadsheet of VLANs for hidden overlaps.
    • Consolidate fragmented routing tables into clean supernet blocks.
    • Verify if a specific host IP is correctly contained within a destination subnet.

    Known limitations

    Does not support non-CIDR notation (like wildcard masks). Audit requires CSV files to follow specific column headers (name, cidr).

    Does not support non-CIDR notation or wildcard masks. Audit functionality requires CSV input with specific name and cidr column headers.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Listed1 month ago
    Updated27 days ago

    What's inside

    Frequently Asked Questions

    Standard LLMs often struggle with binary math and CIDR boundaries, leading to overlapping ranges; this skill uses Python's `ipaddress` library to ensure every calculation is mathematically perfect and RFC-compliant.

    Yes, the skill fully supports both IPv4 and IPv6, including complex tasks like calculating large IPv6 address spaces and performing route summarization for modern networking environments.

    For overlap auditing, you simply need to provide a CSV file with two columns: one for the network name and one for the CIDR block; the skill will then scan for any collisions or misaligned addresses.

    The skill is designed to integrate with any AI agent or platform that supports Python-based tool execution or CLI-driven function calling.

    You receive the complete skill package including the logic for VLSM planning, overlap auditing, and route summarization, along with documentation on how to trigger each specific networking command.

    New in APIs & Backend