Site icon REBELADMIN

IP reservation with DHCP

There are situations where some pc, servers should have fixed ip always. One way to do is assign static ip to those devices. But since DHCP intend to go away from static mappings there is way we can reserve a IP address for a device using DHCP config. So when the particular computer or device request IP from DHCP server it will check with its IP reservation rules and issue the IP address define on the rule. So always this particular machine will get the same IP address.

This reservation is doing based on the MAC address which used by the computer which needs permanent ip. MAC is unique address so it wants make any conflict with any other computer in the network.

In the demo I will explain how to do a reservation and how it’s working.

As first step need find the MAC address of the client pc which needs a reservation. To find it log in to the computer and open command prompt > type ipconfig /all. In their it shows the MAC as below. Before do this make sure the PC is set to DHCP as described in previous section.

Now need to log in to the server where DHCP configured. Then open the DHCP console > expand IPV4 > expand the Scope required the config.

Then right click on reservation and select option “New reservation”

In next window can define the ip address which will be map to this reservation, the MAC address of the client pc and description. Also can select if its BOOTP reservation or DHCP reservation. In here I choose both. Once done click ok “add” to complete the reservation.

Then need to go back to client PC and type following commands in CMD

•    Ifconfig /release – This is to release the DHCP address it had
•    Ifconfig /renew – This is to get new ip from the DHCP server

Then it shows it’s got the IP address as set in the reservation.

In the DHCP server reservation section also will show it as the reservation is active.

Exit mobile version