question

MuhammadAmad-1036 avatar image
0 Votes"
MuhammadAmad-1036 asked DSPatrick action

Error while importing subnet 10.10.0.0

Error while importing subnet 10.10.0.0 "Scope name" .

This subnet already exists on the local server.

TLS supported but not configured...


getting this error on server 2016 while importing one DHCP scope , this scope i already removed from DHCP server now again importing facing this error ,please suggest

windows-dhcp-dns
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

CandyLuo-MSFT avatar image
0 Votes"
CandyLuo-MSFT answered

Hi,

Please use Import-DhcpServer powershell cmdlet and add Force Parameters.

Export DHCP scope:

 Export-DhcpServer -ScopeId 10.10.0.0 -file c:\scope.xml -leases -Force -ComputerName old.network.local -verbose

Import DHCP scope:

 Import-DhcpServer -file c:\scope.xml -BackupPath c:\dhcp\ -leases -scopeoverwrite -force -ComputerName new.network.local -verbose

As picture below:

86685-image.png

Best Regards,
Candy


If the Answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



image.png (153.1 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.