论坛风格切换切换到宽版
  • 979阅读
  • 5回复

[问题求助]Ping the gateway failed.Why [复制链接]

上一主题 下一主题
离线dwenhcil.
 
发帖
2054
C币
-132295
威望
381
贡献值
1
银元
-4
铜钱
4658
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
The DHCP can do its. work,It i.s the result:.
Interface    .            .: eth0--- 印刷

Type   .            .        : Ethernet          婚庆

IP Address .          .  : 192.168.0.12             电子

Broadcase Address: 192.168...0.255          婚庆

Subnet Mas..k          : 255.255.255.0.

hardware Addre.ss : 00:03:0D:32:8A:.14           建材
复制代码
$ping 192.168..0.12.
.... #The r.esult is ok[成人用品]
.....

#arp -n
Address              HwType          Hwadd..ress            . Flags       Iface.

192.168.0.1..        ether              00:18:8B:C6:68     C             eth0电影
复制代码

$pin.g 192.168.0.1             汽车
host un.reachable .
host unreachab.le.

Whay??
Syst.em :SUSE 10.0电脑
======================================================.=======.===============.===教育
PS: .The .computer CAN ACCESS the internet in the MS-windows.           建材

[ 本帖最后由 fo.lklore 于 2007-11-23 22:0.5 编辑 ]健康

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线ppcynt.
发帖
1965
C币
-61033
威望
340
贡献值
1
银元
-4
铜钱
4335
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
Re:Ping
贴 route -n 的结果

离线woofwoof.
发帖
2259
C币
-235050
威望
413
贡献值
1
银元
-2
铜钱
5026
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
Re:Ping
先检查线路。

离线cnyunxi.
发帖
2005
C币
-199214
威望
392
贡献值
1
银元
-3
铜钱
4545
人人网人气币
0
只看该作者 地板  发表于: 2010-04-13
Re:Ping


QUOTE:原帖由 platinum 于 2007-11-23 22:12 发表
贴 route -n 的结果

#route -n
Kernel IP routing table

Destination      Gateway          Genmask           Flags Metric Ref    Use Iface

192.168.0.0     0.0.0.0             255.255.255.0   U       0      0         0 eth0

169.254.0.0     0.0.0.0             255.255.0.0       U       0      0         0 eth0

127.0.0.0         0.0.0.0             255.0.0.0           U       0      0         0 lo

0.0.0.0             192.168.0.1     0.0.0.0              UG      0      0         0 eth0
复制代码
There will be some problem all of the table record:

0.0.0.0             192.168.0.1     0.0.0.0              UG      0      0         0 eth0

The right one may seem like this:
192.168.0.12    192.168.0.1    255.255.255.0   c        0      0         0 eth0
??
BUT:
the command [big]ping 192.168.0.12[/big] would execute successful.
Why????

There are some problem at rout table??And I don't know how to set it to the right way.
I can't type chanese because I am work in the japanese system.I saiy sorry for it.And my English is so poorful.but I hope          
you can understand me.

Thanks a lot.



QUOTE:原帖由 ssffzz1 于 2007-11-24 09:07 发表
先检查线路。

The are no problem at physical connection line.It is the result to run the command in WINDOWS:
route print
===========================================================================

Interface List

0x1 ........................... MS TCP Loopback interface

0x2 ...00 03 0d 32 8a 14 ...... SiS 900-Based PCI Fast Ethernet Adapter - パケット スケジューラ ミニポート

===========================================================================

===========================================================================

Active Routes:

Network Destination        Netmask          Gateway       Interface  Metric

          0.0.0.0          0.0.0.0      192.168.0.1    192.168.0.12          20

        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1          1

      192.168.0.0    255.255.255.0     192.168.0.12    192.168.0.12          20

     192.168.0.12  255.255.255.255        127.0.0.1       127.0.0.1          20

    192.168.0.255  255.255.255.255     192.168.0.12    192.168.0.12          20

        224.0.0.0        240.0.0.0     192.168.0.12    192.168.0.12          20

  255.255.255.255  255.255.255.255     192.168.0.12    192.168.0.12          1

Default Gateway:       192.168.0.1

===========================================================================

Persistent Routes:

  None
复制代码

发帖
2023
C币
-139429
威望
378
贡献值
1
银元
0
铜钱
4500
人人网人气币
0
只看该作者 4楼 发表于: 2010-04-13
Re:Ping


icmp 给禁掉了?

发帖
1974
C币
-235276
威望
382
贡献值
1
银元
-4
铜钱
4564
人人网人气币
0
只看该作者 5楼 发表于: 2010-04-13
Re:Ping
也许问题出在网关上,检查网关的路由表
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个