1 unstable release
0.1.0 | May 17, 2024 |
---|
#1914 in Command line utilities
11KB
187 lines
iasc
"iasc", an Ip-address And Subnet-mask Calculator.
This tool is still beta!!
Completed part
- Prefix to Subnet-mask
- Subnet-mask to Prefix
Incomplete part
- IPv6 support
- Calculate the number of hosts
- Calculate Network address and Broadcast address
- Calculate the range of IP addresses
- and etc...
Usage
iasc --conversion-type prefix-to-subnet --prefix-length 27
# Output
255.255.255.224
iasc --conversion-type subnet-to-prefix --subnet-mask 255.255.240.0
# Output
20
lib.rs
:
Ip address And Subnet mask Converter
This CLI tool can convert some Network's address to another address.
Usage
iasc --conversion-type prefix-to-subnet --prefix-length 24
# Output
255.255.255.0
iasc --conversion-type subnet-to-prefix --subnet-mask "255.255.255.0"
# Output
24
Dependencies
~1.2–1.7MB
~33K SLoC