MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

21
Dynamic Host Configuration Protocol Microsoft Server 2008 R2

Transcript of MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Page 1: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Dynamic Host Configuration Protocol

Microsoft Server 2008 R2

Page 2: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Dynamic Host Configuration Protocol

• MAC Address• IP Addressing• DHCP Client• DHCP Server• Scope• Exclusion Range• Reservations• Netsh

Page 3: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

HISTORY OF DHCP

Page 4: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

THE ROLE OF DHCP

• Dynamically assigns TCP/IP addresses• Dynamically assigns TCP/IP configuration

information• Simplifies network administration

Page 5: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

DYNAMIC VERSUS MANUAL TCP/IP ADDRESS ASSIGNMENT

MMaannuuaall TTCCPP//IIPP CCoonnffiigguurraattiioonn AAuuttoommaattiicc TTCCPP//IIPP CCoonnffiigguurraattiioonn

IP addresses entered manuallyon each client computer

IP addresses are supplied auto-matically to client computers

Possibility of entering incorrector invalid IP address

Ensures that client always usescorrect configuration information

Incorrect configuration canlead to communicationand network issues

Client configuration updatedautomatically to reflect network

changes

Administrative overload onnetworks on which computersare frequently moved

Elimination of source of networkproblems

Page 6: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Ethernet Address and IP address

• Each machine has an Ethernet address and IP address– Ethernet is a unique 48 bit address

• Also known as MAC (media access control) addresses

Page 7: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Ethernet Address and IP Address

• Can also view the MAC address by typing:– C:\>ipconfig /all– Start->run->msinfo32 <enter>

Page 8: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

IP Addressing Rules and Concepts

• Addresses you cannot assign– Default route address: 0.0.0.0– Loopback address: 127.0.0.1– Network number: 172.17.13.0– IP Broadcast address: 172.17.13.255

Page 9: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Dynamic Host Configuration Protocol

• Used for manageability and automation of IP address assignment on networks.– Ie. ISP’s use

DHCP when you establish connection.

Page 10: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Scopes and Superscopes

• When configuring DHCP, the first step is to create a range of addresses that will be managed. This is called a scope.

• A single DHCP server can service more than one subnet by assigning a scope to each subnet.

• You can create a superscope to service more than on range of IP’s on the same segment.

Page 11: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

DHCP MESSAGE TYPES

Used by clients to obtain additional TCP/IP addresses

DDHHCCPP MMeessssaaggee TTyyppee DDeessccrriippttiioonnDHCPDISCOVERUsed by clients to request configuration parameters

from a DHCP serverDHCPOFFER Used by servers to offer IP addresses to requesting

clientsDHCPREQUESTUsed by clients to accept or renew IP address

assignment and to decline unaccepted serversDHCPDECLINEUsed by clients to reject an offered IP addressDHCPACK Used by servers to acknowledge a client’s

acceptance of an offered IP addressDHCPNACK Used by servers to reject a client’s acceptance of an

offered IP addressDHCPRELEASEUsed by clients to terminate an IP address leaseDHCPINFORM

Page 12: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

THE INITIAL DHCP LEASE PROCESS

Page 13: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

DHCP LEASE RENEWAL PROCESS

Page 14: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

WHAT IS A DHCP RELAY AGENT?

Page 15: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Leases, client options exclusions and reservations

• A lease determines how long the client will maintain the same IP address before it is issued a new lease of another IP address

• Client options are configured during the setup or after. They can range from simply setting the default gateway, DNS and WINS servers to Network Time Servers and NetBios Settings

• Exclusions are IP Addresses within the scope that you do not want assigned dynamically. For instance you may statically assign your server’s IP address and do not want that assigned to another machine. What would happen if it did assign it’s own IP address?– A single exclusion can be created or a range of exclusions

• Reservations ensure that the same MAC gets the same ip address every time. Reservations are created within the scope.

Page 16: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

DHCP Management Console

Page 17: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

WHAT IS A DHCP SCOPE?

Page 18: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

WHAT IS A DHCP SCOPE?

Page 19: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

WHAT ARE DHCP CLIENT RESERVATIONS?

Client reservations permanently reserve a specific address for a specific client.

Page 20: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Manually Renewing/ReleasingIPCONFIG /RELEASE Releases IP Address configuration and

lease

IPCONFIG /RENEW Request to renew same IP address or new IP Address

Page 21: MAC Address IP Addressing DHCP Client DHCP Server Scope Exclusion Range Reservations Netsh.

Questions