标题: 主机ping不通127.0.0.1 [打印本页] 作者: 26320401 时间: 2008-12-29 18:48 标题: 主机ping不通127.0.0.1 主机为RP4440,系统为11vi。
现在主机ping不通127.0.0.1.但却可以ping通lan0 ,也可以ping通其他机器和网关。
查看/etc/hosts文件和/etc/rc.config.d/netconf文件,均正常。
但是netstat -rn 缺显示缺少了,一条到127.0.0.1的路由,但是还回口的路由也不允许我去添加。
请问各位有何良策?
以下是hosts文件,和netstat的结果。
host1:/#more /etc/hosts
## Configured using SAM by root on Wed Mar 29 17:36:57 2000
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
# <internet address> <official hostname> <aliases>
#
# For example:
# 192.1.2.34 hpfcrm loghost
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#
192.168.1.79 host1
127.0.0.1 localhost loopback
192.168.1.201 dhrac1.datahouse.cn dhrac1