tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fwd: 10-BETA : some network issues



Michael van Elst a écrit :
> On Sun, Jan 01, 2023 at 03:14:07PM +0100, BERTRAND Joël wrote:
> 
>> 	ntp configuration runs fine with -9 kernel.
> 
>> 	My /etc/ntp.conf file contains :
>>
>> pidfile     /var/run/ntpd.pid
>> driftfile   /var/db/ntp.drift
>> logconfig   -syncstatus
>> tos     minsane 1
>> mdnstries   0
>> server      192.168.1.1
>> server      0.pool.ntp.org
>> server      1.pool.ntp.org
>> server      2.pool.ntp.org
>> server      3.pool.ntp.org
> 
> This works with netbsd-10 or -current (but should be restricted).

	Sorry, I have forgotten last line of /etc/ntp.conf:

restrict 192.168.0.0 mask 255.255.0.0

	I have notice a minor issue. To show traffic activity, I have to check
UDP/123 on wm3 and wm4 as lagg0 doesn't show all packets. Example:

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on lagg0, link-type EN10MB (Ethernet), capture size 262144 bytes
16:17:13.878124 IP hilbert.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, Client, length 48
16:17:16.382493 IP fermat.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, symmetric active, length 48
16:17:40.850009 IP pythagore.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, Client, length 48

legendre# tcpdump -i wm3 -p port 123
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wm3, link-type EN10MB (Ethernet), capture size 262144 bytes
16:16:25.208485 IP hilbert.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, Client, length 48
16:17:13.878122 IP hilbert.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, Client, length 48
16:17:16.382490 IP fermat.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, symmetric active, length 48
16:17:16.382594 IP legendre.systella.fr.ntp > fermat.systella.fr.ntp:
NTPv4, symmetric passive, length 48
16:17:40.850244 IP legendre.systella.fr.ntp > pythagore.systella.fr.ntp:
NTPv4, Server, length 48

legendre# tcpdump -i wm4 -p port 123
...
16:16:25.208560 IP legendre.systella.fr.ntp > hilbert.systella.fr.ntp:
NTPv4, Server, length 48
16:16:43.517461 IP 192.168.10.253.49048 > legendre.systella.fr.ntp:
NTPv3, Client, length 48
16:16:43.517590 IP legendre.systella.fr.ntp > 192.168.10.253.49048:
NTPv3, Server, length 48
16:16:51.986549 IP schwarz.systella.fr.ntp > legendre.systella.fr.ntp:
NTPv4, Client, length 48

tcpdump -i lagg0 seems to only print incoming packets.

	Regards,

	JB


Home | Main Index | Thread Index | Old Index