Top Banner
Windows Internet Name Service(WINS) Chapter 16
22

Windows Internet Name Service(WINS)

Feb 23, 2016

Download

Documents

adila

Windows Internet Name Service(WINS). Chapter 16. Windows Internet Name Service(WINS). Network Basic Input/Output System (NetBIOS) . provides commands and support for network name registration and verification. session establishment and termination. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Windows Internet Name  Service(WINS)

Windows Internet Name Service(WINS)

Chapter 16

Page 2: Windows Internet Name  Service(WINS)

Windows Internet Name Service(WINS)

Network Basic Input/Output System (NetBIOS)

● NetBIOS over TCP/IP (NetBT)

provides commands and support for network name registration and verification. session establishment and termination. reliable connection-oriented session data transfer. unreliable connectionless datagram data transfer. adapter monitoring and management.

the operation of the NetBIOS protocol over the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) of the TCP/IP protocol stack.

Page 3: Windows Internet Name  Service(WINS)

NetBT Name Service Messages Name Query Request

Name Query Response

Name Registration Request

Name Registration Response

Wait Acknowledgment

Name Refresh Request

Name Release Request

Name Release Response

Page 4: Windows Internet Name  Service(WINS)

NetBT Name Service Messages

Question entries Variable legth

Answer RRs Variable length

Authority RRs Variable length

Additional RRs Variable length

• Name Service header Fixed length (12 bytes long)

Page 5: Windows Internet Name  Service(WINS)

Name Service header

Transaction ID > 2-byte

Flags > 2-byte Question Entry Count > 2-byte Answer RR Count > 2-byte

Authority RR Count > 2-byte Additional RR Count > 2-byte

Page 6: Windows Internet Name  Service(WINS)

The Flags field in the Name Service header

Request/Response > 1-bit

Operation Code > 4-bit Authoritative Answer > 1-bit Truncation > 1-bit

Recursion Desired > 1-bit Recursion Available > 1-bit Reserved > 3-bit Return Code > 4-bit

Page 7: Windows Internet Name  Service(WINS)

NetBIOS Name Representation

The 16-character NetBIOS name is converted into a 32-byte ASCII representation.

The period (.) character and the NetBIOS scope identifier are appended to the 32-byte ASCII representation of the NetBIOS name.

The resulting name is then encoded using length-value format according to the rules for

fully qualified domain names (FQDNs) in DNS Name Query Request messages.

Creating the DNS form of a NetBIOS name for NetBIOS name service messages involves the followingsteps:

Page 8: Windows Internet Name  Service(WINS)

Question RR FormatQuestion entry format

RR format in NetBIOS name service messages

Question Name Question Type

Question Class

RR Name

Record Type Record Class Time to Live

Resource Data Length

Resource Data

Page 9: Windows Internet Name  Service(WINS)

Format for General Name Service RRs

Question RR Format

RR Name Record Type Record Class Time to Live

Resource Data Length Data Flags IP Address

Format of the RDATA flags field Group Flag Owner Node Type Reserved

Page 10: Windows Internet Name  Service(WINS)

Question RR Format

Page 11: Windows Internet Name  Service(WINS)

Question RR Format

Page 12: Windows Internet Name  Service(WINS)

WINS Client and Server Message Exchanges

Resolving NetBIOS names to IP addresses Registering NetBIOS names Renewing NetBIOS names Releasing NetBIOS names

This section describes common message exchanges between WINS clients and servers for the following:

Page 13: Windows Internet Name  Service(WINS)

Resolving NetBIOS Names to IP Addresses

Page 14: Windows Internet Name  Service(WINS)

Resolving NetBIOS Names to IP Addresses

Page 15: Windows Internet Name  Service(WINS)

Registering NetBIOS Names

Page 16: Windows Internet Name  Service(WINS)

Resolving NetBIOS Names to IP Addresses

Page 17: Windows Internet Name  Service(WINS)

Registering NetBIOS Names

Page 18: Windows Internet Name  Service(WINS)

Refreshing NetBIOS Names

Page 19: Windows Internet Name  Service(WINS)

Refreshing NetBIOS Names

Page 20: Windows Internet Name  Service(WINS)

Releasing NetBIOS Names

Page 21: Windows Internet Name  Service(WINS)

Releasing NetBIOS Names

Page 22: Windows Internet Name  Service(WINS)

Summary

Name Query Request Name Query Response messages Name Query Response

Name Registration Request Name Registration Response

WACKName Registration Response

Name Refresh Request Registration Response

Name Release Request Name Release Response

WINS-based NetBIOS name resolution

NetBIOS name registration

NetBIOS name refresh

NetBIOS name release

fixed-size

variable-sized