Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-02-2015, 02:56 AM
|
#1
|
LQ Newbie
Registered: Dec 2014
Location: Jimma, Ethiopia
Posts: 14
Rep:
|
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.
|
|
|
01-02-2015, 03:15 AM
|
#2
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by Niguss
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
|
|
|
01-02-2015, 03:20 AM
|
#3
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
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:
|
|
|
01-02-2015, 03:25 AM
|
#4
|
LQ Newbie
Registered: Dec 2014
Location: Jimma, Ethiopia
Posts: 14
Original Poster
Rep:
|
Thanks all!
|
|
|
01-02-2015, 03:39 AM
|
#5
|
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278
Rep:
|
Ping looks fine but how he gets ICMP_Seq always 3?
|
|
|
01-02-2015, 03:44 AM
|
#6
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by kirukan
Ping looks fine but how he gets ICMP_Seq always 3?
|
Good point, that is a puzzler.
|
|
|
01-02-2015, 07:11 AM
|
#7
|
Senior Member
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099
|
Hi there,
Quote:
Originally Posted by kirukan
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
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|