Networking Forums

Networking Forums > Computer Networking > Linux Networking > Ping doesn't work, browsing does

Reply
Thread Tools Display Modes

Ping doesn't work, browsing does

 
 
Chris
Guest
Posts: n/a

 
      09-23-2003, 09:53 PM
I have a problem with pinging. I have iptables setup to masquerade and
the input allows connectiongs that are related and established on eth0,
but when I ping www.google.com it comes back "Request timed out." But I
can acces www.google.com. Is there something that I need to add to my
iptables ruleset? I can ping my linuxbox from any computer on eth1. I am
on a university network. I can ping anything that has arizona.edu in the
domain name, nothing else. Thanks in advance.

 
Reply With Quote
 
 
 
 
Rich Fearn
Guest
Posts: n/a

 
      09-23-2003, 10:21 PM
> I have a problem with pinging. I have iptables setup to masquerade and
> the input allows connectiongs that are related and established on eth0,
> but when I ping www.google.com it comes back "Request timed out." But I
> can acces www.google.com. Is there something that I need to add to my
> iptables ruleset? I can ping my linuxbox from any computer on eth1. I am
> on a university network. I can ping anything that has arizona.edu in the
> domain name, nothing else. Thanks in advance.


Your university is probably blocking incoming ICMP traffic at its firewall.
(ICMP is the protocol that ping uses to check the presence of machines.)
Your outgoing ICMP messages are probably getting out of your firewall, but
the replies to your machine are blocked.

RF


 
Reply With Quote
 
Chris
Guest
Posts: n/a

 
      09-23-2003, 11:05 PM
Rich Fearn wrote:

> Your university is probably blocking incoming ICMP traffic at its firewall.
> (ICMP is the protocol that ping uses to check the presence of machines.)
> Your outgoing ICMP messages are probably getting out of your firewall, but
> the replies to your machine are blocked.
>
> RF
>
>

That makes sense, well thank you for your quick reply.

 
Reply With Quote
 
Eric Gibson
Guest
Posts: n/a

 
      09-25-2003, 08:43 PM

"Chris" <(E-Mail Removed)> wrote in message
news:bkqf75$1bd$(E-Mail Removed)...
> I have a problem with pinging. I have iptables setup to masquerade and
> the input allows connectiongs that are related and established on eth0,
> but when I ping www.google.com it comes back "Request timed out." But I
> can acces www.google.com. Is there something that I need to add to my
> iptables ruleset? I can ping my linuxbox from any computer on eth1. I am
> on a university network. I can ping anything that has arizona.edu in the
> domain name, nothing else. Thanks in advance.
>



No, I used to try to ping google.com to test because it was the first thing
that came to mind, but quickly figured out www.google.com block pings on
thier end. Probably because of getting ICMP ddos'd out the ying yang.

Eric


 
Reply With Quote
 
Bit Twister
Guest
Posts: n/a

 
      09-25-2003, 08:47 PM
On Thu, 25 Sep 2003 16:43:45 -0400, Eric Gibson wrote:
>
> No, I used to try to ping google.com to test because it was the first thing
> that came to mind, but quickly figured out www.google.com block pings on
> thier end.


Take that calculator in for repair, if figured wrong

ping -c 1 yahoo.com
PING yahoo.com (66.218.71.198) 56(84) bytes of data.
64 bytes from w1.rc.vip.scd.yahoo.com (66.218.71.198):
icmp_seq=1 ttl=240 time=49.8 ms

--- yahoo.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 49.849/49.849/49.849/0.000 ms
 
Reply With Quote
 
Eric
Guest
Posts: n/a

 
      09-26-2003, 01:54 PM
Bit Twister <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> On Thu, 25 Sep 2003 16:43:45 -0400, Eric Gibson wrote:
>>
>> No, I used to try to ping google.com to test because it was the first
>> thing that came to mind, but quickly figured out www.google.com block
>> pings on thier end.

>
> Take that calculator in for repair, if figured wrong
>
> ping -c 1 yahoo.com
> PING yahoo.com (66.218.71.198) 56(84) bytes of data.
> 64 bytes from w1.rc.vip.scd.yahoo.com (66.218.71.198):
> icmp_seq=1 ttl=240
> time=49.8 ms


That's yahoo.com, not google.com. But anyway I just tried to ping
google.com and it appears to be working now. I swear it never used to
work! ;-)

I noticed when pinging it that google.com is now resolving as
www.google.akadns.net. They are using Akamai now? I've never seen that,
of course it was like a year ago that I determined this, everything could
have changed.

Eric

>
> --- yahoo.com ping statistics ---
> 1 packets transmitted, 1 received, 0% packet loss, time 0ms
> rtt min/avg/max/mdev = 49.849/49.849/49.849/0.000 ms
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting 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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ping from C/C++ doesn't work properly using either System() or popen() Neel Linux Networking 8 02-20-2006 09:34 PM
"Ping" doesn't work properly Neel Linux Networking 1 02-14-2006 06:29 PM
"Ping" doesn't work properly Neel Linux Networking 4 02-14-2006 06:25 PM
ping works and then doesn't work d28 Wireless Internet 4 03-27-2005 02:39 AM
Peer to peer network with two machines, ping doesn't work linuxquestion@yahoo.com Linux Networking 11 02-02-2004 05:51 AM



1 2 3 4 5 6 7 8 9 10 11