IP问题。

由 haod 在 10-01-2004 13:06 发表:

IP问题。

PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=2.69 ms

64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.438 ms

--- 192.168.0.1 ping statistics ---

2 packets transmitted, 2 received, 0% packet loss, time 1001ms

rtt min/avg/max/mdev = 0.438/1.564/2.690/1.126 ms

linux:/home/haod # ping 192.168.0.2

PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.

64 bytes from 192.168.0.2: icmp_seq=1 ttl=128 time=0.349 ms

64 bytes from 192.168.0.2: icmp_seq=2 ttl=128 time=0.448 ms

64 bytes from 192.168.0.2: icmp_seq=3 ttl=128 time=0.398 ms

--- 192.168.0.2 ping statistics ---

3 packets transmitted, 3 received, 0% packet loss, time 2000ms

rtt min/avg/max/mdev = 0.349/0.398/0.448/0.043 ms

linux:/home/haod # ping www.163.com

connect: Network is unreachable

linux:/home/haod #

为什么上不了,

connect: Network is unreachable什么意思,怎么解决?


由 hjlee 在 10-01-2004 13:35 发表:


上网了么?


JustDOIT


由 haod 在 10-01-2004 14:38 发表:


在windows下可以上网

在windows下是自动分得的ip,linux下是手动添加的。


由 scyzxp 在 10-01-2004 15:14 发表:


你好好的看一下你的IP和你的网关设对没有!!

你先PING一下外网的IP如果能PING通,再PING一下你的域名,如果能PING通就能上网!!


自由万岁!


由 lylzgq 在 10-01-2004 17:31 发表:


route 看下你的路由设置。要正确设置默认网关最出是出去的。

nslookup 看下你的dns .能不能解析。<br

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus