Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: bizarre windows server DHCP scripting question

bizarre windows server DHCP scripting question 6 years 11 months ago #33248

  • floppyraid
  • floppyraid's Avatar
  • Offline
  • Frequent Member
  • Posts: 20
  • Karma: 0
Greetings,

I want to know if this is possible:

I have a Windows 2003 Server, I have multiple DHCP scopes for various subnets and vlans I have. But I want to be able to copy all of the DHCP MAC address reservations from one scope to another scope on the fly.

In other words, when I add a DHCP reservation, I dont want to have to do it in multiple scopes, instead, I would like to make the changes to one scopes reservations, and then run a script that will mirror all of the data from one scope to another scope.

Is this possible? Can you point me in the direction of what I would need to use to do this? (would I need to use powershell or can I do this though a simple batchfile, or would I need some other cli utility?)

thanks ahead of time :)
The administrator has disabled public write access.

update 6 years 11 months ago #33249

  • floppyraid
  • floppyraid's Avatar
  • Offline
  • Frequent Member
  • Posts: 20
  • Karma: 0
the netsh command will probably not do what i want it to do.

doing an export with:

netsh dhcp server export c:\temp\test ((SCOPEIP))

wouldnt do me any good because i dont want the subsequent imported reservations to maintain the same IP address (since they would be 'imported' into a different scope)

also the netsh command doesnt just dump raw flat text information. it dumps rather cryptic information like:

N P I 8 E 8 E 0 9 , C o m p L a b H P 4 0 5 0 L a s e r ÿÿÿÿÿÿÿqw
A„ÿÿÿ


etc.


any pointers in any possible right directions would be appreciated
The administrator has disabled public write access.
Time to create page: 0.072 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup