Skip to content

covarrjes/vlsm_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLSM Calculator

An IPv4 subnets calculator using original host, original subnet mask and desired subnet mask.

To Do List

  • Clean up variable names (host vs network address confusion)
  • Verify & correct subnet mask inversion -> broadcast address
  • Build test cases
  • Determine how to use subnets.py in relation to the for loop based on subnet count

Bug fixes

  • convert_decimal(): "int() can't convert non-string with explicit base" when converting broadcast address
    fix: int(str(binary[]))
  • invert_subnet_mask(): was returning 0 instead of inverted array & was checking if == 1 instead of '1'

References

IP Addressing and Subnetting for New Users

IP Calculator for Double Checking Results

License

MIT

About

IPv4 Variable Length Subnet Mask Calculator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages