我正在配置一个使用Samba的Linux系统出现在具有NetBIOS名称的Windows网络上。我注意到有时计算机会从计算机中消失 net view
在Windows机器上的结果,尽管仍然能够通过其名称ping该计算机,在资源管理器中通过其名称连接到它,并显示为 nbtstat -r
。
请注意,我试图找到“ABC123”。
> nbtstat -r
NetBIOS Names Resolution and Registration Statistics
----------------------------------------------------
Resolved By Broadcast = 99
Resolved By Name Server = 0
Registered By Broadcast = 1853
Registered By Name Server = 0
NetBIOS Names Resolved By Broadcast
---------------------------------------------
剁䡃噉⁅††††䥍䕎䱄乁卄††
ABC123 <00>
OTHER <00>
剁䡃噉⁅††††䥍䕎䱄乁卄†††
䥍䕎䱄乁卄†††佗䭒呓呁佉⁎††
佗䭒呓呁佉⁎††剁䡃噉⁅†††
OTHER <00>
剁䡃噉⁅††††
通过ping可见:
> ping abc123
Pinging abc123 [10.0.1.138] with 32 bytes of data:
Reply from 10.0.1.138: bytes=32 time=3ms TTL=64
Reply from 10.0.1.138: bytes=32 time=7ms TTL=64
但是无法看到 net view
:
> net view
Server Name Remark
-------------------------------------------------------------------------------
\\OTHER Samba server (4.8.3) on archive
\\THISCOMPUTER
The command completed successfully.
过了一会儿我会检查 net view
再次,ABC123将在列表中显示,无需干预。
为什么是这样?