Hi.
I'm trying to set up a NETSH script that will server as a backup. I would be
using the command NETSH < add_res.cmd to recreate the settings.
Will the following work? [The domain is called - for this example - DAA.Inc
on server PE1950.]
dhcp
server \\pe1950
add scope 192.168.71.0 255.255.255.0 DAA_Inc
scope 192.168.71.0
add iprange 192.168.71.200 192.168.71.240
set state 1
set optionvalue 003 IPADDRESS 192.168.71.63
set optionvalue 004 IPADDRESS 192.168.71.9 192.168.71.4
set optionvalue 005 IPADDRESS 192.168.71.9 192.168.71.4
set optionvalue 006 IPADDRESS 192.168.71.9 192.168.71.4
set optionvalue 015 WORD DAA_Inc
' below sets lease to 8 days
set lease 691200
|