Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

svcghost

macrumors member
Original poster
Jul 4, 2010
39
2
Hey guys,

Can you help me troubleshoot this issue I am having?
When I try and ping my MB Pro from my Windows PC I can't get any replies. But when I send pings from the MB Pro to my PC I DO get replies.

Also, I have an Apache web server set up on my MC Pro. I can't connect to the server from the Windows PC.

Thanks guys
 
No firewall settings are configured. Allowing all traffic. Any other ideas? By the way I just checked the Firewall settings in the System Preferences > network settings. Is there a way to check if additional or hidden firewall rules are set up?
 
I know you said that you don't have anything configured in Firewall, but double-check that you don't have "Stealth Mode" enabled (under your Firewall settings). It's the bottom check box (at least on 10.6).
 
Well the Firewall is off, but when I turned it on and checked advanced settings, it said stealth mode was on. So I turned it off, and then tried again, no luck. I turned the Firewall off and no luck.

Man what can this be.
 
Now that you've disabled stealth mode, try restarting your machine and see what happens.
 
Are you certain you're pinging the right address when you're pinging the MBP? Do both machines have the same subnet mask?

Both machines only need the same subnet mask if they're on the same network (which they probably are). Since the Windows machine can be pinged, I think it's safe to assume that the TCP/IP settings are correct.

The firewall (or something else) is blocking ICMP requests, or the MacBook's IP (the one being pinged) is not correct.
 
Last edited:
If your systems sit behind a router try pinging the IP of the router.
see what happens.

I had a weird one a few months ago. 2 laptops in the same house on the 'same' wireless network. One could ping but the other could not. Turned out one laptop was on next door's unsecured network! wich returned the ping but the other on the stealthy network did its job and did not.


prob not the same issue but you never know.
 
Last edited:
Both machines only need the same subnet mask if they're on the same network. Since the Windows machine can be pinged, I think it's safe to assume that the TCP/IP settings are correct.

The firewall (or something else) is blocking ICMP requests, or the MacBook's IP (the one being pinged) is not correct.

I think it would be possible for one machine to be ping-able, but not the other, with a configuration such as:

PC - IP: 192.168.1.1 Mask: 255.255.0.0
MBP - IP: 192.168.100.1 Mask: 255.255.255.0

With that subnet mask, the PC would see the Mac as being on the same network and would be able to ping it, but the MBP would not see the PC, thinking it's on a separate network.
 
IPs are correct. Subnet masks are the same. Still trying to figure this out. Remember it's the PC that can't ping the MBP. I CAN ping the PC from the MBP.
 
Anyone else have any idea why this may be happening? Is there a process running that blocks incoming connections or traffic? Anywhere I can go to seek help for this?
 
Have you tried running traceroute to see what hops it's taking to go from your mac to the pc (and vice-versa)? Also, can you ping the mac/pc from itself ?
 
Last edited:
Have you tried running traceroute to see what hops it's taking to go from your mac to the pc (and vice-versa)? Also, can you ping the mac/pc from itself ?

They are on the same network, there is no hop. They are aware of each other. My PC can ping PC2, but not Mac. My Mac can ping PC and PC2. This is very weird. There is definitely something on my Mac that is disallowing ping responses. I just don't know WHAT or WHY.
 
For some troubleshooting, you could try this command to see if the packets make it to the mac. In a terminal (on the mac) use this command:

tcpdump 'icmp[icmptype] = icmp-echo or icmp[icmptype] = icmp-echoreply'

Then try to ping the mac and look at the output of the tcpdump command. If it is truly blocking IMCP echo requests, you well see a bunch of echo requests, but no echo replies.

Also, another handy terminal command to make sure that the UI is no lying to you is:

ipfw list

If the firewall is truly disabled you will only see the default rule of allow everything.
 
Last edited:
Can't believe I didn't check this sooner..

I have Check Point VPN-1 SecureClient installed on my Mac to work from home. I thought I had this program turned off, but I guess some of its processes run in the background too. Anyway, all I had to do was disable the security policy that it enforces.

Sorry guys! Thanks for your feedback and help!

P.s. Thanks for those commands Scooby. Those would have definitely helped.
 
Hi,

I have the same problem. Can you show me how to disable the security policy? I use Cisco VPN Client 4.9.01. I can't figure it out where to go to completely disable the firewall on my Mac so I can ping from a PC.
Thanks.
 
What do you guys mean by ¨ping¨? i m really curious of what that do, many have being talking about in this thread but i have no idea what this is and what it does.:D
 
Hi,

I have the same problem. Can you show me how to disable the security policy? I use Cisco VPN Client 4.9.01. I can't figure it out where to go to completely disable the firewall on my Mac so I can ping from a PC.
Thanks.

I just spent 3 hours debugging the same f***ing problem. Here's an image on how to disable the stupid Security Policy (right click menu bar icon > Disable Security Policy):

Turn off security.png
 
What do you guys mean by ¨ping¨? i m really curious of what that do, many have being talking about in this thread but i have no idea what this is and what it does.:D
THE "Ping" is part of the protocol. One system sends a ping to another to find out if it is there, and lack of a response indicates that the other end is gone or busy. You also use ping to see how fast your connection is going.

Ping is part of TCP (transport control protocol)
 
THE "Ping" is part of the protocol. One system sends a ping to another to find out if it is there, and lack of a response indicates that the other end is gone or busy. You also use ping to see how fast your connection is going.

Ping is part of TCP (transport control protocol)

Old-Wiz, ping is part of ICMP, not TCP.
In my network, I had two Macs on the same wireless subnet, but on two different SSIDs, and one couldn't ping the other. I put them on the same SSID and now I can ping each other. I also made a couple other changes at the same time, so it might have been those fixes, but I doubt it.
(CORRECTION: it turns out the destination Mac was just sleeping.)
 
Last edited:
Hey guys,

Can you help me troubleshoot this issue I am having?
When I try and ping my MB Pro from my Windows PC I can't get any replies. But when I send pings from the MB Pro to my PC I DO get replies.

Also, I have an Apache web server set up on my MC Pro. I can't connect to the server from the Windows PC.

Thanks guys
hi bro,
i am facing same issue please suggest if you had resolved
 
thanks guys. I'm also facing the same problem, firewall is turned off but apparently checkpoint vpn is still there. After uninstalling checkpoint vpn completely I solved this problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.