8000 GitHub - jnyfah/ipcalc
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jnyfah/ipcalc

 
 

Repository files navigation

ipcalc

ipcalc is a python program that takes in 3 inputs from the ;

  • ip address
  • subnet mask
  • CIDR

and calculates the following;

  • number of usable ip address
  • network address
  • broadcast address

TO DO

  • Get input from user
  • Take either subnet mask or CIDR
  • Validates inputs
  • Validation A (4 decimal values in the ip address each not greater than 255)
  • Validation B (4 decimal values in the subnet mask each not greater than 255 and is either 0, 128, 192, 224, 240, 248, 252, 254 and 255)
  • Validation C (CIDR is a decimal value not greater than 32)
  • Convert subnet mask to CIDR
  • Convert from CIDR to subnetmask
  • Calculate Network address
  • Calculate Broadcast address
  • The number of subnets
  • Number of usable host
  • First usable host and last usable host

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%
0