项目作者: allisonmachado

项目描述 :
A subnet mask and network calculator
高级语言: C
项目地址: git://github.com/allisonmachado/network-calc.git
创建时间: 2013-07-13T01:39:04Z
项目社区:https://github.com/allisonmachado/network-calc

开源协议:

下载


network-calc

Easy way to quickly find key values for a network environment such as the binary net ip,
netmask, broadcast address and so on for a given input. See the example below:

  1. $ net-calc 192.168.1.0/24
  2. Entry: 192.168.1.0/24
  3. Network address: 11000000 10101000 00000001 00000000 192.168.1.0
  4. Netmask: 11111111 11111111 11111111 00000000 255.255.255.0 (24 bits)
  5. Broadcast addr: 11000000 10101000 00000001 11111111 192.168.1.255
  6. Min Host value: 11000000 10101000 00000001 00000001 192.168.1.1
  7. Max Host value: 11000000 10101000 00000001 11111110 192.168.1.254
  8. The possible number of hosts on this network is 254.

Install

curl https://raw.githubusercontent.com/allisonmachado/network-calc/master/install.sh | bash