[ntp:questions] one nic dropped and two others removed
MAYER Hans
mayer at iiasa.ac.at
Thu Apr 16 20:59:04 UTC 2015
dear all,
maybe i misunderstand this command. if i drop one interface all others disappear.
is this what it should do ? ( see below )
my environment: sun sparc solaris 10 with ntp version 4.2.8p2
my sparc server has 4 nic's. 3 of them are cabled, plumbed and up. no virtual interface.
kind regards
hans
--
# ntp is listening on all interfaces here
mh3:root> lsof -n -iUDP | grep ntp
ntpd 2741 root 20u IPv6 0x30009da2dc0 0t0 UDP *:ntp
ntpd 2741 root 21u IPv4 0x30004b2cb40 0t0 UDP *:ntp
ntpd 2741 root 22u IPv6 0x30009da29c0 0t0 UDP [::1]:ntp
ntpd 2741 root 23u IPv4 0x30009da25c0 0t0 UDP 127.0.0.1:ntp
ntpd 2741 root 24u IPv4 0x30009da2fc0 0t0 UDP 172.20.241.10:ntp
ntpd 2741 root 25u IPv4 0x30004b2d540 0t0 UDP 192.168.241.10:ntp
ntpd 2741 root 26u IPv4 0x30009da3bc0 0t0 UDP 188.21.75.154:ntp
mh3:root> ntpq
ntpq> ifstats
Keyid: 7
MD5 Password:
interface name send
# address/broadcast drop flag ttl mc received sent failed peers uptime
==============================================================================
0 v6wildcard D 81 0 0 0 0 0 0 50673
[::]:123
1 v4wildcard D 89 0 0 0 0 0 0 50673
0.0.0.0:123
2 lo0 . 15 0 0 0 0 0 0 50673
[::1]:123
3 lo0 . 15 0 0 9 15 0 0 50673
127.0.0.1:123
4 bge0 . 19 0 0 14 14 0 0 50673
172.20.241.10:123
5 bge1 . 19 0 0 1219 1219 0 2 50673
192.168.241.10:123
6 bge2 . 19 0 0 1032 1053 0 4 50673
178.21.75.154:123
ntpq> :config interface drop 172.20.241.10/32
Config Succeeded
ntpq> ifstats
interface name send
# address/broadcast drop flag ttl mc received sent failed peers uptime
==============================================================================
0 v6wildcard D 81 0 0 0 0 0 0 50870
[::]:123
1 v4wildcard D 89 0 0 0 0 0 0 50870
0.0.0.0:123
2 lo0 . 15 0 0 0 0 0 0 50870
[::1]:123
3 lo0 . 15 0 0 11 20 0 0 50870
127.0.0.1:123
4 bge0 D 19 0 0 14 14 0 0 50870
172.20.241.10:123
ntpq> ^D
# ntp is listening only at the dropped nic
mh3:root> lsof -n -iUDP | grep ntp
ntpd 2741 root 20u IPv6 0x30009da2dc0 0t0 UDP *:ntp
ntpd 2741 root 21u IPv4 0x30004b2cb40 0t0 UDP *:ntp
ntpd 2741 root 22u IPv6 0x30009da29c0 0t0 UDP [::1]:ntp
ntpd 2741 root 23u IPv4 0x30009da25c0 0t0 UDP 127.0.0.1:ntp
ntpd 2741 root 24u IPv4 0x30009da2fc0 0t0 UDP 172.20.241.10:ntp
mh3:root> ntpq -c ver
ntpq 4.2.8p2 at 1.3265-o Sun Apr 12 15:35:59 UTC 2015 (1)
--
Ing. Dipl.-Ing. Hans Mayer
Systems Administrator
Information and Communication Technologies (ICT)
International Institute for Applied Systems Analysis (IIASA)
Schlossplatz 1
A-2361 Laxenburg, Austria
Phone: +43 2236 807 Ext 215
Mobile: +43 676 83 807 215
Web: http://www.iiasa.ac.at
More information about the questions
mailing list