Posted On March 31, 2019

Dual DHCP Servers on Microsoft Windows

kimconnect 0 comments
blog.KimConnect.com >> Networking >> Dual DHCP Servers on Microsoft Windows
Requirements:
- Windows 2012 Server

1. Export from SERVER1
netsh dhcp server export \\FILESERVER01\IT\scripts\dhcp.txt all

2. Import to SERVER2
Add-WindowsFeature -IncludeManagementTools dhcp
netsh dhcp add securitygroups
Restart-service dhcpserver
netsh dhcp server import \\FILESERVER01\IT\scripts\dhcp.txt all
Add-DhcpServerInDC SERVER2 <SERVER2_IP_ADDRESS>

3. Setup Failover

Add-DhcpServerv4Failover –ComputerName dhcp1.kimconnect.com -PartnerServer dhcp2.kimconnect.com –Name server2016.kimconnect.com-172.16.1.100-2 –ScopeID 172.16.0.0 –ServerRole Active -Force

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to migrate DHCP Server

1. Run these commands on the existing DHCP server (currently Windows Server 2003)net stop dhcpservercd…

Ping Command’s First Packet Toward LDAP Server(s) Takes 2 Seconds to Start

Case 1: Are DNS servers working? dig returns results right away => defined dns servers…

PowerShell: Scan for Available or Unavailable IPs

This function is a demonstration of multi-tasking using PowerShell. The program will ping multiple targets…