免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 719 | 回复: 1
打印 上一主题 下一主题

关于在LINUX上PING的返回错误. [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-04-28 17:54 |只看该作者 |倒序浏览
在我一台LINUX机器上,我的ROUTE的输出如下:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.2.0     *               255.255.255.0   U     0      0        0 eth2
192.168.1.0     *               255.255.255.0   U     0      0        0 eth1
132.213.0.0     *               255.255.0.0     U     0      0        0 eth0
如上,我有三个网卡口,
fconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:E0:6C:40:15:C2
          inet addr:60.18.162.102  Bcast:60.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1604 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:96240 (93.9 kiB)  TX bytes:0 (0.0 iB)
          Interrupt:12 Base address:0xc000

# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:E0:6C:40:15:C1
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 iB)  TX bytes:0 (0.0 iB)
          Interrupt:10 Base address:0xe000

# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 00:E0:6C:40:15:C0
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:330594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:32568672 (31.0 MiB)  TX bytes:360 (360.0 iB)
          Interrupt:11
但是我的使用PING命令时,
ping 192.168.2.1
PING 192.168.2.1 (192.168.2.1): 56 data bytes
PING 192.168.2.1 (192.168.2.1): 56 data bytes
这是什么原因?

论坛徽章:
0
2 [报告]
发表于 2005-04-28 17:59 |只看该作者

关于在LINUX上PING的返回错误.

应该要做路由?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP