Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 288 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 288 Bytes

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.