An open API service indexing awesome lists of open source software.

https://github.com/creadone/iptool

Calculate subnet by IPv4 range
https://github.com/creadone/iptool

Last synced: about 1 month ago
JSON representation

Calculate subnet by IPv4 range

Awesome Lists containing this project

README

          

# iptool

Console tool for calculate subnet by first and last IPv4. IPtool heavily based on great library [Subnet](https://github.com/watzon/subnet) by Chris Watson.

## Installation

```
git clone https://github.com/creadone/iptool && cd iptool && shards build --release
```

## Usage

```
echo '173.194.0.0 - 173.194.255.255' | ./bin/iptool
#=> 173.194.0.0/16
```

## Development

TODO: Write development instructions here

## Contributing

1. Fork it ()
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

## Contributors

- [Creadone](https://github.com/creadone) - creator and maintainer