局域网内win7的机器无法通过机器名访问其他机器

本文介绍了一台安装Win7系统的计算机无法通过机器名称访问局域网内其他设备的问题,详细解释了NetBIOS NodeType配置错误导致的问题,并提供了解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一台装了win7的机器,原本可以通过机器名访问局域网内的其他机器,后来突然不能通过机器名访问,仅能通过IP访问。

排除防火墙设定,NetBIOS使能问题后,发现导致该问题产生的原因是NetBIOS的Node Type不对。使用ipconfig/all命令检查网络设定,出现问题的机器,其NodeType为Peer-Peer(对等),而正常的机器NodeType为Hybrid。

NetBIOS是将NetBIOS名字解析为IP的协议。NetBIOS的NodeType决定了具体的解析方法。

[list]
[*]B-node (broadcast): it uses broadcasts for name resolution and registration. In a large network, a broadcast increases the network’s load. In addition, routers usually stop all broadcasts to forward, so only computers within the local network will respond. 即仅通过广播的方式解析。

[*]P-node (peer-to-peer): it uses a NetBIOS name server such as WINS to resolve NetBIOS names. P-node does not work with broadcasts because it directly queries the name server, enabling computers to resolve NetBIOS names across routers. P-node requires all computers to be configured with the NetBIOS name server IP address. If the NetBIOS name server is not functioning, computers will not be able to communicate. 即仅通过NetBIOS服务器(如WINS)的方式解析。

[*]M-node (mixed): combines B-node and P-node, but functions as B-node by default. If M-node cannot resolve name using broadcast, then it uses the NetBIOS name server P-node. 即先广播,再使用NetBIOS服务器的方式解析。

[*]H-node (hybrid): combines P-node and B-node, but functions as P-node by default. If H-node cannot resolve a name with a NetBIOS name server, then a name broadcast is used. 即先使用NetBIOS服务器,再广播的方式解析。
[/list]

由于没有NetBIOS服务器,当使用Peer-Peer时,解析就会失败。

处理方法:
[*]Click Start, click Run, type regedit, and then click OK.

[*]Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\NetBt\Parameters


[*]In the right pane of Registry Editor, delete the following values if they are present:

NodeType
DhcpNodeType


[*]Quit Registry Editor.

[*]Restart the computer.

参考[url]http://support.microsoft.com/kb/903267/en-us[/url]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值