1823920 Members
3089 Online
109667 Solutions
New Discussion юеВ

NTP packet size

 
SOLVED
Go to solution
cak015
Occasional Contributor

NTP packet size

What is the size of an NTP request packet and the size of an NTP response packet? I tried to look it up in the rfc1305 but it gave too many fields to nail it down.

Does anyone know?
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: NTP packet size

You can use tcpdump to capture the packets going to port 123 to verify the packet size.

tcpdump -nXlf port 123

You can use ethereal also. Check the packet header.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Bill Thorsteinson
Honored Contributor
Solution

Re: NTP packet size

I get a packet size of 90 to 97 bytes on my
network. Size may increase if you different
options.

Running ntpq gives me packets of various
sizes up to 474 bytes.

It looks like the minum packet size is 60
bytes, even if the internal data doesn't
require that much.

My current interval is 1024 seconds.
We send one packet and receive one packet
once each interval.

Overhead is far less than generated
by something like Microsoft file shares,
email clients etc.



Steven E. Protter
Exalted Contributor

Re: NTP packet size

Shalom,

I think it can vary based on your linux distribution and what ntp package you use. There are actually options out there, and you can compile it yourself.

General network configuration may be an issue.

I don't think there is a standard, but you may be able to find out at http://www.npt.org

Good luck, and post what you find out.

Please

Thank You.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com