Anyone, pls help me to use our existing Windows 2012R2 DHCP server for Clonezilla Server edition and I would like to use our Windows 2012R2 server share path for restoring images.
Thanks in advance.
10 Spice ups
What’s the problem?
DHCP will give out IP addresses to any device that requests them, as long as it’s on the same subnet as the DHCP server or as long as there is a DHCP relay in place.
jim4232
(Jim4232)
3
1 - In DHCP option 66, use the server IP address not the DNS name of the server
2 - Make sure there are no spaces in the target name for the storage location ->DATA_STORE not “DATA STORE”
Other than those tip it should be pretty straight forward if you follow the directions and get the setup process correct. On occasion the setup process may need to be rerun because of a typo, have done this a couple of times!
Still, I am struggling to configure Clonezilla with our existing windows 2012 DHCP server, I am trying to achieve solution3 from this link https://drbl.org/faq/fine-print.php?path=./2_System/37_coexist_with_existing_dhcp.faq.
but unfortunately, for pxe boot it is taking IP from Clonezilla DHCP server after that it is taking IP from Windows DHCP server and failed to start clonezilla.
Can any one pls help me who is using Clonezilla server edition using windows 2012 DHCP Server.
Thanks in advance.
tdeux
(Tdeux)
5
Hi cjiwonder,
I encounter the same problem than you and I solved it with the solution 3 from the link you give plus the following.
You need 3 more things in the Windows 2012 R2 DHCP Server to do it properly.
If you like dirty things you could maybe just put a respond delay of 100ms for the scope(s) of your Windows DHCP and Linux DHCP should respond first.
The clean solution is for me to:
- Create a “vendor-class-id” in the Windows DHCP with the “DRBLClient” parameter. Put “DRBLClient” in the ASCII column when create this vendor-class-id.
- You need to have at least one reservation in your Windows DHCP scope. If not create one.
- Create a policy for your Windows DHCP scope that will assign a single IP address from your scope (the one that is reserved in point 2) to the PC whose DHCP request contains the vendor-class-id “DRBLClient”. Thus the Windows DHCP server will no longer provide IP to the station when starting Clonezilla ^^.
This work for me in my test environment. I will confirm that tomorrow in production environnement.
Hope this help you!
jim4232
(Jim4232)
6
I found 2 options that should work:
1 - Reinstall Clonezilla but do not select the installation of dhcp-server. This will not install DRBL and will prevent Clonezilla from issuing any IP addresses.
2 - Uninstall dhcp-server from your current installation.
Well, one more:
Install FOG - FOG has more options and is a bit easier to work with in it’s GUI. One thing FOG does is make the images deployable to smaller drives, Clonezilla does not.
I have used both over the years and they are both great packages.
tdeux
(Tdeux)
7
I confirmed that my solution works but not for all my computers in prod environnement 
Fujitsu’s computers works fine but Lenovo not. I maybe make a mistake because before Lenovo’s computers successfully boot in pxe and stop on the second DHCP request. Now it stop on pxe boot :-/.
I also may have some changes to make on my switches…
I’m little tired for today maybe the solution come tomorrow.