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
Cyber SecurityMicrosoft Entra IDMicrosoft Technologies

Microsoft Entra lifecycle workflows Part 02 - How to synchronize value for employeeHireDate attribute from on-premises Active Directory ?

In my previous blog post, I explained how we can automate JML (Joiners/Movers/Leavers) process by…
Read more
Azure servicesMicrosoft Entra IDMicrosoft Technologies

Step-by-Step Guide : Automate JML(Joiners/Movers/Leavers) process with Microsoft Entra lifecycle workflows

JML (Joiners/Movers/Leavers) process of an organization has a major impact on its security and…
Read more
Cyber SecurityMicrosoft DefenderMicrosoft Technologies

Microsoft Defender for Identity Part 02 – Create Directory Service Account

In Part 01 of Microsoft Defender for Identity blog series, I have explained about Microsoft Defender…
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 *