Top Banner
Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service
53

Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

Dec 21, 2015

Download

Documents

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: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

Hands-On Microsoft Windows Server 2003

Networking

Chapter 7

Windows Internet Naming Service

Page 2: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

2

Objectives

• Describe the NetBIOS name resolution process• Describe why WINS is used and the tasks it

performs• Install WINS• Configure WINS replication• Manage WINS• Understand when to use a WINS proxy

Page 3: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

3

NetBIOS Name Resolution

• Windows Sockets (WinSock) and NetBIOS– Standard used to access network resources

• When NetBIOS is used– NetBIOS name of remote resource must be

resolved to an IP address

Page 4: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

4

NetBIOS Name Resolution (Continued)

• Methods used to resolve NetBIOS names– NetBIOS name cache

• Contains results of Windows clients NetBIOS name resolutions

– Windows Internet Naming Service (WINS)• Client computer sends NetBIOS name query

requesting resolution of a NetBIOS name• Used early in name resolution process because it

is the method most likely to be successful

Page 5: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

5

NetBIOS Name Resolution (Continued)

– Broadcast• Packet is addressed to all computers on the

network

• Computer using the NetBIOS name being resolved responds with its IP address

– LMHOSTS• Used if no other method is successful

Page 6: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

6

Windows Internet Naming Service (WINS) Functions

• NetBIOS name– Each tied to a service such as a file sharing

• WINS server– Central repository for NetBIOS name and service

information

• When WINS is implemented on network– Client computers and servers must be configured

to use WINS server

– Server running WINS service must be configured to use itself

Page 7: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

7

WINS Configuration in Windows XP

Page 8: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

8

Advantages of WINS• Functions across routers

– Communication is done with unicast packets– Required in routed networks because unicast

packets are routable• Can be dynamically updated

– Occurs when computers are added or removed from network

• Can be automated– Maintenance of WINS database is automatic

• Offers client configuration through DHCP– Clients can be configured with IP address of WINS

server using DHCP• Offers integration with DNS

– Can be integrated with DNS to resolve hostnames

Page 9: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

9

Name Registration

• Performed when WIN client boots up• Places NetBIOS information about client into

WINS database• Two-packet process• Name registration request packet

– Generated by client and sent directly to WINS server

– Contains NetBIOS name that client computer is attempting to register

Page 10: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

10

Name Registration (Continued)

• Name registration response packet– Sent from WINS server to the client computer– Contains NetBIOS name that has been

registered and a time to live (TTL)

Page 11: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

11

Name Registration

Page 12: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

12

Name Registration (Continued)• NetBIOS name

– If already registered by another host, WINS server sends a challenge to that host

• If original owner of name does not respond– NetBIOS name is registered to new client– Successful name registration response packet is

sent back to new client• If original owner of name responds

– New client is sent a negative name registration response

• WINS clients– Can be configured with multiple WINS servers

Page 13: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

13

Name Renewal

• Time To Live (TTL)– Assigned to each NetBIOS name registration– When one half completed, WINS client attempts

to refresh registration– Default is six days

• Name refresh request packet– Sent from WINS client to WINS server– Contains NetBIOS name being refreshed– If client unable to contact first WINS server for

one hour, then it fails and contacts second WINS server

Page 14: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

14

Name Renewal (Continued)

• Name refresh response packet– Sent from WINS server to WINS client

– Contains NetBIOS name being renewed

– Contains new TTL

Page 15: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

15

Name Renewal

Page 16: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

16

Name Release• Properly shut down computer

– Contacts WINS server and releases NetBIOS name

• Name release request– Sent from WINS client to WINS server– Request includes NetBIOS name being released

and IP address of WINS client• Name release response

– Contains NetBIOS name being released– Contains a TTL of zero– Another computer can now register released name

Page 17: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

17

Name Release

Page 18: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

18

Name Query

• Used to resolve NetBIOS name to IP address• Name query request packet

– Sent from WINS client to WINS server– Contains NetBIOS name to be resolved

• Name query response packet– Sent from WINS server to WINS client– If WINS server is able to resolve the query

• Packet contains IP address registered in the WINS database for the NetBIOS name being resolved

– If WINS server is unable to resolve the query• Packet contains message indicating name could

not be resolved

Page 19: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

19

Name Query (Continued)

Page 20: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

20

Installing WINS

• Windows Server 2003 – Has ability to act as a WINS server– Very unusual to use another operating system as

a NetBIOS name server• If organization has several WINS servers

– WINS must be installed individually on each

• WINS is never installed automatically

Page 21: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

21

Configuring WINS Replication

• Single WINS server can handle at least 5000 WINS clients

• To control network traffic– Implement multiple WINS servers in much

smaller environments • Large network with multiple physical locations

– May reduce network traffic across WAN links if multiple WINS servers are used

– If a WINS server is located at each physical location, then WINS clients do all of their registrations and queries with the local server

Page 22: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

22

Configuring WINS Replication (Continued)

• Smaller networks – When two WINS servers are implemented, clients

are still able to resolve NetBIOS names if one WINS server fails

• Replication– Must be configured when more than one WINS

server is implemented

Page 23: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

23

Replication Properties

Page 24: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

24

Push Replication

• Occurrence based on number of changes in the WINS database

• When defined number of changes occur– Replication partner is notified

– Replication partner then requests a copy of changes

– Only changes are replicated between replication partners

Page 25: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

25

Push Replication (Continued)

Page 26: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

26

Pull Replication

• Ensures that changes are replicated between two WINS servers regularly

• Occurrence based on set time schedule• Possible to set

– Start time for replication

– Interval that replication occurs

Page 27: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

27

Pull Replication (Continued)

Page 28: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

28

Push/Pull Replication

• Combination of push and pull replication normally used

• Push replication– Ensures that during periods of high change,

records are replicated in a timely way• Pull replication

– Ensures that, during periods of low change, records are replicated even if the criterion replication is not met

• Persistent connections– Results in faster replication

Page 29: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

29

Replication Partners Folder Properties• “Replication only with partners” option

– Forces server to only replicate its records to servers configured as replication partners

• “Overwrite unique static mappings at this server” option – Allows dynamic WINS registrations from other servers to

overwrite static mappings created on server• WINS server

– Can be enabled to automatically find replication partners– May hold records for registrations not taken by itself or its

direct replication partners

Page 30: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

30

Replication Partners

Page 31: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

31

Managing WINS

• General tab of WINS server allows you to configure– How often statistics are updated – Path for backing up the WINS database– Whether the WINS database should be backed up

each time server is shut down

Page 32: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

32

General Tab - WINS Server Properties

Page 33: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

33

Intervals Tab – WINS Server Properties

• Allows you to configure– How names are expired and deleted from WINS

database• Renewal interval

– TTL given to WINS clients when a name is registered with the WINS server

• Extinction interval – Length of time an unused record exists in the

WINS database before being marked as extinct

Page 34: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

34

Intervals Tab – WINS Server Properties (Continued)

• Extinction timeout – Length of time an extinct record is kept in the

database

• Verification interval – Length of time a WINS server waits before

validating a record that is replicated from another WINS server

Page 35: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

35

Intervals Tab – WINS Server Properties

Page 36: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

36

Database Verification Tab – WINS Server Properties

• Allows you to automate database verification• When database verification occurs

– Other WINS servers are contacted to confirm that they hold the same WINS information

Page 37: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

37

Database Verification Tab – WINS Server Properties

Page 38: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

38

Advanced Tab – WINS Server Properties

• “Log detailed events to Windows event log” option– Enhances logging of events – Should only be used for troubleshooting

• Burst handling – Allows a WINS server to handle large volumes of

name registration requests in a very short period of time

Page 39: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

39

Advanced Tab – WINS Server Properties (Continued)

• “Starting version ID (hexadecimal)” field – Used to force WINS replication

• “Use computer names that are compatible with

LAN Manager” option – Restricts registered names to 15 characters

Page 40: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

40

Advanced Tab – WINS Server Properties

Page 41: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

41

Viewing Database Records

• To verify that client is registered in WINS database– View contents

• When deleting records– Choose whether to delete from just local server or all databases

• Tombstoned– Occurs when record is deleted from all servers– Status is replicated to all servers

Page 42: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

42

The Display Records window

Page 43: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

43

Adding Static Records

• If non-Microsoft servers– Provide NetBIOS resources on the network, they

may not be able to use a WINS server

– Cannot use WINS, then WINS clients cannot resolve their NetBIOS names

Page 44: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

44

Creating a static mapping

Page 45: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

45

Backing Up the Database

• WINS database– Needs to be backed up – If corrupted, WINS server stops servicing clients

resulting in client computers being unable to access NetBIOS-based resources

• Corrupted WINS database– Can be fixed if a backup of the WINS database

exists

Page 46: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

46

Backing Up the Database (Continued)

• To fix corrupted WINS database– Stop WINS Service and restore the database

– WINS server receives changes that occurred since backup from replication partners

– WINS servers determine the changes to replicate based on version ID of database records

Page 47: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

47

WINS Proxy

• Used for computers that need to participate in NetBIOS name resolution but cannot be configured to use WINS

• Allows clients to resolve NetBIOS names to IP addresses using records in a WINS database

• NetBIOS clients – Capable of using broadcasts for name resolution

Page 48: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

48

WINS Proxy

Page 49: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

49

Summary• Resolution of NetBIOS names to IP addresses

– Critical for pre-Windows 2000 clients• Pre-Windows 2000 clients

– Use NetBIOS to find domain controllers and use network resources

• Methods used to resolve NetBIOS names– NetBIOS name cache– WINS– Broadcast– LMHOSTS file

Page 50: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

50

Summary (Continued)

• Broadcast name resolution– Not suitable for large networks– Does not work across routers

• LMHOSTS file – Not suitable for large networks– File needs to be copied to every server and

workstation

Page 51: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

51

Summary (Continued)

• A WINS server – Central repository for resolving NetBIOS names – Benefits include

• WINS server functions across routers• Can be dynamically updated• Can be automated• Offers client configuration through DHCP• Offers integration with DNS

• Common tasks performed by WINS server– Name registration, name renewal– Name release, and name query

Page 52: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

52

Summary (Continued)

• Name registration– Client is assigned a TTL

• Network with two or more WINS servers – Replication must be configured between them

• Two types of WINS replication– Push– Pull

• Static mapping– Can be configured for resources that are unable

to register themselves with WINS

Page 53: Hands-On Microsoft Windows Server 2003 Networking Chapter 7 Windows Internet Naming Service.

53

Summary (Continued)

• WINS database– You can view records– Should be backed up

• WINS Proxy – Lets non-WINS clients use the WINS Service – Verifies validity of NetBIOS names over the

network