—–Export all leases

netsh dhcp server dump > test.csv

—Subnet delay in milliseconds

If you have 2 DHCP Servers, you can make the secondary one have a 10ms delay

this will mean that the primary server always responds to the Broadcast DORA.

—Parent Domain

Automatically add the domain name cisco.com when accessing server hostnames

eg. Ping websrv will ping websrv.cisco.com

—DORA

Discovery – udp 67

—WDS

listens on udp port 67 for PXE boot requests.

Cannot listen on udp 67 if installed on the DHCP server which is already using

this port.

—Filters

Only allow this mac address

deny this MAC address. //Can type BC* = BC:XX:XX:XX:XX

—DHCP Duplicate detection

If you want Host machines to ping the DHCP IP address before using a new leased

IP address do this

//Configuration

IPV4-> Properties -> Advanced -> Conflict detection Attempts = 1

—Backup / Restore

//Configuration

right click scope – backup

Right click scope – Restore

Right click scope – Reconcile

—Relay DHCP

Instead of the ip helper-address on the cisco vlan/interface we can configure a MS server

to relay the DHCP DORA requested to the AD server.

//Configuration

1. Install Remote Access

2. Roles “Routing and remote access”

3. Start the service routing and remote access in services.msc

4. Lauch Routing and remote access

5. Click Configure and Enable routing and remote access

6. Choose LAN-Routing

7. IPv4 -> New routing protocol -> DHCP Relay

8. DHCP Relay Agent -> Properties Add DHCP server

9. Add interface Ethernet5

—Failover

Maximium client lead time = Max lease time + Padding

//Load Balancing configuration

1. Assign a static IP to the DHCP Servers. Note required a Reboot.

2. On the primary right click IPv4 -> Configure Failover

3. choose your subnets + enter the hostname of the secondary peer.

4. Configure the switchover interval eg 5mins

IPv4 -> Properties -> Failover Edit -> State switchover interval

5. On the vlan interface/default gateway

  -ip helper-address 1.1.1.1

  -ip helper-address 2.2.2.2

//Active\Standby configuration

1. Assign a static IP to the DHCP Servers. Note required a Reboot.

2. On the primary right click IPv4 -> Configure Failover

3. choose your subnets + enter the hostname of the standby peer.

4. Configure the switchover interval eg 5mins + HotStandby mode

IPv4 -> Properties -> Failover Edit -> State switchover interval

5. On the vlan interface/default gateway

  -ip helper-address 1.1.1.1

  -ip helper-address 2.2.2.2

—Maximium client lead time

Configure a time maximium for the DHCP lease.

Eg even if set to 8 days the failover lead time configured here will over-ride the time

IPv4 -> Properties -> Failover -> Edit -> Maximium client lead time

—Migrate DHCP Server

Export the DHCP role

1. export-dhcpserver -file C:\1.xml

Import the DHCP role

—DHCP Policies

//Scope Policy

Based on the MAC address or hostname we can allocate a certain range of IP addresses.

Note this overrides any server policy.

DHCP manager -> IPv4 -> Scope 10.0.0.0 -> Policies -> Add

//Server Policy

Applies to all scopes, unsure where to configure it.

2. import-dhcpserver -file C:\1.xml

—DHCPv6 Ipv6

  1. Put a static IPv6 on the server -> 2001::5
  2. Configure the routeripv6 unicast routingint vlan 90ipv6 2001::1/64
  3. Win7Ipconfig /release6Iponcig /renew6
  4. Obtain the Details for reservation

ipconfig /all | more

DHCPv6 IAID – 50337117

DHCPv6 Client DUID – Format  

00

01000115F97FABF0DEF17A005E

Leave a Reply