+ All Categories
Home > Documents > 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host...

1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host...

Date post: 01-Jan-2016
Category:
Upload: arlene-joseph
View: 214 times
Download: 0 times
Share this document with a friend
Popular Tags:
63
1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)
Transcript
Page 1: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

1

Microsoft Windows 2000 Network Infrastructure Administration

• Chapter 10

• Implementing Dynamic Host Configuration Protocol (DHCP)

Page 2: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

2

Introducing and Installing DHCP

• Lesson 1 Topics

• TCP/IP configuration issues• Functionality of DHCP

Page 3: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

3

Introducing and Installing DHCP

• Lesson Objectives

• To describe the differences between manual and automatic configuration of TCP/IP

• To identify TCP/IP configuration parameters that can be assigned by a DHCP server

• To describe IP lease requests and offers• To install DHCP in Windows 2000

Page 4: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

4

DHCP and BOOTP

• DHCP is an extension of Boot Protocol (BOOTP).

• BOOTP enables diskless clients to start up and automatically configure TCP/IP

• Allows diskless clients to configure TCP/IP automatically.

• Centralizes and manages the allocation of TCP/IP.

• Automatically assigns addresses.

Page 5: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

5

How a DHCP Client Interacts with a DHCP Server

Client

Page 6: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

6

Configuring TCP/IP Manually

• Administrative overhead

• Bad or duplicate IP addresses

• Moving between subnets

• Difficult to trace to the cource

• Typing the IP address, subnet mask, or default gateway can lead to problems.

Page 7: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

7

Configuring TCP/IP Using DHCP

• Centralized management

• Automatic supply of address information to clients

• Supplies all of the necessary configuration information to all of the DHCP clients.

• Easier to troubleshoot

Page 8: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

8

TCP/IP Configuration Parameters Assigned by DHCP

• IP address for network adapter

• Subnet masks

• Default gateways

• Additional parameters such as IP address for DNS or WINS servers a client may use

Page 9: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

9

Phases Process of DHCP

• Most DHCP messages are sent by broadcast

• Routers must support forwarding DHCP broadcasts

• DHCP Phases

• IP lease discover• IP lease offer• IP lease request• IP lease acknowledgment

Page 10: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

10

Four Phases of DHCP Client Configuration

Page 11: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

11

IP Lease Discover and Offer

Page 12: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

12

IP lease Discover

The client initializes a limited version of TCP/IP and broadcasts a request for the location of a DHCP sever and IP addressing

Page 13: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

13

IP lease offer

• All DHCP severs that have valid IP addressing information available send and offer to the client.

Page 14: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

14

IP lease request

• The client selects the IP addressing information from the first offer it receives and broadcasts a message requesting to lease the IP addressing information in the offer.

Page 15: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

15

IP lease acknowledgment

• The DHCP sever that made the offer responds to the message, and all other DHCP servers withdraw their offers. The addressing information is assigned to the client and an acknowledgment is sent. The client finishes initializing and binding the TCP/IP protocol.

Page 16: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

16

IP Lease Offer

• All DHCP severs that receive the request and have a valid configuration for client broadcast an offer with the following information:

• The client’s hardware address (MAC)• An offered IP address• Subnet mask• Length of the lease• A server identifier ( DHCP server IP address)

Page 17: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

17

Sending a DHCPOFFER Message

Page 18: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

18

When No DHCP Servers Online

• Client waits 1 second.

• Client rebroadcasts at 9, 13, 16 seconds and then at random intervals.

• Client retries every 5 minutes.

Page 19: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

19

Automatic Private IP Addressing (APIPA)

• Client attempts request.

• Autoconfiguration of a Class B address.

• Clients tests for conflicts for 10 addresses.

• Client rechecks for a DHCP server every 5 minutes.

Page 20: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

20

IP Lease Request

• Client broadcasts DHCPREQUEST message and includes the server identifier (IP Address) of the server whose offer was accepted.

• Other DHCP servers retract offers so their IP addresses are available for the next lease request.

Page 21: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

21

DHCPACK

• DHCP server sends DHCPACK that contains a valid lease for and IP address and possibly other configuration information.

• Client is bound DHCP client.

Page 22: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

22

DHCPNACK

An unsuccessful acknowledgment DHCPNACK is broadcast if the client is trying to lease its previous IP address and IP address is no longer available.

• The IP address is no longer available.

• The client has been moved to a different subnet.

• The client returns to the process of requesting an IP lease.

Page 23: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

23

Before Installing DHCP

• Hardware and storage requirements

• Which computers to configure immediately

• Which computers to configure manually

• DHCP options and values to be predefined

Page 24: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

24

Options that Determine Configuration

• Default gateway

• Domain Name System (DNS) server

• NetBIOS over TCP/IP name resolution

• Windows Internet Name Service (WINS) server

• NetBIOS scope ID

Page 25: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

25

Report Displayed for Ipconfig /all

Page 26: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

26

Ipconfig Command-Line Switches

Page 27: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

27

DHCP Relay Agent

• Relays messages between clients and servers on subnets

• One DHCP server per subnet when routed• Relay agent to support clients on multiple

subnets

Page 28: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

28

Configuring DHCP

• Lesson 2 Topic

• Configuring DHCP on Windows 2000–based server

Page 29: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

29

Configuring DHCP

• Lesson Objectives

• To identify the benefits of using DHCP on a network

• To configure a DHCP server and clients

Page 30: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

30

Setting a Client to Obtain an IP Address from a DHCP Server

Page 31: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

31

How DHCP Servers Provide Optional Data

• Default gateways that connect network segments

• IP addresses for DNS servers

• IP addresses for WINS servers

Page 32: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

32

Installing DHCP

• Install Microsoft DHCP Server service.

• Authorize the DHCP server.

• Configure a scope or pool of addresses.

• Configure global and client scope.

• The DHCP server can be configured to always assign the same IP address to the same DHCP client

Page 33: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

33

Authorizing a DHCP Server• Windows 2000 servers are verified.

• DHCP servers are authorized.

• First server in Active Directory• Installed as domain controller or member server—not

stand-alone• Authorization process depends on server role.

• Domain controller• Member server• If you deploy Active Directory, all computers

operating as DHCP servers must be either domain controller or domain member server before they can authorized in the directory service and provide DHCP service to clients.

Page 34: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

34

DHCP Scope

Scope is a pool of valid IP addresses available for lease to DHCP lients.

• At least one scope for every DHCP server.

• Exclude static IP addresses from scope.

• Multiple scopes will centralize administration and to assign IP addresses specific to a subnet.

• One scope to a subnet.

• DHCP servers do not share scope information.

• IP addresses must be unique to scope.

• Determine starting and ending addresses.

Page 35: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

35

DHCP Scope Configuration Options

Page 36: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

36

Scope and IP Address Ranges for Server A and Server B

Page 37: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

37

Integrating DHCP with Naming Services

• Lesson 3 Topics

• Dynamic updates in DNS• Integrating DHCP with DNS

Page 38: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

38

Integrating DHCP with Naming Services

• Lesson Objectives

• To integrate DNS and DHCP• To describe how Dynamic DNS updates work• To identify how DHCP client updates are

typically handled

Page 39: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

39

Registering for DNS Updates

• Windows 2000 can register with a DNS server.

• Supports DNS Dynamic update protocol for automatic record updating.

• DHCP acts as registration proxy.

• An additional DHCP Option Code 81 enables return of fully qualified domain name (FQDN).

• DHCP and static DNS are not compatible.

Page 40: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

40

DHCP Clients and DNS

• DHCP servers provide default support for legacy DHCP clients in DNS zones.

• DHCP/DNS update interaction for Windows 2000.

• DHCP/DNS update interaction for pre-Windows 2000.

Page 41: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

41

A DHCP Client Interacting with the DNS Dynamic Update Protocol

Page 42: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

42

DHCP/DNS Interaction with Older Windows Clients

Page 43: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

43

Using DHCP with Active Directory

• Lesson 4 Topics

• Integration with Active Directory and DNS service

• Monitoring as statistical reporting for DHCP servers

Page 44: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

44

Using DHCP with Active Directory

• Lesson Objectives

• To describe how IP address and naming management is managed through DHCP and Active Directory integration

• To describe how DHCP servers are authorized

Page 45: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

45

Integrated IP Management

• Windows 2000 Sever naming and address services offer flexibility and interoperability with other address and naming systems

• Address assignment and naming services

• Support for legacy servers

• New with Windows 2000 Server is support for Dynamic DNS, Active Directory integration of DHCP and DNS, and DHCP rely agent

Page 46: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

46

Rogue Server Detection Feature

• Windows 2000 detects unauthorized DHCP servers.

• DHCP servers not authorized are not able to run the DHCP service.

Page 47: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

47

Troubleshooting DHCP

• Lesson 5 Topics

• Troubleshooting DHCP clients• Troubleshooting DHCP servers

Page 48: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

48

Troubleshooting DHCP

• Lesson Objectives

• To identify and solve DHCP client problems• To identify and solve DHCP server problems

Page 49: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

49

Preventing DHCP Problems

• Use 75/25 design rule.

• Use superscopes for multiple DHCP servers on each subnet. A superscope allows a DHCP server to provide leases from more than one scope to clients on a single physical network.

• Deactivate scopes only when removing a scope permanently.

• Use server-side conflict detection.

Page 50: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

50

Preventing DHCP Problems (con’t)

• Create reservations on all potential DHCP servers.

• DHCP is disk intensive; use optimal hardware. Consider RAID 0 or RAID 5 solutions when purchasing hardware for your server computer.

• Use audit log.

• Integrate DHCP with other services, such as DNS and WINS

• Use appropriate number of DHCP servers.

Page 51: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

51

Number of DHCP Servers

• Size of network

• Number of DHCP-enabled clients

• Transmission speed between network segments

• Speed of network links

• IP address class of the network

• Isolated or multiple DHCP servers

Page 52: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

52

Troubleshooting DHCP Clients

• Failed IP configuration

• Invalid IP address configuration

• Autoconfiguration problems (Microsoft has reserved IP addresses from 169.254.0.1 through 169.255.254 and uses this range to support APIPA

• Missing configuration details

• DHCP not providing IP addresses

Page 53: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

53

Failed IP Configuration

• Check for client problem.

• Check system event log and DHCP audit logs for clues.

• Use Ipconfig TCP/IP utility.

Page 54: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

54

Invalid IP Address

• Client does not have IP address, or client has IP address of 169.254.x.x.

• Client cannot contact DHCP server.

• Determine whether network hardware failure or DHCP server is unavailable.

• Verify that client has valid functioning network connection.

• Check hardware.

Page 55: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

55

Autoconfiguration Problems

• Windows could not find a DHCP server and provided APIPA IP address.

• In larger networks, consider disabling APIPA.

Page 56: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

56

Missing Configuration Details

• Client is missing DHCP options.

• Verify that options distribution is configured at server, scope, client, or class level.

• Check DHCP option settings.

• DHCP is configured with incorrect DHCP router option (Option Code 3).

Page 57: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

57

DHCP Servers Do Not Provide IP Addresses

• IP address of the DHCP server was changed.

• DHCP clients are located across router from subnet where DHCP server resides.

• Multiple DHCP servers exist on same local area network (LAN).

Page 58: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

58

Three Ways to Discover Problem

• Client configured to use an address not provided by the server.

• Server sends error message back to client.

• Server leases IP address, but client has network configuration-based problems.

Page 59: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

59

Relay Agent Not Working

• DHCP Relay Agent and DHCP server are on the same computer.

• Install DHCP server and DHCP Relay Agent on different computers.

Page 60: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

60

Console Reports Incorrect Lease Expirations

• Scope time and lease time should be identical.

• Reassign lease times or add reservations to the scope.

Page 61: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

61

No Address Leases for New Scope

• Configure DHCP server to use superscope with old and new scopes.

• Change primary IP address to that in new scope.

• Windows NT Server 3.51, change first IP address to address in new scope range.

Page 62: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

62

System Monitor

• All types of DHCP messages sent and received

• Average amount of processing time per message packet sent and received

• Number of message packets dropped from internal delays

Page 63: 1 Microsoft Windows 2000 Network Infrastructure Administration Chapter 10 Implementing Dynamic Host Configuration Protocol (DHCP)

63

Moving DHCP Server Database

• May need to move DHCP database to another computer

• May need to reconcile database

• Can force lease updates by typing Ipconfig /renew


Recommended