no typo: cannot ping 127.0.0.1 ?

Andrew C. Esh (andrewes@cnt.com)
Fri, 6 Sep 1996 12:55:20 -0500


>>>>> "Herbert" == Herbert Rosmanith <herp@wildsau.idv.uni-linz.ac.at> writes:

Herbert> hi,

Herbert> this time, no typo. can anyone explain why I cannot even
Herbert> ping loopback ?

Herbert> ----------------------------------------------------------------------------
Herbert> bootes:/root # ifconfig lo Link encap:Local Loopback inet
Herbert> addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP
Herbert> BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX
Herbert> packets:297 errors:0 dropped:0 overruns:0 TX packets:297
Herbert> errors:0 dropped:0 overruns:0

Herbert> bootes:/root # route -n Kernel IP routing table
Herbert> Destination Gateway Genmask Flags Metric Ref Use Iface
Herbert> 127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 lo

Of course. You have no 127 *network* address. A host route still must
find a network to send the packets to. If you had a 127.0.0.0 net
route set, you'd be able to ping. The host route would be superfluous,
as well.

--
Andrew C. Esh			mailto:andrew_esh@cnt.com
Computer Network Technology	andrewes@mtn.org (finger for PGP key)
6500 Wedgwood Road		612.550.8000 (main)
Maple Grove MN 55311		612.550.8229 (direct)
http://www.cnt.com - CNT Inc. Home Page
http://www.mtn.org/~andrewes - ACE Home Page