LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-18-2007, 03:06 PM   #1
lintnuts
LQ Newbie
 
Registered: Jan 2007
Distribution: Gentoo
Posts: 8

Rep: Reputation: 0
Pinging lo vs eth0, any difference?


Is there any difference between pinging my own machine's lo (127.0.0.1) vs the eth0 address?
 
Old 01-18-2007, 04:05 PM   #2
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
Yes, much. 127.0.0.1 will ALWAYS work regardless of whether your networking is working or not. Pinging eth0 doesn't always tell you whether it is working, as some thing think "if you are pinging eth0 of 192.168.1.10 and I am 192.168.1.10 then it will be quicker to do 127.0.0.1, and so don't test your network connectivity". A better test would be to ping a router or something else on your network(assuming your goal is to see ifyour networking is working)
 
Old 01-18-2007, 09:33 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Depending on what version of ping you are using, you may also be able to change the source of the ping, which is helpful in other ways.
 
  


Reply



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
eth0 is up but not pinging to any machine devilzgaze Linux - Networking 1 03-09-2005 05:48 AM
pinging delos Linux - Networking 6 07-02-2004 09:14 AM
pinging problem yenush Linux - Networking 1 06-07-2004 07:20 AM
Pinging?? Sherpa Linux - General 3 05-13-2004 07:23 AM
Pinging Problem...please help :) warlord07 Linux - Newbie 3 09-19-2003 10:23 PM

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

All times are GMT -5. The time now is 03:29 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
Open Source Consulting | Domain Registration