[ntp:questions] NTP not syncing

David Woolley david at ex.djwhome.demon.invalid
Mon Nov 25 22:37:01 UTC 2013


On 25/11/13 12:14, Antonio Marcheselli wrote:
> On 25/11/2013 07:50, David Woolley wrote:
>> On 25/11/13 00:55, Antonio Marcheselli wrote:
>>
>>> restrict 130.1.1.1 mask 255.255.255.0 nomodify
>>>
>>
>> That's an invalid combination.  You can't have a bit set in the pattern
>> which is not set in the mask.  That's basic TCP/IP stuff.
>>
>
> Hope I won't look too dumb here but I'm not following you, sorry. .1 is
> within the 0 mask, isn't it?

You replied three times.   0 has no bits set.

a & 0xffffff00 can never equal 0x82010101.

(Many implementations allow for this sort of error by actually 
evaluating this as (a & 0xffffff00)  == (0x82010101 & 0xffffff00).)



More information about the questions mailing list