Microsoft TechnologiesWindows Server

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.

res1

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”

res2

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.

res3

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.

res4

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

res5

Related posts
Azure servicesMicrosoft Entra IDMicrosoft Technologies

Step-by-Step Guide: Configure Entra ID lifecycle workflow to trigger mover task on user profile changes

The Entra ID lifecycle workflow is a feature of Microsoft Entra ID identity governance and Microsoft…
Read more
Cyber SecurityMicrosoft Entra IDMicrosoft Technologies

Step-by-Step Guide: How to setup Entra ID Restricted management Administrative Units ?

In my previous blog post, I discussed what Entra ID Administrative Units are and how they can be…
Read more
Microsoft Entra IDMicrosoft Technologies

Step-by-Step Guide: How to setup Entra ID Administrative Units ?

If you have worked with Microsoft Active Directory before, you may be familiar with…
Read more
Newsletter
Become a Trendsetter

Sign up and get the best of RebelAdmin, tailored for you.

Leave a Reply

Your email address will not be published. Required fields are marked *