solve cannot ping myself problem
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
15b914a883
commit
9e2f5b4aca
1 changed files with 20 additions and 0 deletions
20
blog/linux-cannot-ping-self.mdwn
Normal file
20
blog/linux-cannot-ping-self.mdwn
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[[!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]]
|
Loading…
Reference in a new issue