You are on page 1of 16

CCBoot 2016

User Manual

Youngzsoft 2016

VLAN and Multiple LANs


1. Dual NIC and Dual LAN
There are two network cards and two different LAN environments (LAN A and B) in the server.

NIC A works in LAN A, and the IP is 192.168.1.254, and the gateway address is 192.168.1.1.

NIC B works in LAN B, and the IP is 192.168.0.254, and the geteway address is 192.168.0.1.

The settings of CCBoot server are as follows.

1) Set the configuration parameter of CCBoot LAN A, and then take a client of LAN A (eg. PC101) as a
"default user template"

2) Then, start the client of LAN A in order, number the client in CCBoot and add it to its users list, and the
client takes effect only to the new added ones after setting the default user template.

The operate steps are as follows.

LAN A
1) Click "Options" on the toolbar of CCBoot’s main interface (Figure 1-1).

Figure 1-1

1) Select "Auto Add Client" in the check box when pop-ups the dialog box "CCBoot Options" (Figure 1-2).
Figure 1-2

2) Select "DHCP Settings", and choose "0.0.0.0" in the combo box "DHCP Server IP". Then input the
initial address "192.168.1.101" and "192.168.1.254" of LAN A to the edit box of "IP Allocated Start" and
"IP Allocated End" (Figure 1-3).
Figure 1-3

3) Click "Client Manager" on the main interface of CCBoot. And double-click a client (like PC101) in the
details pane.

4) Input the CCBoot server IP 192.168.1.254 of LAN A to the edit box "Boot Server Address" in the dialog
box "CCBoot Client", and input 192.168.1.1 to the "Gateway", then click "Save" to store this information
(Figure 1-4).
Figure 1-4

5) Click "Options" on the toolbar of CCBoot’s main interface (Figure 1-5).


Figure 1-5

6) Click the button ">>" which exists in the right side of "Default User Template" when pop-ups the dialog
box "CCBoot Options" (Figure 1-6).
Figure 1-6

7) Select "PC101" in the dialog box of "CCBoot User List", and then click "OK". Finally, click "OK" in
"CCBoot Options" to save this setting (Figure 1-7).
Figure 1-7

8) Gradually start the machine in LAN A, number the CCBoot server client and add it to the user list.

9) All of the clients of LAN A can start to work when the above operations are finished.

LAN B
1) Select "DHCP Settings" in the dialog box "CCBoot Options", and choose "0.0.0.0" in the combo box
"DHCP Server IP". Then input the IP address "192.168.0.1" and "192.168.0.100" of LAN B to the edit box
of "IP Allocated Start" and "IP Allocated End". And also input "192.168.0.1" to "IP Gateway", and then
click "OK" to save this information (Figure 1-8).
Figure 1-8

2) Click "Client Manager" on the main interface of CCBoot. And double-click a client (like PC101) in the
details pane.

3) Input the CCBoot server IP 192.168.0.254 of LAN B to the edit box "Boot Server Address" in the dialog
box "CCBoot Client", and also input 192.168.0.1 to the "Gateway", then click "Save" to store this
information (Figure 1-9).
Figure 1-9

4) Click "Options" on the toolbar of CCBoot’s main interface (Figure 1-10).


Figure 1-10

5) Click the button ">>" which exists in the right side of "Default User Template" when pop-ups the dialog
box "CCBoot Options" (Figure 1-11).
Figure 1-11

6) Select "PC10" in the dialog box of "CCBoot User List", and then click "OK". Finally, click "OK" in
"CCBoot Options" to save this setting (Figure 1-12).
Figure 1-12

7) Gradually start the machine in LAN B, number the CCBoot server client and add it to the user list.

8) All of the clients of LAN B can start to work when the above operations are finished.

In this way, we can achieve to serve two LAN machines by using a CCBoot server‘s two NIC

2. Dual LANs Segment


A Server PC installed with two different network cards, CCBoot server settings are as follows:
Such as the two Server LANs IP are: 192.168.1.254; 192.168.0.254
Gateway correspond to: 192.168.1.1; 192.168.0.1
1. ON the CCBoot Server open the Main Interface click "Options" , DHCP settings, select 0.0.0.0 DHCP
server IP saved, others cannot set.
2. Open the user management, click client settings interface, start the server in the IP which fills the need
to start the server IP. For example, 192.168.0.254, fill the custom gateway: 192.168.0.1.
3. May fill in first a client, and then select the default, then the client can start from the NIC, belong to the
local area network; start the server and then modify the default client IP and gateway, for example: server
IP changed to: custom gateway 192.168.1.254 to: 192.168.; so restart the client from 192.168.1.25
This network connection has started.
This will achieve the dual cards Dual LANs with a single server machine.

3. Using CCBoot on the VLAN


VLAN Background Knowledge
VLAN(Virtual Local Area Network) is an emerging data exchange technology, which divides the
LAN equipment into small network segments logically to complete a virtual work group.
VLAN topological graph (Figure 1‑1)

Figure 1‑1

CCBoot Settings
There is one simple change that is need to be done in CCBoot server.
1. Open CCBoot installation directory.
2. Look for db.xml file and open it with notepad or notepad++.
3. There you need to change a value for dhcp_send_route_always to 1.
dhcp_send_route_always value=“1”
4. Once changed save the file and restart the ccboot service.
5. If you are using other DHCP service, please refer to​ ​CCBoot Works with 3rd Party DHCP​. If
you are using CCBoot DHCP only then there is no need to do this step.

VLAN Settings
1) If CCBoot server and clients are in the same VLAN, just configure as the above steps is OK.
2) If the server and clients are in different VLANs, e.g, the server is in VLAN1, and clients are in
VLAN2, you need to find the interface of VLAN2 in the switch, and then configure ip
helper-address command for this interface. The command should be like this (suppose CCBoot
DHCP server IP is 192.168.0.1), "​ip helper-address 192.168.0.1​", so the DHCP broadcast
requests from VLAN2 could be forwarded to CCBoot server on VLAN1, and then the DHCP
reply from CCBoot server will be forwarded to VLAN2.

> ip helper-address 192.168.0.1 is applicable to cisco switches.

However, If you have a switch from other vendor (example H3C) please use the commands
below.
Use 'telnet' and connect to the ip of the managed switch, then enter the following commands
1. > sys
2. > interface Vlan-interface 2
3. > display this
4. > IP forward-broadcast
5. > dhcp select relay
6. > dhcp relay server-address 192.168.0.2 #msdhcp server ip (only needed if you are using
MSDCHP as DHCP server)
7. > dhcp relay server-address 192.168.0.1 #ccboot server ip
8. > udp-helper server 192.168.0.2 #dhcp server ip (only needed if you are using MSDCHP as
DHCP server
9. > udp-helper server 192.168.0.1 #ccboot server ip

Note:​ In above 192.168.0.2 is MSDHCP in the same vlan as CCBoot server and if they are in
different VLAN then change corresponding IP address in step 6 through 9.
Once above commands have been executed, you can now boot clients from the CCBoot server.

SImilarly if you have more VLAN (Vlan3, Vlan4) then repeat the step 2 to step 9 for each vlan

For more information about ip helper-address, please refer to


http://en.wikipedia.org/wiki/UDP_Helper_Address​.

You might also like