[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Squid warning



On Thu, Feb 06, 2003 at 12:30:36PM -0200, GBV wrote:
| Where is my error?
| 
| How I can eliminate this warn?
| 
| 2003/01/16 06:28:36| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '125.129.0.1/255.255.252.0'

Specify this instead : 125.129.0.0/255.255.252.0

The reason is the values specified are : 

0111 1101  1000 0001  0000 0000  0000 0001  IP address (in binary)
1111 1111  1111 1111  1111 1100  0000 0000  Netmask (in binary)

Thus the network address is

0111 1101  1000 0001  0000 0000  0000 0000

or 125.129.0.0.  Note how the '1' specified for the last octet is
"lost" when the netmask is applied.  Since, presumably, you only mean
to specify networks in squid, that loss is probably an unintentional
error on the part of the admin configuring squid.

-D

-- 
If Microsoft would build a car...
... Occasionally your car would die on the freeway for no reason. You
would have to pull over to the side of the road, close all of the car
windows, shut it off, restart it, and reopen the windows before you
could continue. For some reason you would simply accept this.
 
http://dman.ddts.net/~dman/

Attachment: pgpqqYiUPb72o.pgp
Description: PGP signature


Reply to: