NetBEUI

From Wikipedia, the free encyclopedia

NetBIOS Extended User Interface (NetBEUI, pronounced net-booey, also known as NetBIOS Frame, or NBF) is an unrouted (non-routable) network- and transport-level data protocol most commonly used as one of the layers of Microsoft Windows networking. NetBIOS over NetBEUI is used by a number of network operating systems released in the 1990s, such as LAN Manager, LAN Server, Windows for Workgroups, Windows 95 and Windows NT.

The protocol is commonly confused with NetBIOS itself; NetBIOS is best thought of as a set of services provided to applications, with NetBEUI being a protocol that implements those services. NetBEUI can be seen as implementing NetBIOS over IEEE 802.2 LLC. Other protocols, such as NetBIOS-over-IPX/SPX and NetBIOS-over-TCP/IP (NetBIOS over TCP/IP), also implement the NetBIOS services over other protocol suites.

NetBEUI uses 802.2 type 1 mode to provide the NetBIOS name service and datagram service, and 802.2 type 2 mode to provide the NetBIOS session service (virtual circuit). NetBEUI makes wide use of broadcast messages, which accounts for its reputation as a chatty interface.

Sytek developed NetBIOS for IBM for the PC-Network program and was used by Microsoft for MS-NET in 1985. In 1987, Microsoft and Novell utilised it for their network operating systems LAN Manager and NetWare.

Because NetBEUI is unroutable it can only be used to communicate with devices in the same broadcast domain, but being bridgeable it can also be used to communicate with network segments connected each other via bridges. This means that it is only well-suited for small to medium-sized networks; the NetBIOS services must be implemented atop other protocols, such as IPX and TCP/IP (see above) in order to be of use in a wide area network.[1]

Contents

[edit] Services

NetBIOS provides three distinct services:

  • Name service for name registration and resolution
  • Session service for connection-oriented communication
  • Datagram distribution service for connectionless communication

NetBEUI implements all of those services.

[edit] Name service

In order to start Sessions or distribute Datagrams, an application must register its NetBIOS name using the Name service. To do so, an "Add Name Query" or "Add Group Name Query" packet is broadcast on the network. If the NetBIOS name is already in use, the Name service, running on the host that owns the name, broadcasts a "Node Conflict" message on the network.

In addition, to start a session or to send a datagram to a particular host rather than to broadcast the datagram, NetBEUI will have to determine the MAC address of the host with a given NetBIOS name; this is done by sending a "Name Query" packet, the response to which will have the MAC address of the host sending the response, i.e. the host with that name.

[edit] Session service

Session mode lets two computers establish a connection for a "conversation," allows larger messages to be handled, and provides error detection and recovery.

Sessions are established by exchanging packets. The computer establishing the session sends a "Name Query" request, specifying that a session should be initialized. The computer with which the session is to be established will respond with a "Name Recognized" response indicating either that no session can be established (either because that computer isn't listening for sessions being established to that name or because no resources are available to establish a session to that name) or that a session can be established (in which case the response will include a local session number to be used in subsequent packets). The computer that's starting the session will then send a "Session Initialize" request which will prompt a "Session Confirm" response.

Data is transmitted during an established session by data packets. IEEE 802.2 handles flow control and retransmission of data packets. Because NetBIOS allows packets to be sent that are larger than the largest packet that could be transmitted on a particular MAC layer, a NetBIOS packet might have to be transmitted as a sequence of "Data First Middle" packets and a "Data Only Last" packet; packets that don't need to be segmented in that fashion will be sent as a single "Data Only Last" packet. An acknowledgment will be sent for all "Data Only Last" packets that are successfully received; this will also acknowledge all preceding "Data First Middle" packets. Sessions are closed by sending a "Session End" request.

[edit] Datagram distribution service

Datagram mode is "connectionless". A datagram is sent with a "Datagram" packet if it is being sent to a particular NetBIOS name, or a "Datagram Broadcast" packet if it is being sent to all NetBIOS names on the network.

[edit] Availability

NetBEUI - apart from DOS and Unix implementations - is officially supported by Microsoft on almost every version of Windows until Windows 2000[2], but its use has decreased quickly since the development of NetBIOS-over-TCP/IP.

Microsoft officially dropped its support starting from Windows XP[3], although it still provided the user with an unsupported way to manually install it from the original CD-ROM[4] to both encourage and ease the necessary transition to the NetBIOS-over-TCP/IP.

Because of this, officially nothing is known about whether or not NetBEUI can be unsupportedly but effectively installed on Windows Vista, and even unofficial reports seem to be unavailable on the Internet. Besides this, an additional reason of concern may be that, since the TCP/IP network stack changed significantly in Windows Vista[5], the client ([Client for Microsoft Networks]) and server ([File and Printer Sharing for Microsoft Networks]) components - which the network protocols are bound to - could have changed too due to the rewriting process, and could have lost their previous ability to bind to the NetBEUI protocol written for Windows XP. Despite this, it seems that installing NetBEUI on Windows Vista using NetBEUI's files taken from Windows XP original CD-ROM works effectively, with no apparent problems, and supporting all the authentication schemes (LM, NTLM, NTLMv2).

[edit] External links

[edit] References