Follow via:
RSS
Email Alert
Question
0 Votes
+ -

netsh reservation sets type to DHCP, need BOTH

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"
17th Feb 2010

Answers (2)

0 Votes
+ -
Resolved after some syntax checking
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
17th Feb 2010
0 Votes
+ -
you need \\ before the server name
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.
6th Apr 2011
Answer the question
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.