Welcome to TechNet Blogs Sign in | Join | Help

Microsoft Windows DHCP Team Blog

The world's most deployed DHCP Server! Deploy and discuss about your fav. server, here!
How to Assign a Dynamic address to A server by making a reservation for the server

Obtain the MAC address of the server's interface for which we want to assign a Fixed DHCP address, And add a reservation using below command

  netsh dhcp server <DhcpServer'sAddress> Scope <Scope_ID> add reservedip <Fixed DHCP Address> MAC-Address

 For EX:

  netsh dhcp server 10.2.2.1 Scope 10.2.2.0 add reservedip 10.2.2.32 08002b30369b

Adds a reservation of 10.2.2.32 address for the machine having MAC address 08002b30369b in the scope 10.2.2.0

We can also add reservations specific to a particular interface using the below command.

  netsh dhcp server 10.2.2.1 Scope 10.2.2.0 set reservedoptionvalue reservedip option_code option_type option_values

For Ex:

  netsh dhcp server 10.2.2.1 Scope 10.2.2.0 set reservedoptionvalue 10.2.2.32 003 IPADDRESS 10.1.1.1 10.1.1.2

  Adds Router Addresses (Option3) of 10.1.1.1 , 10.1.1.2 to the reservation of 10.2.2.32. So when the reserved client requests for the options, These specific option values are retrieved and given to the client.

 - Vamshi

 

Posted: Tuesday, December 12, 2006 7:09 PM by teamdhcp

Comments

how to assign dhcp said:

# April 17, 2008 8:25 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker