[j-nsp] NTP service

Javier Alvira jalvira@nortelnetworks.com
Mon, 2 Sep 2002 16:52:30 +0100


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C25298.BE79A528
Content-Type: text/plain;
	charset="iso-8859-1"

Hi all

I would like to know whether there is something special when configuring a
NTP server in a Juniper (M-10, 5.0R1.4). This is what I configured:


time-zone Europe/Lisbon;

ntp {
    boot-server 10.128.0.20;
    server 10.128.0.20;
}
-------------------------------------


The "monitor traffic interface fe-0/0/0" shows this (10.128.0.20 is the NTP
server, inside customer's network):

15:25:48.737589 Out xx.yy.zzz.44.ntp > 10.128.0.20.ntp:  v3 client strat 0
poll 6 prec -20 [tos 0x10] 
15:25:48.745207  In No-L2-hdr 10.128.0.20.ntp > xx.yy.zzz.44.ntp:  v3 server
strat 1 poll 6 prec -19
-----------------------------------


But this is the output for "show ntp status":


status=c011 sync_alarm, sync_unspec, 1 event, event_restart,
processor="i386", system="JUNOS5.0R1.4", leap=11, stratum=16,
precision=-20, rootdelay=0.000, rootdispersion=6.105, peer=0,
refid=0.0.0.0, reftime=00000000.00000000  Thu, Feb  7 2036  6:28:16.000,
poll=6, clock=c119f9e3.d22c343b  Fri, Aug 30 2002 15:04:19.820, state=1,
phase=0.000, frequency=0.000, jitter=0.000, stability=0.000
-----------------------------------------------------------


So it seems it's not working... In fact, the initial difference of 16 secs
(<128) has widened to 36 secs in 4 days...

Any input will be welcome!

Thanks,

Javier 

------_=_NextPart_001_01C25298.BE79A528
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>NTP service</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hi all</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I would like to know whether there is =
something special when configuring a NTP server in a Juniper (M-10, =
5.0R1.4). This is what I configured:</FONT></P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">time-zone Europe/Lisbon;</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">ntp {</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; boot-server =
10.128.0.20;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; server =
10.128.0.20;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">}</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">-------------------------------------</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">The &quot;monitor traffic interface =
fe-0/0/0&quot; shows this (10.128.0.20 is the NTP server, inside =
customer's network):</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">15:25:48.737589 Out xx.yy.zzz.44.ntp =
&gt; 10.128.0.20.ntp:&nbsp; v3 client strat 0 poll 6 prec -20 [tos =
0x10] </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">15:25:48.745207&nbsp; In No-L2-hdr =
10.128.0.20.ntp &gt; xx.yy.zzz.44.ntp:&nbsp; v3 server strat 1 poll 6 =
prec -19</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">-----------------------------------</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">But this is the output for &quot;show =
ntp status&quot;:</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">status=3Dc011 sync_alarm, sync_unspec, =
1 event, event_restart,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">processor=3D&quot;i386&quot;, =
system=3D&quot;JUNOS5.0R1.4&quot;, leap=3D11, stratum=3D16,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">precision=3D-20, rootdelay=3D0.000, =
rootdispersion=3D6.105, peer=3D0,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">refid=3D0.0.0.0, =
reftime=3D00000000.00000000&nbsp; Thu, Feb&nbsp; 7 2036&nbsp; =
6:28:16.000,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">poll=3D6, =
clock=3Dc119f9e3.d22c343b&nbsp; Fri, Aug 30 2002 15:04:19.820, =
state=3D1,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">phase=3D0.000, frequency=3D0.000, =
jitter=3D0.000, stability=3D0.000</FONT>
<BR><FONT SIZE=3D2 =
FACE=3D"Arial">---------------------------------------------------------=
--</FONT>
</P>
<BR>

<P><FONT SIZE=3D2 FACE=3D"Arial">So it seems it's not working... In =
fact, the initial difference of 16 secs (&lt;128) has widened to 36 =
secs in 4 days...</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Any input will be welcome!</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Javier </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C25298.BE79A528--