module 7: resolving netbios names by using windows internet name service (wins)

43
Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Upload: felix-marshall

Post on 03-Jan-2016

225 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Module 7: Resolving NetBIOS Names by Using Windows Internet Name

Service (WINS)

Page 2: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Overview

Multimedia: The Role of WINS in the Network Infrastructure

Installing and Configuring a WINS Server

Managing Records in WINS

Configuring WINS Replication

Managing the WINS Database

Page 3: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Multimedia: The Role of WINS in the Network Infrastructure

The objective of this presentation is to provide a high-level overview of WINS in the network infrastructure.

At the end of this presentation, you will be able to:

Explain the role of WINS in the network infrastructure

Describe how WINS resolves NetBIOS names

Describe the WINS registration process

Describe how WINS replication works

Page 4: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Lesson: Installing and Configuring a WINS Server

The Components of WINS

What Is a NetBIOS Node Type?

How a WINS Client Registers and Releases NetBIOS Names

How Burst Handling Works

How a WINS Server Resolves NetBIOS Names

How to Install the WINS Service

How to Configure Burst Handling

Page 5: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

The Components of WINS

Subnet 1

Subnet 2

WINS ServerWINS Server

WINS Database

WINS Database

WINS ProxyWINS Proxy

WINS ClientWINS Client

Page 6: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

What Is a NetBIOS Node Type?

Node type Description Registry value

B-nodeUses broadcasts for name registration and resolution 1

P-nodeUses a NetBIOS name server such as WINS to resolve NetBIOS names 2

M-nodeCombines B-node and P-node, but functions as a B-node by default 4

H-nodeCombines P-node and B-node, but functions as a P-node by default 8

A NetBIOS node type is a method that a computer uses to resolve a NetBIOS name into an IP address A NetBIOS node type is a method that a computer uses to resolve a NetBIOS name into an IP address

Page 7: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How a WINS Client Registers and Releases NetBIOS Names

WINS client sends request to register

WINS server returns registration message with TTL value indicating when the registration expires if not renewed

WINS client sends request to register

WINS server returns registration message with TTL value indicating when the registration expires if not renewed

11

WINS client sends request to release name

WINS server sends a positive name lease response

WINS client sends request to release name

WINS server sends a positive name lease response22

WINS ClientWINS Client WINS ServerWINS Server

Name RegisteredName Registered

Name Released Name Released

Page 8: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How Burst Handling Works

Request to registerRequest to register11

Registered Registered22

Burst handling is the response of a WINS server to a large number of WINS clients that are trying to simultaneously register their local names in WINS

Burst handling is the response of a WINS server to a large number of WINS clients that are trying to simultaneously register their local names in WINS

Page 9: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How a WINS Server Resolves NetBIOS Names

Subnet 2

Subnet 1

Subnet 2

WINS Server AWINS Server A

WINS Server BWINS Server B

ClientAClientA

Client makes 3 attempts to contact WINS server, but does not receive a responseClient makes 3 attempts to contact WINS server, but does not receive a response11

Client attempts to contact all WINS servers until contact is madeClient attempts to contact all WINS servers until contact is made22

If name is resolved, IP address is returned to the clientIf name is resolved, IP address is returned to the client33

Up to 3 attemptsUp to 3 attempts

11

22

33

Page 10: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Install the WINS Service

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Install the WINS service

Check the status of the WINS service

Install the WINS service

Check the status of the WINS service

Page 11: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Configure Burst Handling

Your instructor will demonstrate how to configure burst handlingYour instructor will demonstrate how to configure burst handling

Page 12: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Practice: Installing and Configuring a WINS Server

In this practice, you will install and configure a WINS server.

Page 13: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Lesson: Managing Records in WINS

What Is a Client Record?

What Is a Static Mapping?

How to Add a Static Mapping Entry

Methods for Filtering and Viewing Records in WINS

How to Filter WINS Records

Page 14: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

The service that registered the entry, including the hexadecimal type identifier

The IP address that corresponds to the registeredname

Displays “x” to indicate whether the entry isstatic and displays “null” or is blank if the entry is not staticThe WINS server from which the entry originates

What Is a Client Record?

The registered NetBIOS name, which can be a unique name, or a group, internet group, or multihomed computer

The state of the database entry, which can be active, released, or tombstoned

A unique hexadecimal number that the WINS server assigns during name registration

Shows when the entry will expire

Page 15: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

What Is a Static Mapping?

Non-WINS ClientsNon-WINS Clients WINS DatabaseWINS Database

A static mapping is a manual entry in the WINS database that maps a NetBIOS name to an IP address A static mapping is a manual entry in the WINS database that maps a NetBIOS name to an IP address

Administrator enters computer name-to-IP address entry

Administrator enters computer name-to-IP address entry

Page 16: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Add a Static Mapping Entry

Your instructor will demonstrate how to add a static mapping entryYour instructor will demonstrate how to add a static mapping entry

Page 17: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Methods for Filtering and Viewing Records in WINS

Search filter Description

NetBIOS name and IP address

Based on all or part of a NetBIOS name, an IP address, or a NetBIOS name and an IP address, including or excluding the subnet mask as a parameter

Record ownersBased on the name records of one or more name record owners

Record typesBased on one or more NetBIOS name suffix record types

Page 18: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Filter WINS Records

Your instructor will demonstrate how to filter WINS recordsYour instructor will demonstrate how to filter WINS records

Page 19: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Practice: Managing Records in the WINS Server

In this practice, you will manage records in the WINS server

Page 20: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Lesson: Configuring WINS Replication

How WINS Replication Works

How Push Replication Works

How Pull Replication Works

What Is Push/Pull Replication?

WINS Replication Partner Properties

How to Configure WINS Replication

How to Configure Replication Partners Properties

Page 21: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How WINS Replication Works

WINS replication is the process of copying updated WINS data from a WINS server to other WINS servers in a network to synchronize the data

WINS replication is the process of copying updated WINS data from a WINS server to other WINS servers in a network to synchronize the data

WINS Server AWINS Server A

Subnet 2Subnet 1

WINS Server BWINS Server B

WINS Replication

WINS Replication

HostBHostA

Page 22: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How Push Replication Works

Subnet 2Subnet 1

WINS Server AWINS Server A WINS Server BWINS Server B

50 changes occur in database

50 changes occur in database

11

Notification sentNotification sent22 Replication requestReplication request33 Replicas sentReplicas sent44

Subnet 2Subnet 1

WINS Server AWINS Server A WINS Server BWINS Server B

A push partner notifies replication partners when the database reaches a set threshold of changesPush replication maintains a high level of synchronization/use with fast links

A push partner notifies replication partners when the database reaches a set threshold of changesPush replication maintains a high level of synchronization/use with fast links

WINS Server A reaches set threshold of 50 changes in its databaseWINS Server A reaches set threshold of 50 changes in its database11

WINS Server A notifies WINS Server B that threshold is reachedWINS Server A notifies WINS Server B that threshold is reached22

WINS Server B responds to WINS Server A with a replication requestWINS Server B responds to WINS Server A with a replication request33

WINS Server A sends replicas of its new database entriesWINS Server A sends replicas of its new database entries44

Page 23: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How Pull Replication Works

Subnet 2Subnet 1

WINS Server AWINS Server A WINS Server BWINS Server BReplicas sentReplicas sent22Requests changes every 8 hoursRequests changes every 8 hours11

Subnet 2Subnet 1

WINS Server AWINS Server A WINS Server BWINS Server B

A pull partner requests replication based on a set timePull replication limits frequency of replication traffic across slow linksA pull partner requests replication based on a set timePull replication limits frequency of replication traffic across slow links

WINS Server A requests database changes every 8 hoursWINS Server A requests database changes every 8 hours11

WINS Server B sends replicas of its new database entriesWINS Server B sends replicas of its new database entries22

Page 24: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Push/pull replication effectively ensures that the databases on multiple WINS servers are nearly identical at any given time by:

Push/pull replication effectively ensures that the databases on multiple WINS servers are nearly identical at any given time by:

What Is Push/Pull Replication?

Notifying replication partners whenever the database reaches a set threshold of changes

AND Requesting replication based on a set time

Notifying replication partners whenever the database reaches a set threshold of changes

AND Requesting replication based on a set time

Page 25: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

WINS Replication Partner Properties

Property Description

Enable automatic partner configuration

As WINS servers are discovered joining the network, they are added as replication partners

Enable persistent connections

Increases the speed of replication so that a server can immediately send records to its partners

Enable overwrite unique static mappings at this server (migrate on)

If presented with both a static and dynamic-type entry for the same name, the static mapping is overwritten

Page 26: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Configure WINS Replication

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Configure WINS replication

Modify a replication partner type

Modify the Push Replication settings for replication partners

Modify the Pull Replication settings for replication partners

Replicate with all WINS partners

Start push replication for a WINS replication partner

Start pull replication for a WINS replication partner

Configure WINS replication

Modify a replication partner type

Modify the Push Replication settings for replication partners

Modify the Pull Replication settings for replication partners

Replicate with all WINS partners

Start push replication for a WINS replication partner

Start pull replication for a WINS replication partner

Page 27: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Configure Replication Partners Properties

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Configure the Pull properties for the replication partner

Configure the Push properties for the replication partner

Configure the Pull properties for the replication partner

Configure the Push properties for the replication partner

Page 28: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Practice: Configuring WINS Replication

In this practice, you will configure WINS replication

Page 29: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Lesson: Managing the WINS Database

Why Back Up a WINS Database?

How to Back Up and Restore a WINS Database

What Are Simple Deletion and Tombstoned Deletion of Records?

How to Delete a WINS Record

What Are Dynamic and Offline Compacting?

How to Compact a WINS Database

How Scavenging Works

How to Scavenge a WINS Database

How a WINS Database Is Checked for Consistency

How to Check for Consistency on a WINS Database

Guidelines for Decommissioning a WINS Server

How to Decommission a WINS Server

Page 30: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

To repair a corrupt WINS database, you can back up and then restore a WINS databaseTo repair a corrupt WINS database, you can back up and then restore a WINS database

Why Back Up a WINS Database?

To back up a WINS database :

To restore a WINS database:

To back up a WINS database :

To restore a WINS database:

Specify a backup directory

Back up manually or configure automatic backups

Specify a backup directory

Back up manually or configure automatic backups

Manually delete and restore database files Manually delete and restore database files

Page 31: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Back Up and Restore a WINS Database

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Specify a back up directory for the WINS database

Manually back up a WINS database

Restore a WINS database from a recent backup

Specify a back up directory for the WINS database

Manually back up a WINS database

Restore a WINS database from a recent backup

Page 32: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

What Are Simple Deletion and Tombstoned Deletion of Records?

To recover unused space that obsolete records occupy, you can update the WINS database by:To recover unused space that obsolete records occupy, you can update the WINS database by:

Simple deletion. Records selected by using the WINS console are removed from the current local WINS server

Tombstoned deletion. Records are marked for deletion, replicated to other WINS servers, and then removed during the next scavenging operation

Simple deletion. Records selected by using the WINS console are removed from the current local WINS server

Tombstoned deletion. Records are marked for deletion, replicated to other WINS servers, and then removed during the next scavenging operation

Page 33: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Delete a WINS Record

Your instructor will demonstrate how to delete a WINS recordYour instructor will demonstrate how to delete a WINS record

Page 34: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

What Are Dynamic and Offline Compacting?

Maintain WINS database integrity by using:Maintain WINS database integrity by using:

Dynamic compacting. Automatically occurs while the database is in use

Offline compacting. Administrator stops the WINS server and uses the jetpak command

Dynamic compacting. Automatically occurs while the database is in use

Offline compacting. Administrator stops the WINS server and uses the jetpak command

Compacting is the process of recovering unused space in a WINS database that is occupied by obsolete recordsCompacting is the process of recovering unused space in a WINS database that is occupied by obsolete records

Page 35: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Compact a WINS Database

Your instructor will demonstrate how to compact a WINS database offlineYour instructor will demonstrate how to compact a WINS database offline

Page 36: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Scavenging process:Scavenging process:

The scavenging timer starts when the server starts up and is equal to half the Renewal interval The scavenging timer starts when the server starts up and is equal to half the Renewal interval The active names that the WINS server owns and for which the Renew Interval has expired are marked as released

The active names that the WINS server owns and for which the Renew Interval has expired are marked as released

Released names that the WINS server owns and for which the Extinction interval has expired are marked for deletion

Released names that the WINS server owns and for which the Extinction interval has expired are marked for deletion

Names marked for deletion for which the Extinction timeout has expired are deleted and removed from the database

Names marked for deletion for which the Extinction timeout has expired are deleted and removed from the database

Names marked for deletion that are replicated from other servers and for which the Extinction timeout has expired are deleted and removed from the database

Names marked for deletion that are replicated from other servers and for which the Extinction timeout has expired are deleted and removed from the database Active names that are replicated from other servers and for which the Verification interval has expired are revalidated Active names that are replicated from other servers and for which the Verification interval has expired are revalidated

How Scavenging Works

112233445566 Names marked for deletion that are replicated from other servers are removed from the database Names marked for deletion that are replicated from other servers are removed from the database

77Scavenging process:Scavenging process:

7-days7-days 7-days7-days

Jan 1 Jan 15Jan 8

ScavengeScavengeNo-RefreshInterval

No-RefreshInterval

RefreshIntervalRefreshInterval

Time stamped

Time stamped

AgingAging

Page 37: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Scavenge the WINS Database

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Configure scavenging settings on the WINS database

Scavenge the WINS database

Configure scavenging settings on the WINS database

Scavenge the WINS database

Page 38: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How a WINS Database Is Checked for Consistency

Checking WINS database consistency helps maintain database integrity among WINS servers in a large networkChecking WINS database consistency helps maintain database integrity among WINS servers in a large network

WINS ServerWINS Server

WINS ServerWINS Server

WINS ServerWINS Server

Page 39: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Check for Consistency on a WINS Database

Your instructor will demonstrate how to:Your instructor will demonstrate how to:

Configure WINS database verification

Verify database consistency

Verify version ID consistency

Configure WINS database verification

Verify database consistency

Verify version ID consistency

Page 40: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Guidelines for Decommissioning a WINS Server

Guidelines for decommissioning a WINS server:Guidelines for decommissioning a WINS server:

If you reduce the number of WINS servers in your network, you can reconfigure WINS clients to point to other WINS servers in the networkReconfiguration is necessary only if clients are still using WINSIf you eliminate WINS in your network, you can implement DNS as your primary naming service

If you reduce the number of WINS servers in your network, you can reconfigure WINS clients to point to other WINS servers in the networkReconfiguration is necessary only if clients are still using WINSIf you eliminate WINS in your network, you can implement DNS as your primary naming service

Decommissioning an installed WINS server is the act of removing it from a network Decommissioning an installed WINS server is the act of removing it from a network

Page 41: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

How to Decommission a WINS Server

Your instructor will demonstrate how to decommission a WINS serverYour instructor will demonstrate how to decommission a WINS server

Page 42: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Practice: Managing a WINS Database

In this practice, you will manage a WINS database

Page 43: Module 7: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

Lab A: Resolving NetBIOS Names by Using Windows Internet Name Service (WINS)

In this lab, you will identify and resolve common issues when resolving NetBIOS names by using WINS