In fact, I cannot use such a powerful configuration in my own house. However, since the motherboard comes with two r8168 NICs, It is idle and I just need to configure it. Configuring complex multi-nic Server Load balancer in Windows is very simple in Linux. First, install ifenslave. In Ubuntu, run the following command: sudoapt-getinstallifenslave and modify the/etc/modprobe. d/arch/file. If it is a 32-bit system, it is i38.
In fact, I cannot use such a powerful configuration in my own house. However, since the motherboard comes with two r8168 NICs, It is idle and I just need to configure it.
Configuring complex multi-nic Server Load balancer in Windows is very simple in Linux.
The first step is to install ifenslave, which is a command under Ubuntu:
Sudo apt-get install ifenslave
Then modify the/etc/modprobe. d/arch/file. If it is a 32-bit system, it is i386. If it is a 64-bit Intel System, it is x86_64.
Add the following content:
Alias bond0 bonding
Options bond0 mode = balance-alb miimon = 100 max_bonds = 2
Finally, modify/etc/network/interfaces, comment out the original eth0 and eth1 configurations, and add the following content:
Auto bond0
Iface bond0 inet static
Address 192.168.1.3
Netmask 255.255.255.0
Gateway 192.168.1.1
Up/sbin/ifenslave bond0 eth0 eth1
Down/sbin/ifenslave-d bond0 eht0 eth1
OK. Restart to enable the NIC Server Load balancer function. That's easy.