当前位置: 技术问答>linux和unix
Linux 能够ping通,但是挂载不成功
来源: 互联网 发布时间:2016-11-16
本文导语: [root@FriendlyARM /]# ping 192.168.0.122 PING 192.168.0.122 (192.168.0.122): 56 data bytes ^C --- 192.168.0.122 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss [root@FriendlyARM /]# ifconfig eth0 Link encap:Ethernet ...
[root@FriendlyARM /]# ping 192.168.0.122
PING 192.168.0.122 (192.168.0.122): 56 data bytes
^C
--- 192.168.0.122 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
[root@FriendlyARM /]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:90:90:90:90:90
inet addr:192.168.0.230 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:441 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41791 (40.8 KiB) TX bytes:13601 (13.2 KiB)
Interrupt:51
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:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:345 (345.0 B) TX bytes:345 (345.0 B)
[root@FriendlyARM /]# ping 192.168.0.122
PING 192.168.0.122 (192.168.0.122): 56 data bytes
64 bytes from 192.168.0.122: seq=0 ttl=64 time=4.993 ms
64 bytes from 192.168.0.122: seq=1 ttl=64 time=1.156 ms
^C
--- 192.168.0.122 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 1.156/3.074/4.993 ms
[root@FriendlyARM /]# ./mn.sh
mount: RPC: Unable to receive; errno = No route to host
PING 192.168.0.122 (192.168.0.122): 56 data bytes
^C
--- 192.168.0.122 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
[root@FriendlyARM /]# ifconfig
eth0 Link encap:Ethernet HWaddr 08:90:90:90:90:90
inet addr:192.168.0.230 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:441 errors:0 dropped:0 overruns:0 frame:0
TX packets:220 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41791 (40.8 KiB) TX bytes:13601 (13.2 KiB)
Interrupt:51
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:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:345 (345.0 B) TX bytes:345 (345.0 B)
[root@FriendlyARM /]# ping 192.168.0.122
PING 192.168.0.122 (192.168.0.122): 56 data bytes
64 bytes from 192.168.0.122: seq=0 ttl=64 time=4.993 ms
64 bytes from 192.168.0.122: seq=1 ttl=64 time=1.156 ms
^C
--- 192.168.0.122 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 1.156/3.074/4.993 ms
[root@FriendlyARM /]# ./mn.sh
mount: RPC: Unable to receive; errno = No route to host
|
服务端exportfs时是否报错?
客户端是否启动了portmap?
客户端是否启动了portmap?
|
/etc/exports
写的对吗?
.
写的对吗?
.
|
防火前关闭。
然后看看权限
然后看看权限
|
两台机器的Hosts文件修改了没有?具体的记不大清楚了,我也是很久没有弄上,后来改了hosts文件就好了.
|
NFS没有配置好把
|
hen you keneng
|
我也感觉是防火墙没关
哈哈~~
哈哈~~