Skip to content

overcomplicated python script to convert a network with cidr notation to its network and subnet mask

License

Notifications You must be signed in to change notification settings

secnonsense/cidr2netmask.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

cidr2netmask.py

Overcomplicated python script to convert a network with cidr notation to a network and subnet mask

Takes network/cidr as input example - 10.10.10.0/24 and outputs network and subnet mask - 10.0.0.0 mask 255.255.255.0

Could be used as a function in another script.

About

overcomplicated python script to convert a network with cidr notation to its network and subnet mask

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages