Problem
Each system consumes two IP addresses during boot time, therefore it is possible to exhaust IP lease space if the address space is too small.
Solution 1
Based on MAC address, configure DHCP reservations for each client PC.
Example is from mustbegeek.com Support Article Configure DHCP Reservation in Windows Server 2012 R2
To set up reservation, open DHCP console from Server Manager.
Enter the reservation name, the IP address you want to assign, and client’s MAC address. In this example we want to give IP address 192.168.0.240 for client machine with MAC address of 3c-97-0e-1c-8a-55. Notice that MAC address is written without any special character. Click Add button then close the new reservation window
Configure DHCP Reservation in Windows Server 2012 R2
Enter the reservation name, the IP address you want to assign, and client’s MAC address. In this example we want to give IP address 192.168.0.240 for client machine with MAC address of 3c-97-0e-1c-8a-55. Notice that MAC address is written without any special character. Click Add button then close the new reservation window
To see list of reservations that we have created, go to Reservation folder under that same scope.
This way when this specific client performing DHCP request, the server will give the configured IP address.
Solution 2
Increase DHCP pool size to at least twice the number of available clients.
Example from Netgear Support How do I specify the pool of IP addresses assigned by my Nighthawk router?"
To specify the pool of IP addresses that the router assigns:
1. Launch an Internet browser from a computer or wireless device that is connected to the network.
2. Type http://www.routerlogin.net or http://www.routerlogin.com.
A login screen displays.
3. Enter the router user name and password.
The BASIC Home screen displays.
4. Select ADVANCED > Setup > LAN Setup.
5. Make sure that the Use Router as DHCP Server check box is selected.
6. Specify the range of IP addresses that the router assigns:
a. In the Starting IP Address field, type the lowest number in the range.
This IP address must be in the same subnet as the router.
b. In the Ending IP Address field, type the number at the end of the range of IP addresses, which should be at least twice the number of computer systems.
This IP address must be in the same subnet as the router.
7. Click the Apply button.
Your settings are saved.
8. Attempt booting systems again.
Solution 3
Stagger boot times of systems
Use the Wake-on-LAN feature of ggRock to power on systems (or reboot systems) in batches rather than all at once.
-
Place a check in the checkbox next to each system you wish to power on.
2. Click the "Turn On" button at the top of the screen.
3. Repeat until all desired systems are powered on.
Solution 4
Decrease the DHCP lease time.
-
If available, access the DHCP server settings and adjust the lease value for DHCP leases to a value equal to the total boot time of a client. (e.g. if your boot time is 60 seconds to make it to Windows, make your DHCP lease time 60 seconds.
-
Attempt booting systems again.
Solution 5
Utilize port-based address allocation
This assigns a unique IP address to each port on your network switch
Example from Cisco DHCP Server Port-based Address Allocation Manual
-
Access the command line interface of the switch/router acting as a DHCP server.
-
Type "enable", then press the Enter key, typing password if prompted.
-
Type "configure terminal", then press the Enter key.
-
Type "ip dhcp use subscriber-id client-id", then press the Enter key.
-
Attempt booting systems again.
Solution 6
Configure DHCP server to only hand out one address per client.
NOTE:
The vendor-class-identifier in step 6 will need to be adjusted based on your unique configuration, it may be one of the following:
-
PXEClient:Arch:00000:UNDI:002001
-
PXEClient
-
PXE
-
null
Example from Microfocus OES KB Article 7002606
-
Select the DHCP (OES Linux) tab from the top of the screen
-
Select the Service object you wish to modify
-
With the Service object selected, press the create object button (cube) at the top of the screen.
-
Select Class from the menu and press OK
-
Select the newly created class to modify it.
-
Under the Conditional Expression section add the following string:
match if substring(option vendor-class-identifier,0,3) = "PXE";
default-lease-time 1200;
max-lease-time 1200; -
Restart the dhcp service and test. Please see the Additional Information below should the above-listed vendor-class-identifier not work for you.
NOTE: It is possible to add this class directly to the dhcpd.conf too; however, the Java Management Console will not be able to see or modify it if done this way. -
Attempt booting systems again.
Solution 7
Configure a DHCP policy in Windows Server DHCP Management snap-in
Example from DHCP Server configuration on Windows Server 2012
Right-click on your IPv4 address pool, then click the "Define Vendor Classes..." context menu item.