Author Topic: Configuring SRX as an NTP Server  (Read 3496 times)

cdljel

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Configuring SRX as an NTP Server
« on: November 03, 2011, 09:49:20 pm »
I was wondering if anybody knows if its possible to configure an interface on an SRX to act as an NTP Server.

I've done this in the past on SSG firewalls by using "set interface eth0 ntp-server".
JNCIA-FWV & JNCIA-EX


bobjp

  • Newbie
  • *
  • Posts: 39
  • Karma: +1/-0
    • View Profile
Re: Configuring SRX as an NTP Server
« Reply #1 on: November 12, 2011, 09:38:48 am »
Hi,
I haven't checked if the configuration works on SRX, but give it a try.
Seems like SRX (in server mode) is just relaying NTP, not an actual NTP server:

----------------------
In server mode, the router acts as an NTP server for clients when the clients are configured appropriately. The only prerequisite for “ server mode” is that the router must be receiving time from another NTP peer or server. No other configuration is necessary on the router.

To configure the local router to operate as an NTP server, include the following statements at the [edit system ntp] hierarchy level:

[edit system ntp]
authentication-key   key-number type type value password;
server address        <key key-number> <version value> <prefer>;
trusted-key              [ key-numbers ];

----------------------
JNCIA-JUNOS, JNCIS-ENT, JNCIS-SEC

cdljel

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Configuring SRX as an NTP Server
« Reply #2 on: November 27, 2011, 11:43:48 pm »
Thanks bobjp.

I got it to work when the ntp client is a netscreen ssg20 firewall that is pointing to the srx acting as the ntp server.

I can't get windows xp clients to sync the clock when pointing to the srx though. At least i know its possible and now i need to probably troubleshoot the windows clients.

Thanks again.
JNCIA-FWV & JNCIA-EX