enable cidr notation

hi @ydahhrk  

this PR might help resolve issue #117 

any feedback is appreciated

regards!