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

Enterasys Core Switch/Router Commands

Enable Untagged Vlans:------------------------------------------------------------------set port vlan ge.2.1-30 20set vlan egress 20 ge.2.1-30 untaggedreloadEnable jumbo frame support:show…

PowerShell: Set DNS Servers on Localhost

Display the current DNS Server Entries PS C:\Users\KimConnect> Get-DnsClientServerAddressInterfaceAlias Interface Address ServerAddressesIndex Family-------------- --------- -------…

PowerShell: Initiate Tests on Certain Ports

This appears to be a duplicate of another post. function initTestPort($portNumber=5985,$maxTests=3){ function getIndexDifference { param(…
Other project: DragonCoin.com