Skip to content

command line program to find subnet mask for ip address

License

Notifications You must be signed in to change notification settings

Arikato111/find_subnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust

Find subnet mask

Github License GitHub Issues GitHub Pull Requests GitHub Contributors GitHub Last Commit

console application for find subnet mask

Install (For linux)

  1. run code bellow on your terminal with curl or wget
curl -o- https://raw.githubusercontent.com/Arikato111/find_subnet/main/release/install.sh | bash
wget -qO- https://raw.githubusercontent.com/Arikato111/find_subnet/main/release/install.sh | bash

Build

  • cargo build --release
  • output file is ./target/release/find_subnet

Run

  • subnet <0-32>
  • subnet <0-32> <0-32> <0-32> <0-32>

example

$ subnet 20
# /20 = 11111111.11111111.11110000.00000000 | 255.255.240.0
$ subnet 10 20 30
# /10 = 11111111.11000000.00000000.00000000 | 255.192.0.0
# /20 = 11111111.11111111.11110000.00000000 | 255.255.240.0
# /30 = 11111111.11111111.11111111.11111100 | 255.255.255.252

find wildcard

$ subnet -w 10 20 30
# /10 = 00000000.00111111.11111111.11111111 | 0.63.255.255
# /20 = 00000000.00000000.00001111.11111111 | 0.0.15.255
# /30 = 00000000.00000000.00000000.00000011 | 0.0.0.3

TODOs

  • find subnet with number of devices
  • update to latest version
  • find wildcard
  • installing. use git clone but dont move any file or folder. just git clone.

About

command line program to find subnet mask for ip address

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published