LinuxQuestions.org
Help answer threads with 0 replies.
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 01-02-2015, 02:56 AM   #1
Niguss
LQ Newbie
 
Registered: Dec 2014
Location: Jimma, Ethiopia
Posts: 14

Rep: Reputation: Disabled
my linux PC nan't ping other machines


Hello everybody,
My laptop which is linux operating system, can't ping any other machines even itself(127.0.0.1). But the network is fine in my local as well as global access. When I try to ping it displays unlimited massage looks like this

64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
............
............
So, if you have any idea what helps me to fix this problem, please share me as usual.

Last edited by Niguss; 01-02-2015 at 02:57 AM.
 
Old 01-02-2015, 03:15 AM   #2
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by Niguss View Post
My laptop which is linux operating system, can't ping any other machines even itself(127.0.0.1).
are you sure?

Code:
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
64 bytes from 10.140.11.118: icmp_seq=3 ttl=128 time=0.586 ms
............
............
That looks perfect, even though the response time could be a bit faster. But hey, the output above indicates that ping works fine. What's your problem?

[X] Doc CPU
 
Old 01-02-2015, 03:20 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Are you used to ping on Windows by any chance, Niguss?
Under Linux ping will just go on and on until you stop it unless you supply a count like this:
Code:
ping -c 4 10.140.11.118
You can find out other options for ping using:
Code:
man ping
 
Old 01-02-2015, 03:25 AM   #4
Niguss
LQ Newbie
 
Registered: Dec 2014
Location: Jimma, Ethiopia
Posts: 14

Original Poster
Rep: Reputation: Disabled
Thanks all!
 
Old 01-02-2015, 03:39 AM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
Ping looks fine but how he gets ICMP_Seq always 3?
 
Old 01-02-2015, 03:44 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by kirukan View Post
Ping looks fine but how he gets ICMP_Seq always 3?
Good point, that is a puzzler.
 
Old 01-02-2015, 07:11 AM   #7
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Hi there,

Quote:
Originally Posted by kirukan View Post
Ping looks fine but how he gets ICMP_Seq always 3?
probably just copied one line from the output and pasted it many times.
That would also account for the time always being the same, even down to the microsecond.

[X] Doc CPU
 
  


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
[SOLVED] RHEL Linux - Cannot ping from other machines Bhakti1982 Linux - Newbie 4 11-29-2011 11:14 AM
[SOLVED] RHEL Linux - Cannot ping from other machines Bhakti1982 Linux - Networking 12 11-28-2011 11:19 PM
Can't Ping Linux KVM from Other Machines on Host Subnet newmanium2001 Linux - Networking 5 05-19-2009 08:01 AM
Unable to ping linux machines on my netowrk molbill Linux - Networking 6 09-13-2004 12:35 AM
Linux machines cant ping server..Windows can. NetAX Linux - Networking 1 05-21-2004 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:33 AM.

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
Open Source Consulting | Domain Registration