Why are you using -i0 ? That is likely to result in temporary unix domain queuing overflows or interface queue drops. And there is no point using ping to test for packet problems if you don't tell it to send larger packets. Do something like this:
Use -i 0.05 -s 1200 -c 1000 destination -Matt Matthew Dillon <[EMAIL PROTECTED]> :This is with net.inet.icmp.icmplim and net.inet.icmp.icmplim_output :both set to zero, and with only lo0 interface ``up''. (Yes I know :that -i should not allow 0, even for root.) : :The sendto(2) call in ping.c:pinger() always succeeds, yet :``netstat -s -p icmp'' shows the same delta as ping(8)? : :allmouth# netstat -z -s -p icmp > /dev/null :allmouth# netstat -s -p icmp > 1 :allmouth# ping -i0 -c1000 localhost | tail -3 :--- localhost ping statistics --- :1000 packets transmitted, 217 packets received, 78% packet loss :round-trip min/avg/max/stddev =3D 0.063/6.769/30.353/12.241 ms :allmouth# netstat -s -p icmp > 2 :allmouth# diff 1 2 :3a4,5 :> Output histogram: :> echo reply: 217 :10c12,15 :< 0 message responses generated :--- :> Input histogram: :> echo reply: 217 :> echo: 217 :> 217 message responses generated : : :Cheers, :--=20 :Ruslan Ermilov Sysadmin and DBA, :[EMAIL PROTECTED] Sunbay Software AG, :[EMAIL PROTECTED] FreeBSD committer, :+380.652.512.251 Simferopol, Ukraine : :http://www.FreeBSD.org The Power To Serve :http://www.oracle.com Enabling The Information Age : :--17pEHd4RhPHOinZp :Content-Type: application/pgp-signature :Content-Disposition: inline : :-----BEGIN PGP SIGNATURE----- :Version: GnuPG v1.2.1 (FreeBSD) : :iD8DBQE+CJ9YUkv4P6juNwoRAu8iAJ0VtKCP5nMsBGI5srtbIHyjTw5H4gCfWVlO :s1mh+kZbfPDH9+/yv2pm4lo= :=9h/Y :-----END PGP SIGNATURE----- : :--17pEHd4RhPHOinZp-- : To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message