Question

Locked

netsh reservation sets type to DHCP, need BOTH

By implodeme ·
DHCP service question. we use DHCP for a set of devices, this configuration includes bootp. I have a need to change them all to reservations (3rd party application IP dependency).
using netsh command I am able to easily insert all the necessary reservations however it only configures the reservation as DHCP and not bootp. I need BOTH(dhcp and bootp).
Anyone know how to set value BOTH through a script or automation process?

Example cmd for reservation
netsh dhcp Server 192.168.123.5 Scope 192.168.123.0 Add reservedip 192.168.123.45 03134902cce8 "JOE USER"

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Resolved after some syntax checking

by implodeme In reply to netsh reservation sets ty ...

I had tried BOTH at the end of my example netsh command however I am missing the 'description' thus when I added BOTH at the end it became the 'description'

Proper command:
netsh dhcp Server 192.168.123.5 Scope 192.168.123.0 Add reservedip 192.168.123.45 03134902cce8 "JOE USER" "DEPARTMENT" BOTH

Collapse -

you need \\ before the server name

by NassimJD In reply to netsh reservation sets ty ...

you need \\ before the server name to do the reservation remotely otherwise log on the server and you wont need an ip address number after the word server.

Back to Networks Forum
3 total posts (Page 1 of 1)  

Hardware Forums