目前我有一台linux,向mount到某台windows的共享目录。
1. 其他windows 可以访问该共享目录,并且提供共享的windows,防火墙已关闭
2. linux的iptables 已关闭,smb服务已启动。
运行命令smbclient进入调试,下面是打印信息:
[root@s7tdac01 sq16]# smbclient -d3 -Urbwill -L 10.1.54.194
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface eth1 ip=10.1.41.201 bcast=10.1.41.255 netmask=255.255.255.192
Client started (version 3.5.4-0.70.el5).
Enter rbwill's password:
Connecting to 10.1.54.194 at port 445
Connecting to 10.1.54.194 at port 139
Error connecting to 10.1.54.194 (No route to host)
Connection to 10.1.54.194 failed (Error NT_STATUS_HOST_UNREACHABLE)
linux的ifconfig信息,和共享的windows不在同一网段,但可以ping通 :
eth1 Link encap:Ethernet HWaddr 84:2B:2B:F1:0A:64
inet addr:10.1.41.201 Bcast:10.1.41.255 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:
4458262124 errors:0 dropped:0 overruns:0 frame:0
TX packets:3994666455 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1164200745465 (1.0 TiB) TX bytes:533580607788 (496.9 GiB)
Interrupt:106 Memory:f4000000-f4012800
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:598251936 errors:0 dropped:0 overruns:0 frame:0
TX packets:598251936 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:55990463353 (52.1 GiB) TX bytes:55990463353 (52.1 GiB)