iNetmask

Subnet calculator and address netmask generation utility, built for the iPhone.

  • Generates common subnet values.
  • Converts various address and mask formats.
  • Merges masks to generate the smallest network lists.
  • Supports multiple inputs.

Input

Address Specification:

  • addr - one address
  • addr1:addr2 - addr1 to addr2
  • addr1:+addr2 - addr1 to addr1+addr2
  • addr/mask - address spanning mask

Address:

  • porcupyne.org
  • 192.168.1.17
  • 255 (decimal)
  • 0377 (octal)
  • 0xFF (hexadecimal)

Mask:

  • 255.255.0.0 (standard)
  • 0.0.255.255 (cisco)
  • 16 (CIDR)
  • 020 (octal)
  • 0x10 (hex)

Output

  • subnet - common subnet values
  • cidr - 10.10.10.0/24
  • standard - 10.10.10.0/255.0.0.0
  • cisco - 10.10.10.0/0.0.0.255
  • range - 10.10.10.0-10.10.10.255 (256)
  • hex - 0x0a0a0a00/0xffffff00
  • octal - 01202405000/037777777400
  • binary - 00001010 00001010 ...

Examples

subnet: 10.0.0.0/8

Network Address: 10.0.0.0
Subnet Mask: 255.0.0.0
Default Gateway: 10.0.0.1
Broadcast Address: 10.255.255.255
Range: 10.0.0.1 - 10.255.255.254
Number of Usable Addresses: 16777214

subnet: 192.168.1.0/28

Network Address: 192.168.1.0
Subnet Mask: 255.255.255.240
Default Gateway: 192.168.1.1
Broadcast Address: 192.168.1.15
Range: 192.168.1.1 - 192.168.1.14
Number of Usable Addresses: 14

decimal in: 3232236034

192.168.2.2/32

octal in: 030052001002

192.168.2.2/32

hex in: 0xC0A80202

192.168.2.2/32

dot quad in: 192.168.2.2

192.168.2.2/32

range in: 10.0.0.0:10.0.0.25

10.0.0.0/28
10.0.0.16/29
10.0.0.24/31

hex out: 192.168.2.2

0xc0a80202/0xffffffff

octal out: 192.168.2.2

030052001002/037777777777

binary out: 192.168.2.2

11000000 10101000 00000010 00000010 / 11111111 11111111 11111111 11111111

standard out: 192.168.2.2

192.168.2.2/255.255.255.255

cidr out: 192.168.2.2

192.168.2.2/32

cisco out: 192.168.2.2

192.168.2.2/0.0.0.0

range out: 192.168.1.0/24

192.168.1.0-192.168.1.255 (256)

range in out: 192.168.1.0:192.168.1.255

192.168.1.0-192.168.1.255 (256)

additive range: 10.0.0.0:+255

10.0.0.0/24

merging: 192.168.0.0/24 192.168.1.0/24 192.168.2.0/24 192.168.3.0/24

192.168.0.0/22