Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot ping lo0 (Cannot reach the destination network)

357 views
Skip to first unread message

Dennis Matzen

unread,
Feb 14, 2002, 6:26:13 PM2/14/02
to
When I try tp ping the loopback (or localhost or 127.0.0.1) I get the
following:

root@rmssrvr:/etc# ping localhost
PING loopback: (127.0.0.1): 56 data bytes
0821-069 ping: sendto: Cannot reach the destination network.
ping: wrote loopback 64 chars, ret=-1

Netstat -i shows traffic in and out of interface.
ifconfig shows interface UP.
netstat -r has entry for 127 --> loopback.
lsdev shows lo0 available

This is a live system so I did not want to try a ifconfig down then up
as there is traffic to and from the interface.

Any tricks other then a reboot?

News Reader

unread,
Feb 14, 2002, 9:04:21 PM2/14/02
to
Do the ifconfig -lo0 again and double check your netmask
and broadcast address's. It should look like this:

lo0: flags=a08080b<UP,BROADCAST,LOOPBACK,SIMPLEX,MULTICAST,GROUPRT>
inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

Also add an n to your netstat, netstat -rn and make sure it shows
127 127.0.0.1 U 11 501340 lo0 - -
and not
127 127.0.0.0 U 11 501340 lo0 - -

"Dennis Matzen" <den...@tibinc.com> wrote in message
news:3c6c45c0...@news.charter.net...

Dennis Matzen

unread,
Feb 15, 2002, 12:11:25 PM2/15/02
to
That all looks normal:

root@rmssrvr:/# ifconfig lo0
lo0: flags=808080b<UP,BROADCAST,LOOPBACK,SIMPLEX,MULTICAST>


inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255

Route Tree for Protocol Family 2:
127 127.0.0.1 UR 1 49120 lo0


BTW this is a 4.1.5 system.

News Reader

unread,
Feb 15, 2002, 8:00:32 PM2/15/02
to
My man page for netstat does not show and R in the flags descriptions,
so check your's and see what it says. Your probably on a more up to
date version than I'm on. That R may be a clue to the problem.

I see your currently showing 11 users for the route, so perhaps
something
is just locking out icmp to it, since it is obviously working.


"Dennis Matzen" <den...@tibinc.com> wrote in message

news:3c6d40ca....@news.charter.net...


> That all looks normal:
>
> root@rmssrvr:/# ifconfig lo0
> lo0: flags=808080b<UP,BROADCAST,LOOPBACK,SIMPLEX,MULTICAST>
> inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
>
> Route Tree for Protocol Family 2:
> 127 127.0.0.1 UR 1 49120 lo0
>
>
> BTW this is a 4.1.5 system.
>
> "News Reader" <NewsR...@nowhere1.con> wrote:
>
> >Do the ifconfig -lo0 again and double check your netmask
> >and broadcast address's. It should look like this:
> >
> >lo0: flags=a08080b<UP,BROADCAST,LOOPBACK,SIMPLEX,MULTICAST,GROUPRT>
> > inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
> >
> >Also add an n to your netstat, netstat -rn and make sure it shows
> >127 127.0.0.1 U 11 501340

0 - -
> >and not
> >127 127.0.0.0 U 11 501340

0 new messages