58
DHCP Server for Windows Server 2012 2012.05 엄기성 1

DHCP Server for Windows Server 2012

Embed Size (px)

DESCRIPTION

PDF used on Windows Server 2012 community, May 10, 2012.

Citation preview

Page 1: DHCP Server for Windows Server 2012

DHCP Server for Windows Server 2012

2012.05

엄기성

1

Page 2: DHCP Server for Windows Server 2012

This Page is blank intentionally.

2

Page 3: DHCP Server for Windows Server 2012

This Page is blank intentionally.

3

Page 4: DHCP Server for Windows Server 2012

This Page is blank intentionally.

4

Page 5: DHCP Server for Windows Server 2012

• I am

– IT Pro. (Since 2000)

– IT Admin. at Bluehole Studio.

• Like

– WDS, AD, GPO, VMware, Vim

• Dislike

– BSOD, Attended Installation

5

Page 6: DHCP Server for Windows Server 2012

DHCP, Why ?

6

Page 7: DHCP Server for Windows Server 2012

DHCP, Important !!

7

Page 8: DHCP Server for Windows Server 2012

DHCP, Important !!

8

500+ Devices 300+ Employees

Page 9: DHCP Server for Windows Server 2012

DHCP provides…..

9

Page 10: DHCP Server for Windows Server 2012

Automatic IP Config.

Centralized IP Mgmt.

PXE-based Infra.

10

Page 11: DHCP Server for Windows Server 2012

Automatic IP Config.

Centralized IP Mgmt.

PXE-based Infra.

11

Page 12: DHCP Server for Windows Server 2012

Automatic IP Config.

Centralized IP Mgmt.

PXE-based Infra.

12

Page 13: DHCP Server for Windows Server 2012

OK. WS2012 comes.

13

Page 14: DHCP Server for Windows Server 2012

3 Cool changes

in DHCP Server

14

Page 15: DHCP Server for Windows Server 2012

DHCP Server Failover

Policy-based assign.

PowerShell support.

15

Page 16: DHCP Server for Windows Server 2012

DHCP Server Failover

Policy-based assign.

PowerShell support.

16

Page 17: DHCP Server for Windows Server 2012

DHCP Server Failover

Policy-based assign.

PowerShell support.

17

Page 18: DHCP Server for Windows Server 2012

Details on

DHCP Server Failover

18

Page 19: DHCP Server for Windows Server 2012

RFC-Based feature

19

Page 20: DHCP Server for Windows Server 2012

20

Page 21: DHCP Server for Windows Server 2012

Already in ISC DHCP

21

Page 22: DHCP Server for Windows Server 2012

22

Failover with ISC DHCP http://www.madboa.com/geek/dhcp-failover/ Paul Heinlein <[email protected]> Initial publication: November 6, 2005

Page 23: DHCP Server for Windows Server 2012

Now in WS2012

23

Page 24: DHCP Server for Windows Server 2012

I love its Simplicity.

24

Page 25: DHCP Server for Windows Server 2012

I love its Simplicity.

25

Page 26: DHCP Server for Windows Server 2012

Split Scope

Failover cluster

26

Page 27: DHCP Server for Windows Server 2012

Split Scope

Failover cluster

Not simple !!!!

27

Page 28: DHCP Server for Windows Server 2012

Split Scope

28

Two DHCP servers back each other up by each hosting part of the IP address range of a scope. Split scope deployment does not provide IP address continuity and is unusable in scenarios where the scope is already running at high utilization of address space, which is very common with Internet Protocol version 4 (IPv4). - Understand and Troubleshoot DHCP Failover in Windows Server 8 Beta

Page 29: DHCP Server for Windows Server 2012

Failover cluster

29

By using clustering support for DHCP, administrators can implement DHCP server failover for a single site, achieving greater fault tolerance. The clustering deployment uses a single shared storage. This makes the storage a single point of failure, and requires additional investment in redundancy for storage. In addition, clustering involves relatively complex setup and maintenance. - Understand and Troubleshoot DHCP Failover in Windows Server 8 Beta

Page 30: DHCP Server for Windows Server 2012

Demo

PowerShell support

30

Page 31: DHCP Server for Windows Server 2012

31

LAB

Page 32: DHCP Server for Windows Server 2012

Limit

IPv4 Scope only.

Max 2 DHCP Servers.

32

Page 33: DHCP Server for Windows Server 2012

Details on

Policy-based assign.

33

Page 34: DHCP Server for Windows Server 2012

Already in ISC DHCP

34

Page 35: DHCP Server for Windows Server 2012

35

HOWTO setup a PXE 2.x server under Linux http://people.mandriva.com/~aginies/doc/pxe/ch04.html#id2522426 First public version: 19 Febuary 2002

Page 36: DHCP Server for Windows Server 2012

5 Info from client

Vendor Class

User Class

MAC Address

Client Identifier

Relay Agent Info. 36

Page 37: DHCP Server for Windows Server 2012

2 Operator

AND

OR

MAC Address

Client Identifier

Relay Agent Info. 37

Page 38: DHCP Server for Windows Server 2012

DHCP Request

AND

OR

MAC Address

Client Identifier

Relay Agent Info. 38

Page 39: DHCP Server for Windows Server 2012

Demo

PowerShell support

39

Page 40: DHCP Server for Windows Server 2012

40

LAB

Page 41: DHCP Server for Windows Server 2012

Note

Keep It Simple !!!

41

Page 42: DHCP Server for Windows Server 2012

Note

Keep It Simple !!!

42

Page 43: DHCP Server for Windows Server 2012

Note

Keep It Simple !!!

Do not trust Client !!!

43

Page 44: DHCP Server for Windows Server 2012

Details on

PowerShell support

44

Page 45: DHCP Server for Windows Server 2012

100+cmdlet

_

45

Page 46: DHCP Server for Windows Server 2012

100+

_

46

Page 47: DHCP Server for Windows Server 2012

Demo

PowerShell support

47

Page 48: DHCP Server for Windows Server 2012

48

LAB

Page 49: DHCP Server for Windows Server 2012

Good Bye~ “Netsh DHCP Server”

_

49

Page 50: DHCP Server for Windows Server 2012

Conclusion

50

Page 51: DHCP Server for Windows Server 2012

This Page is blank intentionally.

51

Page 52: DHCP Server for Windows Server 2012

Install WS2012.

Install RSAT for DHCP.

Play with PS 3.0

When RTM ready, use DHCP Server Failover.

52

Page 53: DHCP Server for Windows Server 2012

Install WS2012.

Install RSAT for DHCP.

Play with PS 3.0

When RTM ready, use DHCP Server Failover.

53

Page 54: DHCP Server for Windows Server 2012

Install WS2012.

Install RSAT for DHCP.

Play with PS 3.0

When RTM ready, use DHCP Server Failover.

54

Page 55: DHCP Server for Windows Server 2012

Install WS2012.

Install RSAT for DHCP.

Play with PS 3.0

When RTM ready, use DHCP Server Failover !!

55

Page 56: DHCP Server for Windows Server 2012

Thank you.

56

Page 57: DHCP Server for Windows Server 2012

Resources Dynamic Host Configuration Protocol (DHCP) overview

http://technet.microsoft.com/en-us/library/hh831825.aspx

Step-by-Step: Configure DHCP for Failover

http://technet.microsoft.com/en-us/library/hh831385.aspx

Step-by-Step: Configure DHCP Using Policy-based Assignment

http://technet.microsoft.com/en-us/library/hh831538.aspx

PowerShell and DHCP: 1 – servers

http://msmvps.com/blogs/richardsiddaway/archive/2011/09/20/powershell-and-dhcp-1-servers.aspx

PowerShell 3 and DHCP 2: scopes

http://msmvps.com/blogs/richardsiddaway/archive/2011/09/23/powershell-3-and-dhcp-2-scopes.aspx

Configuring DHCP failover in Windows Server 8 beta

http://terrytlslau.tls1.cc/2012/04/configuring-dhcp-failover-in-windows.html

Microsoft DHCP Vendor and User Classes

http://support.microsoft.com/kb/266675

Option Classes

http://technet.microsoft.com/en-us/library/cc958901.aspx

57

Page 58: DHCP Server for Windows Server 2012

Resources Failover with ISC DHCP http://www.madboa.com/geek/dhcp-failover/

iPhone DHCP

http://xeraph.com/5295980

BOOTP / DHCP options

http://www.networksorcery.com/enp/protocol/bootp/options.htm

Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters

http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xml#options

Contents of DHCP Vendor Class Identifier

http://en.wikipedia.org/wiki/Boot_Service_Discovery_Protocol#Contents_of_DHCP_Vendor_Class_Identifier

http://opensource.apple.com/source/bootp/bootp-198.1/Documentation/BSDP.doc

DHCP Basics

http://support.microsoft.com/kb/169289/EN-US

All about DHCP vendor classes and user classes http://blogs.msdn.com/b/anto_rocks/archive/2005/02/25/380231.aspx

58