Wiki Home Installation Single server multi NICs load balance

Single server multi NICs load balance

Let us suppose CCBoot Server has two network cards with ip addresses 192.168.100.114 and 192.168.100.113. We can make use of both NIC to boot the client and balance the load on both NIC so that the client performs better.

To do so follow the steps below:

  1. Go to the DHCP settings and select “0.0.0.0” in the DHCP server IP (Figure 1).
    0.0.0.0 means all network IPs that are connected on server

Figure 1

  1. Go to the Computers page, select half of the PCs, and then right click and choose “Edit PC” option (Figure 2).

Figure 2

  1. Check the checkbox next to the “1st Server” check box then enter one of the IP addresses in the “1st Server” field then on the “2nd Server” field enter the other IP address, and then click the “OK” button (Figure 3).

Figure 3

  1. Similarly, select the other half of the PC and choose “Edit PC” (Figure 4).

  1. Then, check the checkbox next to the “1st Server” check box then enter the IP address in reverse order (2nd IP on the 1st Server and 1st IP on the 2nd Server) (Figure 5).

Figure 5

  1. Now, turn on the PCs, and you will notice that clients are using both of your NICs to boot from CCBootCloud.
  2. When configured like this, If the 1st IP address is not available then the client will boot from the second IP address and vice versa.
  3. If you have 3 or 4 NIC, then it will auto booting the PC from all 4 NIC.
  4. For one NIC, setting a gateway and for other NICs setting IP is enough.

Alternative way

  1. You can use 0.0.0.0 IP to all client PCs and the client Pc will boot from the online server that with less pcs.(Figure 6)
    On client 0.0.0.0 means load balance between all server ips

Figure 6

  1. If you simultaneously boot multiple PCs within a client-server network and the initial server IP address is configured as 0.0.0.0, it may appear that all client PCs are being booted from the same IP address, even if the server has multiple IP addresses assigned through DHCP . because server need 5 seconds to sync the connected pcs.