LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 06-25-2004, 03:10 PM   #1
amirbhai
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Rep: Reputation: 0
Cannot ping the linux box


Hello Everyone,

I setup a linux box as a server and all services are running on it. This linux server is setup in india and I access it here from europe. The problem is that people in india can access that machine and are able to ping it. But I cannot ping that machine from here. For sometime I am able to access it via SSH but then once I stop working on that machine via ssh using putty for about 2 minutes, then I cannot access it anymore nor can I ping it.

Note:

the hosts.allow has nothing in it, that means it has the default settings and same with hosts.deny.

The network card seems to be fine since everyone there in india is able to access that machine. Even my ISP says he is not blocking ICMP Packets.

Could someone suggest something.

Thanks
 
Old 06-25-2004, 03:19 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Welcome to LQ.

Try running a traceroute to the machine and see how far it gets:
traceroute ip.of.server.here
 
Old 06-25-2004, 03:21 PM   #3
blanks
Member
 
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
Quote:
The problem is that people in india can access that machine and are able to ping it. But I cannot ping that machine from here.
Sounds like a firewall along the way is blocking icmp messages.

Quote:
For sometime I am able to access it via SSH but then once I stop working on that machine via ssh using putty for about 2 minutes, then I cannot access it anymore nor can I ping it
Most likely a timeout on the server. It closed your session due to inactivity.
 
Old 06-25-2004, 04:07 PM   #4
amirbhai
LQ Newbie
 
Registered: Jun 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Did a traceroute and no problems detected. The machine was restarted and did a traceroute and it did reach the destination and I was able to ping it.

But again I just stopped working on it for about 5 minutes and I check back. It is gone.

Cant ping it anymore.
 
Old 06-25-2004, 05:43 PM   #5
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
This may seem redundant, but it's what came to my mind:

If others can access/ping the server, but you cannot, then how are you accessing the server? One idea - if you can get someone in India to set up a basic account for you, I think you should be able to ssh into their machine, and back out to your server.

If this works, it might even help you identify where the problem is. If you have the same trouble sshing into the first computer, then there is a problem between you and India. If not, it is likely your server (or client).

Just some inexperienced thoughts.

Good luck.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 11:48 AM
canīt ping my linux box by its name :( pavalosv Linux - Networking 3 01-14-2005 12:03 AM
can't ping linux box jammy3 Linux - Newbie 3 12-03-2004 12:33 PM
cant ping my linux box tommytomato Linux - Networking 56 05-18-2004 12:27 PM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 02:26 AM


All times are GMT -5. The time now is 08:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration