Yes, that is the same as 10.20.30.0/24
But for 10.20.*.* you need to do 10.20.0.0/16
Look for CIDR masking if you dare