Sie sind auf Seite 1von 44

CCBoot

User Manual

Youngzsoft 2017

3rd Party DHCP and TFTP


CCBoot Works with 3rd Party DHCP 
First, please use CCBoot v3.0 build 20130404 or the above if you want it works with 3rd 
party DHCP. Please follow the following steps. 

1) Please refer to “​Configuring MS DHCP​” first. Notes: You DONOT need to set any 
DHCP options in MS DHCP (such as root-path, next-server and etc). 

2) Click the "Options" button on the CCBoot Server (Figure 1-1). 

Figure 1-1 

3) In the pop up "CCBoot Options" dialog box, click the "DHCP Settings" tab, select the 
"Using 3rd Part DHCP" radio. 

  
 

Figure 1-2 

4) You need to Set "IP Allocated Start", "IP Allocated End", "IP Mask", "IP Gateway", "DNS 
Address 1", and "DNS Address 2" same as MS DHCP. Keep other values as default 
settings, and then click the "OK" button. 

5) You need to check the client IP settings If it's not allocated by DHCP, you need to 
refer to "​Set the DHCP Client​". 
Note: If the client gets IP from third part DHCP, sometimes, you cannot boot it. 
Windows 7 creates an explicit route to your iSCSI target using your default gateway. 
This means if your target is on the same LAN, your router must be prepared to route 
local LAN traffic (which normally it would not do as the initiator and target could 
communicate directly). Some strict firewall settings or router will prevent this kind of 
routing which will cause Windows 7 booting failure. For example, using Shorewall you 
need to enable the "routeback" setting on the LAN interface. If using OpenWrt (without 
shorewall) add this to /etc/firewall.user (create this file if absent): 

iptables -A forwarding_lan -i br-lan -o br-lan -j ACCEPT 

Another solution: Don't set gateway on the third part DHCP, and just set gateway in the 
CCBoot client properties. 
Installation of MS DHCP 
2014/11/06 16:43 

Dynamic Host Configuration Protocol, DHCP is a LAN networking protocol, and it uses 
UDP protocol to work. Its two main usages are: a) distribute IP address for LAN 
computers, b) centralized management for all computers. 

Take MS DHCP service of Windows 2008 R2 operating system as an example. 

Right-click "Computer" - > "Manage". 

1) In the popup "Server Manager" dialog box, click the "Roles", and then click "Add 
Roles" on the right (Figure 1‑1). 

 
Figure 1‑1 

2) In the popup "Select Server Roles" dialog box, select the "DHCP Server" check box 
and then click "Next" button (Figure 1‑2). 

Figure 1‑2 

3) "Specify IPv4 DNS Server Settings" dialog box will pop up, and then type the 
corresponding domain name (such as test.com) in the "Parent domain" edit box. Type 
the DNS address in the "Preferred DNS server IPv4address" edit box, and then click 
"Next" button (Figure 1‑3). 
 

Figure 1‑3 

4) "Specify IPv4 DNS Server Settings" dialog box will pop up, and select the "Wins is not 
required for applications on this network" radio button, then click "Next" button (Figure 
1‑4). 
 

Figure 1‑4 

5) Click the "Add" button in the popup "Add or DHCP Scopes" dialog box, and then it 
will pop up "Add Scope" dialog box, input relevant information, and click "OK" button 
(Figure 1‑5). 
 

Figure 1‑5 

6) Click the "Install" button in the popup dialog box of "Confirm Installation Selections" 
(Figure 1‑6). 
 

Figure 1‑6 

7) Installation process (Figure 1‑7). 


 

Figure 1‑7 

8) After the installation is finished, restart the server. 


Configuring MS DHCP 
2016/08/03 02:09 

If you want to use MS DHCP as an alternate DHCP server for your CCBoot clients, 
please use CCBoot v3.0 build 20130404 or later version (refer to "​CCBoot Works with 
3rd Party DHCP​" for further information).  

Bellow are the steps of configuring MS DHCP to works as DHCP server for CCBoot 
clients are as follows.  

1) Right-click "Computer" icon and click "Manage". 

2) On the Server Manager window, expand "Roles" tree. 

3) In "Roles" tree, expand "DHCP Server" tree. 

4) Now, in "DHCP Server" expand your domain tree, e.g. "Win2008r2cn". 

5) Inside the domain tree, expand Click the "IPv4" tree. 

6) There, right-click "Scope", choose "Properties" option (Figure 1‑1). 


 

Figure 1‑1 

7) In the popup "Scope DHCP Properties" dialog box, click on the "Advanced" tab, and 
select "Both" radio button, you need to select "Unlimited" radio button as well. After 
that click "OK" button to save the settings (Figure 1‑2). 
 

Figure 1‑2 

8) Now, you MS DHCP has bee configured to act as DHCP Server for CCBoot Clients 

Notes: If the MS DHCP and CCBoot are installed on the same machine, you need to set 
DHCP Option "060 Class ID" and make sure to set "060 Class ID" type to "string" and 
value of "060 Class ID" to "PXEClient".  
In MS DHCP of Windows Server 2008 and above, the DHCP Option 60 is standard 
option. 

So, If you are using MS DHCP in Windows Server 2003 and below, please refer the 
following steps - 

1. Open the DHCP scope and select "Configure Options". 

Note: Option 060 is not standard on Windows 2000 and 2003, you may need to add it 
from the command line. To do so, continue with the following steps. 

a. Open a Windows 2000 or 2003 command line session (that is, start CMD.EXE). 

b. At the Windows Command prompt, enter netsh. 

c. The command prompt will be displayed as "netsh>". 

d. With netsh started, type "dhcp server" and press "Enter" key. 

e. It will open, dhcp server prompt, Type "add optiondef 60 ClassID STRING 0 PXEClient" 
and press "Enter" key. 

f. Type, "exit" to come out of dhcp server prompt. 


g. From the DHCP management console, click to open the LabScope DHCP scope then 
right-click the Scope Options and open Configure Options. 
h. There, select DHCP option 060 ClassID and click "OK". 

i. Now, Option 060 should appear as a one of the Scope Options in your list. 

j. Close the DHCP console. 

2. Select the "060 Class ID" option and set its value to "PXEClient" 

3. Click "OK" and close the Server Manager. 

Now you Windows server will works as third party server for CCBoot. 

 
Set the DHCP Client 
2014/11/06 16:46 

When the client is uploading images, if the value of "DHCP Enable" in the dialog box of 
"Network Connection Details" is “Yes”, then you do not need to do the following 
settings (Figure 1‑1). 

Figure 1‑1 
If the value of "DHCP Enable" in the "Network Connection Details" dialog box is "NO", 
you need to do the following adjustments: 

1) Use "super client" to diskless boot a client. 

2) Confirm if the client DHCP service is on. 

3) Click the "Start", type "services.msc" in the "Run" edit box, and then press enter. 

4) In the "Services" window, double-click the "DHCP Client" (Figure 1‑2). 

Figure 1‑2 
5) In the "DHCP Client Properties" dialog box, check the value of "Startup type" is 
"Automatic" or not, and the status of "Service started" is "started" or not (Figure 1‑3). 

Figure 1‑3 

6) Click the "Start" button, type "regedit" in the "Run" edit box, and then press enter. 
7) In the popup "Registry Editor" window, fix position to: 

\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfa
ces, there are a lot of branches below, expand one by one, find the value of "IPAddress" 
is a branch of "local IP address", then double-click "EnableDHCP" (Figure 1‑4). 

Figure 1‑4 

8) It will pop up "Edit DWORD (32-bit) Value" dialog box, type the number "1" in the 
"Value data" edit box, and then click "Ok" button (Figure 1‑5). 
 

Figure 1‑5 

9) Close the registry editor window. 

10) Close the client PC. 

11) In the CCBoot server, disable "super client". 


CCBoot + TFTP of the Third Party 
Let’s take Solarwinds TFTP as an example 

CCBoot setting is as follows: 

1) In "CCBoot Options" dialog box, click "DHCP Settings" tab, uncheck "Start TFTP" check 

box, and then click the "OK" button (Figure 1). 

Figure 1 
2) Download two files of "gpxe.pxe" and "newip.cfg" from CCBoot official website, and 

then unzip. Or you can get these files using TFTP Client. Refer the steps in our wiki A
​ RP 

Timeout in Windows  

3) Download link: http://www.ccboot.com/download.htm ("​GPXE​" and "​NEWIP​"). 

4) After installing ​Solarwinds TFTP Server​, copy the two downloaded files to C:\TFTP 

-Root directory (If Solarwinds installation directory is customized, then copy the two 

files (gpxe.pxe, newip.cfg) to Solarwinds installation directory), and then start the Solar 

winds (Figure 2). 


 

Figure 2 

5) Solarwinds running status (Figure 3). 


 

Figure 3 

   
How to disable DHCP on Tp-link load balancer 
How to disable DHCP on TP-Link Router Load Balancer

The router is setup by default as a DHCP (Dynamic Host Configuration Protocol) server, which

provides the TCP/IP configuration for all the PCs that are connected to the router on the LAN

Open your browser type the ip address 192.168.0.1

Navigate Lan menu:

Choose menu "DHCP", you can see the submenus under the main menu: DHCP Settings,
Choose menu "DHCP→DHCP Settings", you can configure the DHCP see image below

After disabling dhcp on tp-link load balancer, you can now use ccboot dhcp.

CCBoot with pfsense 3rd Party DHCP 


1. Open a browser and enter the IP address of your pfSense server. (Figure 1) 
 

Figure 1 

2. Login to pfSense using your credentials (Figure 2) 


 

3. Click "Services" and choose "DHCP Server" (Figure 3) 


 

4. Set the DHCP range, DNS servers and the Gateway for your clients and click the 
"Save" button at the bottom. (Figure 4) 
 

5. On your CCBoot Server, open "Options", "DHCP Settings", select "Using 3rd Party 
DHCP" then click the "OK" button to save your settings. (Figure 5) 
 

6. Boot up your clients, your clients will acquire their IP address from your pfSense 
server and will be listed in your CCBoot "Client Manager" (Figure 6) 
 

7. You can also check the assigned IP of your clients in your pfSense server in "Status" - 
"DHCP Leases" (Figure 7) 
 

Using Mikrotik Router as 3rd party DHCP server 


This method will show you how to configure CCBoot Server and Mikrotik Router as 

CCBoot Third Party DHCP Provider. 

1.​ O
​ n the Main interface of CCBoot, click “Options” (Figure 1-1). 
 

Figure 1-1 

2. On the “CCBoot Options” dialog box, click “DHCP Settings”tab, and select “Using 3​rd 

Party DHCP” radio button and then click“OK” button. (Figure 1-2). 
 

Figure 1-2 

3. After that on the CCBoot server main interface click the“Client Manager” then 

highlight all client list, right click and then select“Edit Client” (Figure 1-3). 
 

Figure 1-3 

4. On the “Client Details” dialog box, put a check on “PXE”and select “thirdpartydhcp” 

selection box, then click “OK” button. (Figure 1-4). 


 

Figure 1-4 

5. Now login on your “Mikrotik Router” using “Winbox” (Figure 1-5). 


 

Figure 1-5 

6. Once the “Mikrotik” interface is open, click on “IP” then select “Pool” (Figure 1-6). 
 

Figure 1-6 

7. Here on “IP Pool” interface of Mikrotik Winbox, add your CCBoot Client IP Range, as 

an example, we have added “192.168.11.101-192.168.11.133” (Figure 1-7). 

 
 

Figure 1-7 

8. After that click again “IP” then select “DHCP Server”(Figure 1-8). 
 

Figure 1-8 

9. Once the DHCP Server interface is open, click the “+” button to add DHCP (Figure 

1-9). 
 

Figure 1-9 

10. Once the “DHCP Server” is added, click on “Leases” tab,then add all client PC “IP 

Address and MAC Address (Figure 1-10). 


 

Figure 1-10 

11. If all CCBoot client IP Address and MAC Address were added, you can now diskless 

boot all clients using Mikrotik DHCP. 

 
 

Das könnte Ihnen auch gefallen