CIDR calculator

Using netmask
## ip range -> CIDR
netmask -c 192.168.0.0:192.168.2.255
## ip range -> network mask
netmask -s 192.168.0.0:192.168.2.255
Online CIDR calculator
https://www.ipaddressguide.com/cidr
Some of the content is generated by AI, please be cautious in identifying it.