In network management, we usually encounter some porting problems, such as the DHCP porting problem we are talking about today. With the increasing number of LAN clients, the original DHCP server cannot meet the needs of the LAN. Replacing a new DHCP server is a good solution, but you need to reconfigure the new DHCP server, which requires a great deal of work. To address this problem, Tom intends to port the original DHCP server database to the new DHCP server, which can reduce the workload When configuring the new DHCP server, you do not need to reconfigure the IP address segment and some special DHCP settings.
The methods for database migration between DHCP servers on different Windows server platforms are also different. There are methods to port DHCP Server databases based on Windows Server 2003 (Windows 2003 for short), and also methods to port DHCP Server databases based on Windows 2000 Server and Windows 2003. Now let's take a look at how to use these methods.
1. Porting between Windows 2003
If you want to port a database from a Windows 2003 system DHCP server to another Windows 2003 system DHCP server, you can easily use the NETSH command.
Step 1: Go to the "command prompt" window in the original DHCP server and run "netsh dhcp server export c: \ dhcp. txt all command to back up the database in the DHCP server to the "dhcp. txt file.
Step 2: copy the mongodhcp.txt backup file to the c root directory of the new DHCP server, and run "netsh dhcp server import c: run the \ dhcp.txt all command to port the DHCP server database.
2. Porting between Windows 2000 Server and Windows 2003
In Windows 2000 Server and Windows 3, The dhcpserver data library is transplanted by using the help tool "dhcpexim.exe" (: http://www.microsoft.com/windows2000/techinfo/reskit/tools/new/dhcpexim-o.asp.
Step 1: Stop the DHCP service on Windows 2000 Server.
Step 2: compress the DHCP database. Run the "cd % systemroot % \ system32 \ dhcp" command in the "command prompt" Window of Windows 2000 Server to enter the directory where the DHCP database is located, and then run "jetpack dhcp. mdb temp. mdb command to complete dhcp. mdb.
Step 3: export the DHCP database. Run Export dhcpexim.exe. In the welcome dialog box, select "Export configuration ...", Click the export Okamoto button to access the export and export file dialog box, and click "save" to specify and name the exported file (for example, dhcpdatabase.txt. In the export range dialog box, select "Disable the selected scopes on ......", Click "Export" to complete the Export operation.
Step 4: port the DHCP database. Set dhcpdatabase. copy the txt file to the C root directory of the Windows 2003 server, and run the "netsh dhcp server import c: \ dhcpdatabase.txt all" command in the "command prompt" window to port the DHCP database.