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
- Host: GitHub
- URL: https://github.com/creadone/iptool
- Owner: creadone
- License: mit
- Created: 2020-11-13T04:27:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-13T04:35:21.000Z (over 5 years ago)
- Last Synced: 2025-01-02T04:26:59.373Z (over 1 year ago)
- Language: Crystal
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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