+ -
当前位置:首页 → 问答吧 → 局域网错误“network unreachable”是 怎么 回事

局域网错误“network unreachable”是 怎么 回事

时间:2006-03-08

来源:互联网

我是家庭用的 。
一台是WINXP,一台是SLACKWARE ,
两台的IP地址设置分别为 1.1.1.1和 1.1.1.2
网关都设为1.1.1.254,屏蔽设为255.255.255.0,

现在我将WINXP改装为FTP服务器, 然后用SLACKWARE去访问,提示网络不能到达。请问该如何解决。

PS:我以前两台都用WINXP 作OS的时候,工作良好。现在一个换作SLACKWARE就不行了,难道原因是虚设的 网关不行么??

作者: linuxtester1   发布时间: 2006-03-08

ifconfig的结果

ping localhost的结果

ping 1.1.1.1的结果

作者: laxi1982   发布时间: 2006-03-08

root@wx:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2F:CC:01B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16785 errors:0 dropped:0 overruns:0 frame:0
TX packets:12039 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20173938 (19.2 Mb) TX bytes:1052709 (1.0 Mb)
Interrupt:5 Base address:0xd400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:120 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9904 (9.6 Kb) TX bytes:9904 (9.6 Kb)

root@wx:~# ping 1.1.1.1
connect: Network is unreachable


root@wx:~# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.033 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.023 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.025 ms
...

(奇怪了 ,我用netconfig设置的IP地址怎么看不到呢?)

作者: linuxtester1   发布时间: 2006-03-09

热门下载

更多