Questions

netsh reservation sets type to DHCP, need BOTH

+
0 Votes
Locked

netsh reservation sets type to DHCP, need BOTH

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"
  • +
    0 Votes
    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

    +
    0 Votes
    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.

  • +
    0 Votes
    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

    +
    0 Votes
    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.