At 02:49 PM 01/07/2000 -0600, Michael D. Kirkpatrick wrote:
I am using squid and I have found that I am doing something wrong with
assigning
IP ranges.  All the examples show complete class C ranges.  Example:
192.168.0.0 - 192.168.0.255 would be entered as one of the following:
192.168.0.0/24  or
192.168.0.0/255.255.255.0

Now, I just want IP ranges of
192.168.0.0 - 192.168.0.99
192.168.0.111 - 192.168.0.255

I tried the following:
192.168.0.0/192.168.0.99
192.168.0.111/192.168.0.255

That does not work...  Any suggestions?


You can't subnet it that way.  The subnet mask must be a power of 2.  Also, 
you are using an illegal subnet mask.  It is either 255.255.255.xxx (of 
some power of 2), or /N, where N is the number of bits in the host 
number.  e.g. if you wanted to use 64 hosts, you could do 255.255.255.224 
or /27.




Reply via email to