1: Use the netsh command to export an existing IP address of the DHCP server as a text file
Netsh DHCP server 192.168.2.222 scope 192.168.2.0 dump> C: \ dhcpd.txt
192.168.2.222 indicates the IP address of the DHCP server. If the IP address is not specified, the local host is used. Scope indicates the scope.
2: The network number of the scope must be the primary network number. Then delete the scope. Otherwise, the import will fail.
3: edit the dpcpd.txt file to add the corresponding I, Mac, and reserved name, and then run netsh-f c: \ dhcpd.txt to import the reserved address.
Or directly use the command to add
Netsh DHCP server 192.168.2.222 scope 192.168.2.0 add reservedip 192.168.2.223 00215e4f505e Server
Followed by IP address, MAC address, and reserved name
2: The network number of the scope must be the primary network number. Then delete the scope. Otherwise, the import will fail.
In addition, Server 2008 must be operated as an administrator.
DHCP Server Import address