"DJ" <[EMAIL PROTECTED]> wrote:

> I have a stratum 3 server (serverA) and another server (serverB) which
> I want to be stratum 4 i.e. serverB has the line
> 
> server serverA
> 
> in its ntp.conf
> 
> Now I have generated an ntp.keys file using ntp-genkeys (ntp-keygen)
> which contains 8 MD5 keys
> 
> on ServerA
> 
> keys /etc/ntp.keys
> trustedkey 1 2 3 4 5
> 
> on ServerB
> 
> server serverA key 2
> 
> keys /etc/ntp.keys
> trustedkey 1 2 3 4 5
> 
> 
> Now running ntpd in debug mode on ServerA and ServerB (ntpd -D3 -n) I
> can see the traffic from ServerA to ServerB. ServerB includes Key 2
> with    its requests to ServerA. ServerA responds with key 0...
> 
> How do I configure serverA to use, say, Key 2, or key 3 when talking to
> a client (i.e higher stratum server) ????

It should automatically reply using the same key as the client used,
unless it's not happy about something.  Someone else had a similar
problem recently which turned out to be an extraneous carriage-return
in the ntp.keys file transferred from Windows to Unix!

What version of ntpd are you using, on what OS(es) ?

-- 
                      Ronan Flood <[EMAIL PROTECTED]>
                        working for but not speaking for
             Network Services, University of London Computer Centre
     (which means: don't bother ULCC if I've said something you don't like)

_______________________________________________
questions mailing list
[email protected]
https://lists.ntp.isc.org/mailman/listinfo/questions

Reply via email to