The NetBIOS interface was developed by Sytec Inc. (now Hughes LAN Systems) for
International Business Machines Corporation (IBM) in 1983. This operated over
proprietary Sytec protocols on IBM's PC Network.
Information is provided here for reference although these protocols have now
been superceeded by the NetBIOS Frames protocol running over Token Ring or
Ethernet etc.
In the IBM PC Network name management is performed by the Name Management
Protocol which consists of the following packet types:
- Name Claim / Name Cancel Packet
- A single octet indicates whether the packet is used to
claim a name (value 0x10) or release a name (value 0xA0)
- Name Claim Response Packet
- This packet is used to indicate that the name is already in
use.
Details of packet structures for Name Management in IBM PC Networks are given
in the
Comparison of NetBIOS protocols in IBM PC Network
Name Claim / Name Cancel Packet in IBM PC Network
From "Inside NetBIOS":
Name Claim / Name Cancel Packet:
Field Length Description
- Start 1 Start Deliminator value 0x7E
- Destination 6 Destination Address
- Source 6 Source Address
- Length 2 Length of packet
- value 2 value set to 0x5000
- Function 1 10h for Name Claim, 0xA0 for Cancel
- Accept 1 Number of packets willing to accept
- Connection id 2 Connection id
- value 2 value set to 0x0202
- Undefined 2 value of two octets undefined
- value 2 value set to 0x0400
- Undefined 4 value of four octets undefined
- value 2 value of 0x10XX
- value 4 value of 0x0000
- Dest Name 16 ASCII Destination NetBIOS name
- Previous Connection id 2 Previous Connection id
- Retransmit Count 2 Retransmition Count
- Source Node Connection id 2 Source Node Connection id
- Destination id 6 Destination id
- Source id 6 Source id
- Prev Node id 6 Previous Node id
- CRC 4 Cyclic Redundancy Check
- End of Frame 1 End of frame marker value of 0x7E
Name Claim Response Packet in IBM PC Network
Name Claim Response Packet:
Field Length Description
- Start 1 Start Deliminator value 0x7E
- Destination 6 Destination Address
- Source 6 Source Address
- Length 2 Length of packet
- value 2 value set to 0x4000
- value 1 value set to 0x30
- Accept 1 Number of packets willing to accept
- Connection id 2 Connection id
- Undefined 2 value of two octets undefined
- Reason packet NAK 1 Reason why packet not acknowledged
- Undefined 1 value of octet undefined
- value 2 value set to 0x0400
- Undefined 4 value of four octets undefined
- value 2 value of 0x10XX
- value 4 value of 0x0000
- Dest Name 16 ASCII Destination NetBIOS name
- Dest Node Connection id 2 Destination node connection id
- CRC 4 Cyclic Redundancy Check
- End of Frame 1 End of frame marker value of 0x7E
Details of packet structures for User Datagram Protocol in IBM PC Networks are
given in the
Comparison of NetBIOS protocols in IBM PC Network
User Datagram Protocol Packet in IBM PC Network
From "Inside NetBIOS":
User Datagram Protocol Packet:
Field Length Description
- Start 1 Start Deliminator value 0x7E
- Destination 6 Destination Address
- Source 6 Source Address
- Length 2 Length of packet
- value 2 value set to 0x5100
- value 2 value set to 0x0100
- value 2 value set to 0x0001
- value 2 value set to 0x1010
- value 2 value set to 0x0000
- Source Name 16 ASCII Source NetBIOS name
- Dest Name 16 ASCII Destination NetBIOS name
- Data variable data
- Retransmit Count 2 Retransmition Count
- Source Node Connection id 2 Source Node Connection id
- Destination id 6 Destination id
- Source id 6 Source id
- Prev Node id 6 Previous Node id
- CRC 4 Cyclic Redundancy Check
- End of Frame 1 End of frame marker value of 0x7E
Details of packet structures for NetBIOS Session Management in IBM PC Networks
are given in the
Comparison of NetBIOS protocols in IBM PC Network
Session Request Packet in IBM PC Network
From "Inside NetBIOS":
Session Request Packet :
Field Length Description
- Start 1 Start Deliminator value 0x7E
- Destination 6 Destination Address
- Source 6 Source Address
- Length 2 Length of packet
- value 2 value set to 0x0040
- Function 1 value 0x00-0x07=No poll 0x80-0x0F=Send Return Pkt
- Accept 1 Number of packets willing to accept
- Connection id 2 Connection id
- Sess seq no 1 Sess seq no
- ACK Seq No 1 ACK Seq No
- value 2 value set to 0x0001
- Response packet size 2 Response packet size
- value 4 value of 0x0000
- value 4 value of 0x1010
- Source Name 16 ASCII Source NetBIOS name
- Dest Name 16 ASCII Destination NetBIOS name
- Dest Connection id 2 Dest Connection id
- CRC 4 Cyclic Redundancy Check
- End of Frame 1 End of frame marker value of 0x7E