项目作者: 0xbrock

项目描述 :
Expands a list of IP subnet masks into IP address ranges. The IP address ranges are then expanded into individual a list of individual IP addresses.
高级语言: JavaScript
项目地址: git://github.com/0xbrock/IPSubnetMaskExpander.git
创建时间: 2014-08-08T16:27:55Z
项目社区:https://github.com/0xbrock/IPSubnetMaskExpander

开源协议:

下载


IP Subnet Mask Expander

========================

Expands a list of IP subnet masks into IP address ranges and then expands the resulting ranges into individual IP addresses.

This project is a browser version of my IPSubnetMaskToIPRange node.js project.

It wraps the excellent Network and IP address calculator by Guido Socher to convert the IP subnet mask to an IP range. My contribution is just automating the conversion using a list of subnet masks, expanding the IP address ranges, and saving the result to csv files.

Usage

Enter the subnet masks in the text area. The subnet masks are found by format.

One per line:

  1. 23.96.0.0/18
  2. 23.96.64.0/28
  3. 23.96.64.64/26
  4. ...

Intermixed with XML or commas:

  1. 23.96.0.0/18, 23.96.64.0/28
  2. <iprange Subnet="23.96.64.64/26" ></iprange>
  3. <iprange Subnet="23.96.64.128/27" ></iprange>
  4. ...

OR a combination:

  1. 23.96.0.0/18, 23.96.64.0/28
  2. <iprange Subnet="23.96.64.64/26" ></iprange>
  3. <iprange Subnet="23.96.64.128/27" ></iprange>
  4. 23.96.64.160/28
  5. 23.96.80.0/20
  6. ...

Run

  1. click Calculate

Ouput

The IP address ranges are displayed. Click one of the download buttons to download a csv of the IP ranges or the expaned IP addresses.

  • Ranges contains the ip address ranges. Columns: “IP Range Subnet Mask”, “First IP”, “Last IP”
  • Expaned Ranges contains all of the ip addresses in the ranges. Columns: “Expanded”