To get the range you want you'd need to calculate the CIDR.
There are some good online tools for doing this.
If you go to:
http://www.subnet-calculator.com/cidr.php
Input 20.20.20.20 as the IP address then select 14 as maximum address (lowest number that will accomodate the 10 you want) it will show you:
NETMASK should be 255.255.255.240.
First IP is actually 20.20.20.16 and last IP is 20.20.20.31. This encompasses the range you specified (20.20.20.20 - 20.20.20.30). It also gives you the CIDR (/28).