Page 1 of 1

selective ips from server ip range

Posted: Mon Jul 04, 2011 6:35 pm
by sunilmh
Hi,

Is it possible to select only few ips from the server directive range ?
Following is the my server.conf ip range

Code: Select all

server 10.8.0.0 255.255.255.0
How to make ip range only between 10.8.0.20 and 10.8.0.80 ?

Re: selective ips from server ip range

Posted: Tue Jul 05, 2011 7:42 am
by maikcat
hi there,

use a different subnet mask f.e server 10.8.0.0 255.255.255.128 gives you from 1 to 127,
you cant use whatever ips you want though...

Michael

Re: selective ips from server ip range

Posted: Tue Jul 05, 2011 9:27 am
by sunilmh
Thanks Michael.

It's like we have to use a continuous range of ips with a subnet match right ?

Re: selective ips from server ip range

Posted: Tue Jul 05, 2011 9:29 am
by maikcat
yeap...

Michael.