Question Locked

netsh reservation sets type to DHCP, need BOTH

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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"

3 replies

by implodeme

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

by nassimjd

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.

This discussion is closed to new replies.