LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Pinging lo vs eth0, any difference? (https://www.linuxquestions.org/questions/linux-networking-3/pinging-lo-vs-eth0-any-difference-520620/)

lintnuts 01-18-2007 03:06 PM

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?

Samoth 01-18-2007 04:05 PM

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)

osor 01-18-2007 09:33 PM

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.


All times are GMT -5. The time now is 04:26 PM.