Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Potential OS X tcp/ip problem

Potential OS X tcp/ip problem
Thread Tools
Grizzled Veteran
Join Date: Nov 2000
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Apr 4, 2003, 03:56 PM
 
At the University here we have noticed a peculiarity with OS X dropping pings on a regular and repeatable basis. I've tested this on two different machines running 10.2.4 on two very different networks. One is using airport and the other a physical ethernet connection. To make this brief OS X is always dropping the 101st packet on extended ping sessions.

To test this, use this command:

Code:
ping -c 1000 your.ip
You will need to run this from another machine. After it finishes post the bottom line:

1008 packets transmitted, 1000 packets received

To anyone who has greater knowledge of OS X's network stack, is there any reason why it would be dropping ping packets like this? Does the OS deny priority to ping packets after a certain number?

thanks,
-matt
     
Senior User
Join Date: Feb 2003
Location: Atlanta
Status: Offline
Reply With Quote
Apr 4, 2003, 04:21 PM
 
It doesn't drop any for me (at least locally, using 127.0.0.1), but why in the world would you need to ping someone 1000 times?
     
Grizzled Veteran
Join Date: Nov 2000
Location: Seattle, WA, USA
Status: Offline
Reply With Quote
Apr 4, 2003, 06:16 PM
 
Originally posted by coolmacdude:
It doesn't drop any for me (at least locally, using 127.0.0.1), but why in the world would you need to ping someone 1000 times?
The problem won't appear of the loopback interface (127.0.0.1). You usually don't need to ping something 1000 times, the point is the OS is dropping packets in a repeatable and predictable pattern. If it is only ICMP ping traffic that is fine, but if it is dropping packets from all traffic on a regular basis that is bad and needs to be fixed.

-matt
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Apr 5, 2003, 05:45 AM
 
Did this
No packets dropped
And it was across the Internet, too
[vash:~] banana% killall killall
Terminated
     
Dedicated MacNNer
Join Date: Dec 2001
Location: Promised Land
Status: Offline
Reply With Quote
Apr 5, 2003, 11:29 PM
 
Ummm, ICMP does not run over TCP, or UDP. It is built directly on top of the IP stack. It's technically not part of IP, but most people think of that way.

So the problem is not in TCP, and I doubt very much it's with IP either. I would say with 99% certaintity that the problem lies in your network config..
G5 2.5 DP/2GB RAM/NVidia 6800 Ultra
PowerBook Al 1Ghz/768MB RAM
6gb Blue iPod Mini
     
Senior User
Join Date: Dec 2001
Status: Offline
Reply With Quote
Apr 6, 2003, 12:04 AM
 
I thought this was going to be about that new TCP/IP Evil Bit feature.
"Think Different. Like The Rest Of Us."

iBook G4/1.2GHz | 1.25GB | 60GB | Mac OS X 10.4.2
Athlon XP 2500+/1.83GHz | 1GB PC3200 | 120GB | Windows XP
     
Junior Member
Join Date: Mar 2003
Status: Offline
Reply With Quote
Apr 6, 2003, 01:02 AM
 
if you ping to 127.0.0.1 or your own ip from your own machine, you are doing nothing, the packet never reach the network card it goes directly to the loopback driver wich its loaded on memory.

Try to trace the route of the pings i mean:

From other machine

traceroute <your_mac_ip>

note: if the other machine its a windows pc from the dos prompt use "tracert" instead of "traceroute"

to check if there its a router or something loosing the pings, or try a crossover cable between 2 machines (no hub, no switch just the 2 machines) and ping from one to the other, it still looses packets ?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:16 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2