Wiki Home VLAN and Multiple LANs Using CCBoot on the VLAN

Using CCBoot on the VLAN

2016/08/14 01:37

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)

VLAN Topological Graph

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 toCCBoot 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, "ip helper-address", 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 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 #msdhcp server ip (only needed if you are using MSDCHP as DHCP server)
  7. > dhcp relay server-address #ccboot server ip
  8. > udp-helper server #dhcp server ip (only needed if you are using MSDCHP as DHCP server
  9. > udp-helper server #ccboot server ip

Note: In above 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


Setup your network for CCBoot

Avoid Network Disconnection

Network Requirements

Enable printer and network discovery in client.

Server and Client Network Optimization