Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. # this sets the source to local time
  2. server 127.127.1.0
  3. fudge 127.127.1.0 stratum 8
  4.  
  5. # this makes the ntpd deamon to send out its time on the local net.
  6. broadcast 192.168.255.255
  7.  
  8. ntpq -c lpeer
  9. remote refid st t when poll reach delay offset jitter
  10. ==============================================================================
  11. 192.168.255.255 .BCST. 16 B - 64 0 0.000 0.000 0.000
  12.  
  13. server 192.168.1.123 iburst
  14. server 127.127.1.0
  15. fudge 127.127.1.0 stratum 8
  16.  
  17. ntpq -c lpeer
  18. remote refid st t when poll reach delay offset jitter
  19. ==============================================================================
  20. 192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
  21. LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
  22.  
  23. ntpq -c lpeer
  24. remote refid st t when poll reach delay offset jitter
  25. ==============================================================================
  26. *192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
  27. LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
  28.  
  29. ntpq -c lpeer
  30. remote refid st t when poll reach delay offset jitter
  31. ==============================================================================
  32. 192.168.1.123 .INIT. 16 u 1 64 0 0.000 0.000 0.000
  33. *LOCAL(0) .LOCL. 8 l 63 64 377 0.000 0.000 0.000
  34.  
  35. #if you want to listen to time broadcasts on you local subnet,
  36. #de-comment the next lines. Please do this only if you trust
  37. #everybody on the network!
  38. #disable auth
  39. #broadcastclient
  40.  
  41. # this is the IP or name of the local networks NTP server. This line
  42. # should be commented out on the server
  43. server 192.168.1.111
  44.  
  45. # this enables checking the local clock. Do not change that IP values!
  46. server 127.127.1.0
  47. fudge 127.127.1.0 stratum 10
  48.  
  49. # this lines are required to run the ntpq -p command to verify the
  50. # function of the system
  51.  
  52. restrict 127.0.0.1
  53. restrict ::1
  54.  
  55. sudo /etc/init.d/ntp restart
  56.  
  57. remote refid st t when poll reach delay offset jitter
  58. ==============================================================================
  59. *LOCAL(0) .LOCL. 2 1 6 64 377 0.000 0.000 0.000
  60.  
  61. remote refid st t when poll reach delay offset jitter
  62. ==============================================================================
  63. *192.168.1.111 LOCAL(0) 3 u 31 64 377 0.206 -5.900 0.654
  64.  
  65. remote refid st t when poll reach delay offset jitter
  66. ==============================================================================
  67. *192.168.1.111 LOCAL(0) 3 u 31 64 377 0.206 -5.900 0.654
  68. LOCAL(0) .LOCL. 8 l 6 64 1 0.000 0.000 0.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement