34,333
edits
Changes
→Configuring DHCP Reservations
[[Image:windows_server_2008_DHCP_reservations.jpg|Preparing to add a newreservation to a DHCP scope]]
[[Image:windows_server_2008_DHCP_new_reservation.jpg|Adding a new reservationto a DHCP scope]]
To add a reservation using '''netsh''' the following syntax is used:
'''netsh dhcp server''' \\''servername'' '''scope''' ''subnetID'' ''addreservedip'' ''IPaddress MacAddress ReservationName Comment''
For example the following command reserves an IP address for a specific MAC
<pre>
C:\Users\Administrator>netsh dhcp server \\winserver-2 scope 192.168.2.0 addreservedip
192.168.2.12 0013720B1457 "CEO Printer" "Printer in Exec Suite"