{"id":25411309,"url":"https://github.com/tehmessiah75/randomsubnetgenerator","last_synced_at":"2025-04-14T08:27:53.809Z","repository":{"id":276052937,"uuid":"927705239","full_name":"tehmessiah75/RandomSubnetGenerator","owner":"tehmessiah75","description":"This is a powershell script to generate a random subnet address range that falls within a private addressing class (A, B or C)","archived":false,"fork":false,"pushed_at":"2025-02-28T05:27:36.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T12:48:05.742Z","etag":null,"topics":["classless-subnetting","powershell","subnet","subnetting","subnetting-ipv4-addresses"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tehmessiah75.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-05T12:06:13.000Z","updated_at":"2025-02-28T05:27:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"bbe5d148-636e-4ffb-9531-36948d5da300","html_url":"https://github.com/tehmessiah75/RandomSubnetGenerator","commit_stats":null,"previous_names":["tehmessiah75/randomsubnetgenerator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehmessiah75%2FRandomSubnetGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehmessiah75%2FRandomSubnetGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehmessiah75%2FRandomSubnetGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tehmessiah75%2FRandomSubnetGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tehmessiah75","download_url":"https://codeload.github.com/tehmessiah75/RandomSubnetGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845135,"owners_count":21170707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["classless-subnetting","powershell","subnet","subnetting","subnetting-ipv4-addresses"],"created_at":"2025-02-16T10:17:07.043Z","updated_at":"2025-04-14T08:27:53.801Z","avatar_url":"https://github.com/tehmessiah75.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Do you ever get sick of using the same subnets when you're designing networks?\nCant decide what ip address range you should use?\nDont want to use the default 192.168.0.1/24 172.16.0.1/12 or 10.0.0.1/8\nWant to limit the amount of addresses to suit your use case?\n\nNever fear, I have created this powershell script to fix your indecision.\nIt prompts for an input of how many ip addresses that you need and then generates a random subnet to fullfil your needs.\n\n-----------------------------------------------------------------------------------\n\nSample Outputs:\nEnter the required number of IP addresses for the subnet: 70\n\nName             Value          \n----             -----          \nStarting IP      172.16.139.100 \nEnding IP        172.16.139.225 \nSubnet Mask      255.255.255.128\nCIDR             /25            \nUsable Addresses 126            \nRange Type       Private\n\nEnter the required number of IP addresses for the subnet: 300\n\nName             Value        \n----             -----        \nStarting IP      10.33.149.50 \nEnding IP        10.33.151.47 \nSubnet Mask      255.255.254.0\nCIDR             /23          \nUsable Addresses 510          \nRange Type       Private      \n\nEnter the required number of IP addresses for the subnet: 600\n\nName             Value        \n----             -----        \nStarting IP      10.47.75.231 \nEnding IP        10.47.79.228 \nSubnet Mask      255.255.252.0\nCIDR             /22          \nUsable Addresses 1022         \nRange Type       Private  \n\nEnter the required number of IP addresses for the subnet: 15000000 (yes that is 15 Million)\n\nName             Value        \n----             -----        \nStarting IP      10.221.110.47\nEnding IP        11.221.110.44\nSubnet Mask      255.0.0.0    \nCIDR             /8           \nUsable Addresses 16777214     \nRange Type       Private\n-----------------------------------------------------------------------------------\nCurrent known issue is if you need more ip address than what private networking allows it will still give a valid range which will of course then not be within the private addressing range.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehmessiah75%2Frandomsubnetgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftehmessiah75%2Frandomsubnetgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftehmessiah75%2Frandomsubnetgenerator/lists"}