Direct hosting of SMB over TCP/IP
2013-07-26 11:05
253 查看
http://support.microsoft.com/kb/204279
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows 7 Solution Center This article was previously published under Q204279 Expand all | Collapse all
Windows supports file and printer sharing traffic by using the Server Message Block (SMB) protocol directly hosted on TCP. This differs from earlier operating systems, in which SMB traffic requires the NetBIOS over TCP (NBT) protocol to work on a TCP/IP transport. Removing the NetBIOS transport has several advantages, including: Simplifying the transport of SMB traffic. Removing WINS and NetBIOS broadcast as a means of name resolution. Standardizing name resolution on DNS for file and printer sharing.
If both the direct hosted and NBT interfaces are enabled, both methods are tried at the same time and the first to respond is used. This allows Windows to function properly with operating systems that do not support direct hosting of SMB traffic.
NetBIOS over TCP traditionally uses the following ports:
Direct hosted "NetBIOS-less" SMB traffic uses port 445 (TCP and UDP). In this situation, a four-byte header precedes the SMB traffic. The first byte of this header is always 0x00, and the next three bytes are the length of the remaining data.
Use the following steps to disable NetBIOS over TCP/IP; this procedure forces all SMB traffic to be direct hosted. Take care in implementing this setting because it causes the Windows-based computer to be unable to communicate with earlier operating systems using SMB traffic:
Click Start, point to Settings, and then click Network and Dial-up Connection.
Right-click Local Area Connection, and then click Properties.
Click Internet Protocol (TCP/IP), and then click Properties.
Click Advanced.
Click the WINS tab, and then click Disable NetBIOS over TCP/IP.
You can also disable NetBIOS over TCP/IP by using a DHCP server with Microsoft vendor-specific option code 1, ("Disable NetBIOS over TCP/IP"). Setting this option to a value of 2 disables NBT. For more information about using this method, refer to the DHCP Server Help file in Windows.
To determine if NetBIOS over TCP/IP is enabled on a Windows-based computer, issue a net config redirector or net config servercommand at a command prompt. The output shows bindings for the NetbiosSmb device (which is the "NetBIOS-less" transport) and for the NetBT_Tcpip device (which is the NetBIOS over TCP transport). For example, the following sample output shows both the direct hosted and the NBT transport bound to the adapter:
NetBT_Tcpip is bound to each adapter individually; an instance of NetBT_Tcpip is shown for each network adapter that it is bound to. NetbiosSmb is a global device, and is not bound on a per-adapter basis. This means that direct-hosted SMB's cannot be disabled in Windows without disabling File and Printer Sharing for Microsoft Networks completely.
Article ID: 204279 - Last Review: October 11, 2007 - Revision: 4.4
APPLIES TO
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional Edition
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Microsoft Windows XP Professional x64 Edition
Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
Microsoft Windows Server 2003, Standard Edition (32-bit x86)
Microsoft Windows XP 64-Bit Edition Version 2003
Keywords:
kbinfo kbenv kbnetwork KB204279
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you. Visit the Windows 7 Solution Center This article was previously published under Q204279 Expand all | Collapse all
SUMMARY
Windows supports file and printer sharing traffic by using the Server Message Block (SMB) protocol directly hosted on TCP. This differs from earlier operating systems, in which SMB traffic requires the NetBIOS over TCP (NBT) protocol to work on a TCP/IP transport. Removing the NetBIOS transport has several advantages, including: Simplifying the transport of SMB traffic. Removing WINS and NetBIOS broadcast as a means of name resolution. Standardizing name resolution on DNS for file and printer sharing.If both the direct hosted and NBT interfaces are enabled, both methods are tried at the same time and the first to respond is used. This allows Windows to function properly with operating systems that do not support direct hosting of SMB traffic.
MORE INFORMATION
NetBIOS over TCP traditionally uses the following ports: nbname 137/UDP nbname 137/TCP nbdatagram 138/UDP nbsession 139/TCP
Direct hosted "NetBIOS-less" SMB traffic uses port 445 (TCP and UDP). In this situation, a four-byte header precedes the SMB traffic. The first byte of this header is always 0x00, and the next three bytes are the length of the remaining data.
Use the following steps to disable NetBIOS over TCP/IP; this procedure forces all SMB traffic to be direct hosted. Take care in implementing this setting because it causes the Windows-based computer to be unable to communicate with earlier operating systems using SMB traffic:
Click Start, point to Settings, and then click Network and Dial-up Connection.
Right-click Local Area Connection, and then click Properties.
Click Internet Protocol (TCP/IP), and then click Properties.
Click Advanced.
Click the WINS tab, and then click Disable NetBIOS over TCP/IP.
You can also disable NetBIOS over TCP/IP by using a DHCP server with Microsoft vendor-specific option code 1, ("Disable NetBIOS over TCP/IP"). Setting this option to a value of 2 disables NBT. For more information about using this method, refer to the DHCP Server Help file in Windows.
To determine if NetBIOS over TCP/IP is enabled on a Windows-based computer, issue a net config redirector or net config servercommand at a command prompt. The output shows bindings for the NetbiosSmb device (which is the "NetBIOS-less" transport) and for the NetBT_Tcpip device (which is the NetBIOS over TCP transport). For example, the following sample output shows both the direct hosted and the NBT transport bound to the adapter:
Workstation active on NetbiosSmb (000000000000) NetBT_Tcpip_{610E2A3A-16C7-4E66-A11D-A483A5468C10} (02004C4F4F50) NetBT_Tcpip_{CAF8956D-99FB-46E3-B04B-D4BB1AE93982} (009027CED4C2)
NetBT_Tcpip is bound to each adapter individually; an instance of NetBT_Tcpip is shown for each network adapter that it is bound to. NetbiosSmb is a global device, and is not bound on a per-adapter basis. This means that direct-hosted SMB's cannot be disabled in Windows without disabling File and Printer Sharing for Microsoft Networks completely.
Properties
Article ID: 204279 - Last Review: October 11, 2007 - Revision: 4.4APPLIES TO
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional Edition
Microsoft Windows XP Home Edition
Microsoft Windows XP Professional
Microsoft Windows XP Professional x64 Edition
Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
Microsoft Windows Server 2003, Standard Edition (32-bit x86)
Microsoft Windows XP 64-Bit Edition Version 2003
Keywords:
kbinfo kbenv kbnetwork KB204279
相关文章推荐
- tcpip数据包编码解析(chunk and gzip)_space of Jialy_百度空间
- keimpx: Check for the usefulness of credentials across a network over SMB
- Advantages of VPS over Shared Hosting
- 微软:NetBIOS over TCP/IP
- Increasing the maximum number of tcp/ip connections in linux
- A Comparison of the OSI and TCP/IP Reference Models
- socket programming Max size of tcp/ip socket Buffer?
- XML for Analysis(XMLA)开发详解-(4)XMLA over TCP/IP访问Analysis Services 2005/2008 Olap的释疑
- Method of offloading iSCSI TCP/IP processing from a host processing unit, and related iSCSI TCP/IP offload engine
- py-webkit-html-manipulator - Server side rendering, extraction and manipulation of HTML over HTTP. - Google Project Hosting
- [导入]XML for Analysis(XMLA)开发详解-(4)XMLA over TCP/IP访问Analysis Services 2005/2008 Olap的释疑
- The Basics of Reading TCP/IP Traces
- MS12-032 - Vulnerability in TCP/IP Could Allow Elevation of Privilege
- tcpip数据包编码解析(chunk and gzip)_space of Jialy_百度空间
- TCP/IP Run Out of Memory
- TCP、UDP over IP
- Analysis Services 2005 protocol - XMLA over TCP/IP
- A Critique of the Models and Protocols of OSI & TCP/IP
- Analysis Services 2005 protocol - XMLA over TCP/IP
- SSAS : XMLA over TCP/IP的实现