www.nico.schottelius.org/blog/linux-cannot-ping-self.mdwn
Nico Schottelius 9e2f5b4aca solve cannot ping myself problem
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-25 19:30:56 +02:00

20 lines
720 B
Markdown

[[!meta title="Linux cannot ping itself, but others can ping the box"]]
This is just a small reminder for me and everybody else who gets
fooled like me:
If the loopback device (lo) is not up, you cannot ping localhost!
This is true for all local addresses, even though they are not
on the loopback interface! It's kind of confusing, because everybody
else can ping the box, only Linux cannot ping (or reach anyhow) localhost.
So the quick solution is
ip link set lo up
This problem has been solved and described on other sites as well,
but if this one helps you not to spend three hours debugging your
nfs setup, it's worth populating the net with yet another article
regarding this problem.
[[!tag unix]]