networking:dhcp
This is an old revision of the document!
Table of Contents
DHCP
Also, remember the port flow:
- client to relay source udp-68 to udp-67
- relay to server udp-67 to udp-67
- server to relay udp-67 to udp-67
- relay to client udp-67 to udp-68
DHCP Option Codes
| DHCP Option | Description |
|---|---|
| 015 | Specifies the connection-specific DNS domain suffix to be used by the DHCP client. |
| 119 | DNS Domain Search List option to specify the domain search list used when resolving hostnames with DNS. |
Move Windows DHCP Server
Assuming you are moving DHCP from DC1 to DC2
On DC1
- Open terminal
netshDHCPserver \\dc1export c:\w2k3DHCPdb all- Copy to dc2
On DC2 (Assuming it is Server 2012)
- From within Server Manager, select Add roles and features
- Select Role-based of featured-based installation and select Next.
- On the Server Selection window, leave the default and select Next. When the Server Roles window opens, select DHCP. Select Add Features in the pop-up window, then select Next.
- Once the DHCP install has been completed, select DHCP located in the Server Manager dashboard
- Right click the designated DHCP server in the services pane, then select Stop.
- Delete the DHCP.mdb file under the folder
C:\windows\system32\DHCP. - Return to DHCP located in the Server Manager dashboard
- Right click the designated DHCP server in the services pane, then select Start.
- Right-click on the bottom left hand side of the desktop screen to invoke the admin menu
- Select Command Prompt (Admin) to open the cmd prompt using elevated privileges.
netshDHCPserver \\Name or IP Addressimport C:\w2k3DHCPdb- Close the command prompt when completed.
Simply setup your scope options for your new Windows Server 2012 DHCP server and then Authorize it within your domain and the migration is complete. (The GUI should give you a prompt on what to do)
networking/dhcp.1623671139.txt.gz · Last modified: (external edit)
