cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
426
Views
0
Helpful
2
Replies

NTP authentication - server set-up help needed

darren.ward
Level 1
Level 1

Hi All,

I'm setting up a network lab at work and as part of this I have some servers including a FreeBSD 5 machine that I'm setting up with the usual MRTG, CFLOW, TFTP, FTP, SMTP and NTP to test system and devices.

I have most things working as I've done these before but I'm having trouble trying to set up xntpd to provide local clock (as fudged stratum 10) to the routers which is not too hard, but after trying to add authentication I receive only NTP authentication errors.

I've double checked that the key numbers are the same as is the key-string itself but no go.

Can anyone assist on this or suggest something to try?

Router config:

ntp authentication-key xxxxx

ntp authenticate

ntp trusted-key 1

ntp source Loopback0

ntp server 10.70.3.249 key 1 source Loopback0 prefer

ntp.conf:

server 127.0.0.1

fudge 127.0.0.1 stratum 10

keys /etc/ntp.keys

trustedkey 1

driftfile /etc/ntp.drift

logfile /var/log/ntp.conf

ntp.keys:

1 M ntpkey1

(This does match the type 7 key in the router config)

2 Replies 2

drolemc
Level 6
Level 6

NTP configuration example is available in the documentation at http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/ffun_c/fcfprt3/fcf012.htm#1001128. Hope that helps.

steve.busby
Level 5
Level 5

Where you have "ntp authentication-key xxxxx", try this: "ntp authentication 1 xxxxx"