DHCP Server Import address

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.